Ye growl need to run its the program that shows notifications. If you wanna hide the CMD window from server.py you can just make a bat-file containing "python c:\path\to\file\server.py" then make a .vbs file containing :
Originally Posted by
Set WshShell = CreateObject("WScript.Shell")
WshShell.Run chr(34) & "d:\path\to\bat\n900growl.bat" & Chr(34), 0
Set WshShell = Nothing
then you run the .vbs file and it should run the bat file with no window. thats what i did since i failed with making a service of the .py file with AnySrv, it just started and stopped lol, well well it works atleast.
And on N900 theres alot of ways to run stuff in background. a noob-friendly and simple way is to use the "nohup client.py &" command
Ye growl need to run its the program that shows notifications. If you wanna hide the CMD window from server.py you can just make a bat-file containing "python c:\path\to\file\server.py" then make a .vbs file containing :
then you run the .vbs file and it should run the bat file with no window. thats what i did since i failed with making a service of the .py file with AnySrv, it just started and stopped lol, well well it works atleast.
And on N900 theres alot of ways to run stuff in background. a noob-friendly and simple way is to use the "nohup client.py &" command
i still get no notification tho? I havent done the bat file or vbs yet as I need to see why its not working. Can i use notepad to copy and paste that code then rename to .vbs?
okay I managed to fix that error and now growl displayed a notification! and no errors this time.
For some reason windows had removed the variable I added, so just added it in again.
you can use notepad, just rightclick and make a text file name it "something.vbs" open it with notepad and copy paste the vbs code in my previous post then you edit the file path to the bat of yours.
Then you run the .vbs file just by dubbelclick it, and tada! You should now see nothing.. but still get notifications thru growl.
yeah i already did but it didnt work....i just checked again and its all working now!
I realised 1 of the major problems.....i can only have 1 set variable in windows, so everytime i added a new or diff 1, it would remove the previous 1, so any error messages i wasnt seeing them until i went to command prompt and ran them from there to see.
This is great!
Thank you very much Antez & to others for the help!