Results 1 to 7 of 7

Thread: closing an app before opening

  1. #1
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,660

    Unhappy closing an app before opening

    How can I execute the close command before the load command.
    What I need to do is close an open embedded app before I open another using one button push.
    Both apps have the same window name so that is the real problem here.
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  2. #2
    Constant Bitrate GuMiSZu's Avatar
    Join Date
    Nov 2006
    Location
    Hungary
    Posts
    206
    CLOSE(APP)||LOAD
    use this tag for long command "||"

    If the name is same, try use WindowSpy (autoit tool) to get the window class.
    If you want to reopen the app use this CLOSE(APP)/KILL()||LOAD..... (the correct command spec in the skin command.txt)
    Englishlessness :(

  3. #3
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,660
    Here is the code I found and use now.
    This works real well..
    "CLOSEWINDOW;Form1||LOAD;games.SKIN;..."
    They all had the same window text so it made I had to do a little researching.
    I new about the || thing but just didnt know the correct command to use.


    THANKS FOR THE HELP
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  4. #4
    Constant Bitrate GuMiSZu's Avatar
    Join Date
    Nov 2006
    Location
    Hungary
    Posts
    206
    You can use this "||" separator to use more command in one line


    this is an sample >
    "ESC||SETIND;!nR_SHORTER;ON||SETIND;!nR_FASTER;OFF ||RUNW;$SKINPATH$nRoute_scripts\nR_Preferences.exe | Button12 Check;;;"
    Englishlessness :(

  5. #5
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,660
    Yeah, I knew that, just didnt know what command to use to close the open app.
    THanks for the help
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

  6. #6
    Constant Bitrate GuMiSZu's Avatar
    Join Date
    Nov 2006
    Location
    Hungary
    Posts
    206
    "CLOSEWINDOW" - This allows you to close any running application based on the given window title. The application may
    request the user to save any unsaved data before closing, so beware.
    Example: "CLOSEWINDOW;Notepad"
    Englishlessness :(

  7. #7
    One Sharp Cheddar ThunderStick's Avatar
    Join Date
    Aug 2006
    Location
    West Allis, WI
    Posts
    1,660
    Yup and that is what I am using and it works great.
    Thanks...
    New Age Garmin - Skin for RR
    New Age Slider - RR SKin In Progress
    "It's called CODE because I don't want you to know"

Similar Threads

  1. Replies: 4
    Last Post: 03-02-2007, 12:06 PM
  2. Alpine City Cruise
    By Hell-Stopper in forum RR Skins
    Replies: 170
    Last Post: 02-22-2007, 10:05 PM
  3. Opening on resume, closing on hibernate
    By wallaceacura in forum Road Runner
    Replies: 18
    Last Post: 04-18-2006, 12:50 AM
  4. CD drive opening after closing!
    By Psychobiker in forum General Hardware Discussion
    Replies: 0
    Last Post: 08-12-2005, 06:51 PM
  5. opening more than one app on resume?
    By Cat Monkey in forum FrodoPlayer
    Replies: 3
    Last Post: 12-04-2004, 01:06 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
  •