Results 1 to 7 of 7

Thread: Calling An External Program

  1. #1
    Newbie SkyPainter's Avatar
    Join Date
    Jan 2009
    Location
    Chicago Area
    Posts
    19

    Calling An External Program

    What is the structure/syntax for calling an external program from within RR? I'm using AudioRepeater to switch a line-in on one of my soundcards to transfer audio from my Sirius radio. It has some command-line switches, so I just need to be able to call the program with the switches, and exit the program when I switch to another audio app (i realize this may require a conditional structure for calling foobar or video - does RR have such?). Any help would be appreciated.

  2. #2

  3. #3
    The Last Good Gremlin GizmoQ's Avatar
    Join Date
    Nov 2004
    Location
    St Louis
    Posts
    2,347
    Yeah, RTFM!
    HARDWARE: Fujitsu Stylistic ST5111w/WiFi and dock, internal Hitachi 500G HD, external 1TB HD, Sierra Wireless Aircard 550, DVD-RW, BoomzBox HD radio, XM Commander, Delorme GPS, Saitek X-52 Pro joystick, BluSoleil Bluetooth, TPMS, FB, Elm327

  4. #4
    Newbie SkyPainter's Avatar
    Join Date
    Jan 2009
    Location
    Chicago Area
    Posts
    19

    Close It Down

    OK, figured out how to get the app started and shut down from within the specific skins. My problem now is to be able to shut the app down (if it exists) when I exit RR. Any simple way to add something to rr.ini to accomplish this? I use Runq to start Audiorepeater and call Windows Powershell to shut it down (couldn't get Winspector to function properly) when I switch to my main Audio Player (Foobar).

  5. #5
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    Try adding to exectbl

    "QUIT","<CMD TO SHUT DOWN THE APP HERE>||NOW_QUIT"
    "NOW_QUIT","QUIT"
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

  6. #6
    Newbie SkyPainter's Avatar
    Join Date
    Jan 2009
    Location
    Chicago Area
    Posts
    19

    Closing

    Sorry. Guess I wasn't clear enough in my last request. I can shut down the app; I need to know where, specifically, to insert the code to shut the app down when I exit RR. I assumed it would be in one of the Exec Tables, but which one and where in the table? I will need to provide a conditional structure for the shutdown, so hopefully the insert location will allow that.

  7. #7
    The Curator
    Auto Apps:loading...
    Blue ZX3's Avatar
    Join Date
    Aug 2004
    Location
    Chicago area,IL
    Posts
    5,079
    No, you were plenty clear enough. Just add, put in your cmd your using to close it already. RR will close the app before it quits.
    RideRunner...The #1 FE, PERIOD.

    Current Project: DFXVoice [v1.0 Released]
    Next in line: RRMedia v2.0

    DFX 5.1.1 Skin
    Appstore Link

    My RideRunner Plugins
    RRMedia
    RRExtended
    DFXVoice

    "There are no bugs - only undocumented features."

Similar Threads

  1. Forced hibernation OR run program w/ Power button
    By DrLove in forum Power Supplies
    Replies: 3
    Last Post: 04-01-2009, 08:32 AM
  2. RadioSHARK Control Program
    By alpax in forum Road Runner
    Replies: 14
    Last Post: 02-13-2009, 12:28 AM
  3. Replies: 119
    Last Post: 12-25-2007, 02:20 PM
  4. Problem with ITPS / hibernation and External USB HD
    By veetid in forum Power Supplies
    Replies: 5
    Last Post: 01-02-2006, 08:35 PM
  5. Dos program in WinXP
    By meddler in forum Off Topic
    Replies: 3
    Last Post: 09-21-2005, 01:57 AM

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
  •