Announcement

Collapse
No announcement yet.

closing an app before opening

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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
    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 :(

    Comment


    • #3
      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"

      Comment


      • #4
        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 :(

        Comment


        • #5
          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"

          Comment


          • #6
            "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 :(

            Comment


            • #7
              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"

              Comment

              Working...
              X