Notices


Reply
Thread Tools
antezz's Avatar
Posts: 172 | Thanked: 160 times | Joined on Jan 2010 @ Sweden
#51
So you got it working?

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 :

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
 
Posts: 334 | Thanked: 45 times | Joined on Jan 2010
#52
Originally Posted by antezz View Post
So you got it working?

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?
 
Posts: 334 | Thanked: 45 times | Joined on Jan 2010
#53
oh it worked!

Although it came up like this
 
Posts: 334 | Thanked: 45 times | Joined on Jan 2010
#54
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.

I shall try and create that vbs file
 
antezz's Avatar
Posts: 172 | Thanked: 160 times | Joined on Jan 2010 @ Sweden
#55
Haha, gratz! making the bat and vbs file is easy cake. :3
 
Posts: 334 | Thanked: 45 times | Joined on Jan 2010
#56
ive got the bat file which i used notepad to make but i cant get the vbs file. Can you recommend a simple or good app?
 
antezz's Avatar
Posts: 172 | Thanked: 160 times | Joined on Jan 2010 @ Sweden
#57
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.
 

The Following User Says Thank You to antezz For This Useful Post:
Posts: 334 | Thanked: 45 times | Joined on Jan 2010
#58
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!
 
antezz's Avatar
Posts: 172 | Thanked: 160 times | Joined on Jan 2010 @ Sweden
#59
are you separating them with ; ?

c:\python;c:\growl

like that?

Edit: if you wanna thank me theres a "thank you"-button.

Last edited by antezz; 2010-11-01 at 00:14.
 

The Following User Says Thank You to antezz For This Useful Post:
Posts: 334 | Thanked: 45 times | Joined on Jan 2010
#60
Originally Posted by antezz View Post
are you separating them with ; ?

c:\python;c:\growl

like that?

Edit: if you wanna thank me theres a "thank you"-button.
:O ohhhh thanks bro!

An ive hit the button Cheers man
 
Reply


 
Forum Jump


All times are GMT. The time now is 18:49.