Page 1 of 3 123 LastLast
Results 1 to 10 of 27

Thread: Online Check Script

  1. #1
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263

    Online Check Script

    The online status checker I was previously using wasn't working correct because I visit many places that block ICMP (ping). So I created this one that doesn't use ping. I've been using this one for a month or so, thought I'd share.... From the readme.txt:

    Detects Online status and runs commands, set's vars, and set's indicators. This program runs the background with
    Road Runner, and needs to be started with RR (exectbl.ini) Extract the files into a folder
    (/Road Runner/onlinestatus for example). Configure the ini and set it up to start with Road Runner.
    It detects when RR exits and terminates itself (as with my other scripts, no need to killtask)
    The included ini is checking every 5 seconds and doing a simple weather refresh every 15 minutes when online...After 30 minutes without being online the weather becomes "outdated". Times are approximate. From the shock skin I use:
    weather button
    "BYVAR;NOTOUTDATED;=WTH<<w_tmp"
    Web button
    "BYVAR;ONLINE;=web<<=WEB"

    SETVARONLINE=ONLINE
    SETLABEL=ONLINESTATUS
    LABELONLINE=ONLINE
    LABELOFFLINE=""
    ONLINEIND=CUSTOM_ONLINE
    SETVARNOTOUTDATED=NOTOUTDATED
    NOTOUTDATEDIND=CUSTOM_NOTOUTDATED
    URL=http://image.weather.com/web/blank.gif
    CMDONLINE1=
    CMDONLINE2=
    CMDONLINE3=
    RRONLINE1=RELOADWEATHER
    RRONLINE2=
    RRONLINE3=
    CMDONLINEONCE1=no
    CMDONLINEONCE2=no
    CMDONLINEONCE3=no
    RRONLINEONCE1=no
    RRONLINEONCE2=no
    RRONLINEONCE3=no
    CMDOFFLINE1=
    CMDOFFLINE2=
    CMDOFFLINE3=
    RROFFLINE1=
    RROFFLINE2=
    RROFFLINE3=
    CMDOFFLINEONCE1=no
    CMDOFFLINEONCE2=no
    CMDOFFLINEONCE3=no
    RROFFLINEONCE1=no
    RROFFLINEONCE2=no
    RROFFLINEONCE3=no
    SLEEPTIME=5
    EXECUTEEVERY=16
    OUTDATED=30
    NOTRAYICON=TRUE



    Version 0.6
    http://n8sgarage.com/download/chevyn8/
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  2. #2
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    Updated, works with DFX3.0.
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  3. #3
    Newbie
    Join Date
    May 2007
    Posts
    28
    Hi Chevyn8, Thanks for this, I'm having an issue with Netcheck.exe in DFX 3.0 where it just stays running, even though I have exited DFX.

    I wonder if you can help a newby out and show me what to configure in the ini and how to make it start with RR? Thanks a lot!

  4. #4
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    Lots of different ways to do that....in DFX 3.0...open the exectbl.ini...
    Then add (After the CdLaunch line would be a good place):

    "ONLINECHECK","RUNQ;C:\Program Files\Road Runner\onlinecheck\onlinecheck.exe"

    Then change Extra programs from :
    "ExtraPrograms","CDLaunch||NetCheck||Counter"
    To:
    "ExtraPrograms","CDLaunch||ONLINECHECK"

    This is assuming you put the onlinecheck folder in the C:\Program Files\Road Runner directory. The included ini should work with DFX 3.0 without a change.
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  5. #5
    Newbie
    Join Date
    May 2007
    Posts
    28
    Thanks for your help with this! - gonna give it a go tomorrow...

  6. #6
    FLAC -zip-'s Avatar
    Join Date
    Sep 2004
    Location
    Ontario/Canada
    Posts
    1,293
    Is the little autoit icon on the systray hidden? I am trying this script with my own skin. Cant get it to work.
    2008 350z GT Installed since April 22nd 2011 - Worklog
    2000 Protege Installed Since April 2, 2005 - Intel D201GLY|Fusion Brain|ODBPros ODBII|Engenius|GPS Rikaline|Powermate|Motorized Lilli
    Sound Stage
    Eclipse|MTX|Infinity

  7. #7
    THE EXPERIMENTER
    Auto Apps:loading...
    carputer1's Avatar
    Join Date
    Sep 2007
    Location
    UK,Surrey
    Posts
    1,979

    icon

    Quote Originally Posted by -zip- View Post
    is the little autoit icon on the systray hidden? I am trying this script with my own skin.
    you should see this icon in the system tray by the clock, when its running.
    if its not there it more then likley your path to launch , how are you starting the script from startcmd's in the rr.ini or onskinstart in the exetbl file
    Riderunner / Genesis
    Plugin Breaker in test BassRR Plugin Player, Wifiman_NET
    New Home for Genesis & BassRR :adding to site ,, Hellfyre night
    Bassrr Beta Release :Version 1.3.7
    Movie_info Release :Version 3.1.0
    Wifiman_NET:Version 1.0.0

    Every Future, Needs A Beginning

  8. #8
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    Actually, the tray icon is optional....the default is hidden:
    NOTRAYICON=TRUE --in the ini
    You can push ctrl/shift/escape and see if the task is running....or use JohnWPB's skin helper and check the status of the variables:
    http://www.mp3car.com/vbulletin/rr-p...rs-helper.html
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

  9. #9
    FLAC -zip-'s Avatar
    Join Date
    Sep 2004
    Location
    Ontario/Canada
    Posts
    1,293
    Quote Originally Posted by carputer1 View Post
    you should see this icon in the system tray by the clock, when its running.
    if its not there it more then likley your path to launch , how are you starting the script from startcmd's in the rr.ini or onskinstart in the exetbl file
    I put this in the exetbl:

    "ONLINECHECK","RUNQ;C:\Program Files\Road Runner\onlinecheck\onlinecheck.exe"

    hmm onskinstart, I did not use that, just put the command line in. I will try that when I get home after work.
    2008 350z GT Installed since April 22nd 2011 - Worklog
    2000 Protege Installed Since April 2, 2005 - Intel D201GLY|Fusion Brain|ODBPros ODBII|Engenius|GPS Rikaline|Powermate|Motorized Lilli
    Sound Stage
    Eclipse|MTX|Infinity

  10. #10
    Variable Bitrate chevyn8's Avatar
    Join Date
    Oct 2006
    Location
    small town nebraska
    Posts
    263
    Quote Originally Posted by -zip- View Post
    I put this in the exetbl:

    "ONLINECHECK","RUNQ;C:\Program Files\Road Runner\onlinecheck\onlinecheck.exe"

    hmm onskinstart, I did not use that, just put the command line in. I will try that when I get home after work.
    That line 'tells' road runner that the command ONLINECHECK will run the command:
    RUNQ;C:\Program Files\Road Runner\onlinecheck\onlinecheck.exe
    Somewhere you need to have road runner run ONLINECHECK. For example onskinstart. You could have RUNQ;C:\Program Files\Road Runner\onlinecheck\onlinecheck.exe in onskinstart...however after you have some other onskinstart programs it looks messy. So, usually the run command is defined into a single word/command, then it's used in onskinstart or elsewhere in the skin.
    CarPC in my 82 Camaro. Dual core atom, M4-ATX, 7 lilliput, bu353 GPS, Reborn skin, punch 40/100ix
    MediaLaunch for RR
    Online Check for RR
    Locker for RR

Page 1 of 3 123 LastLast

Similar Threads

  1. Could someone use a "album art organizer" script?
    By Sonicxtacy02 in forum RR Plugins
    Replies: 1
    Last Post: 04-17-2007, 11:46 AM
  2. Replies: 6
    Last Post: 06-02-2006, 10:20 AM
  3. Apple script
    By pepsibobby in forum MacCar
    Replies: 1
    Last Post: 03-25-2006, 04:56 AM
  4. Any AutoIt script experts out there?
    By mindracing in forum Centrafuse
    Replies: 8
    Last Post: 08-11-2005, 03:19 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •