Menu

Main Menu
Talk Get Daily Search

Member's Online

    User Name
    Password

    [Announce] N900 Notifier

    Reply
    Page 6 of 12 | Prev |   4     5   6   7     8   | Next | Last
    antezz | # 51 | 2010-10-31, 23:26 | Report

    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 :

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    badboyuk | # 52 | 2010-10-31, 23:30 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    badboyuk | # 53 | 2010-10-31, 23:35 | Report

    oh it worked!

    Although it came up like this

    Edit | Forward | Quote | Quick Reply | Thanks

     
    badboyuk | # 54 | 2010-10-31, 23:39 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    antezz | # 55 | 2010-10-31, 23:41 | Report

    Haha, gratz! making the bat and vbs file is easy cake. :3

    Edit | Forward | Quote | Quick Reply | Thanks

     
    badboyuk | # 56 | 2010-10-31, 23:53 | Report

    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?

    Edit | Forward | Quote | Quick Reply | Thanks

     
    antezz | # 57 | 2010-10-31, 23:59 | Report

    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.

    Edit | Forward | Quote | Quick Reply | Thanks
    The Following User Says Thank You to antezz For This Useful Post:
    badboyuk

     
    badboyuk | # 58 | 2010-11-01, 00:06 | Report

    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!

    Edit | Forward | Quote | Quick Reply | Thanks

     
    antezz | # 59 | 2010-11-01, 00:10 | Report

    are you separating them with ; ?

    c:\python;c:\growl

    like that?

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

    Edit | Forward | Quote | Quick Reply | Thanks

    Last edited by antezz; 2010-11-01 at 00:14.
    The Following User Says Thank You to antezz For This Useful Post:
    badboyuk

     
    badboyuk | # 60 | 2010-11-01, 00:26 | Report

    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

    Edit | Forward | Quote | Quick Reply | Thanks

     
    Page 6 of 12 | Prev |   4     5   6   7     8   | Next | Last
vBulletin® Version 3.8.8
Normal Logout