+ Reply to Thread
Results 1 to 2 of 2

Thread: Can't get detect application code to work

  1. #1
    Join Date
    Jan 2006
    Location
    Georgia, USA
    Posts
    63

    Default Can't get detect application code to work

    In help file you have this code:

    Loop

    Set Variable %SB6ACTIVE% to FUNCTIONetect Active Application(sbuilder.exe)

    If %SB6ACTIVE% Equals "1" Then

    Display Message Box "The SetupBuilder Integrated Development Environmen..." -- "SetupBuilder application currently running"

    If %_SB_RETURN% Equals "$IDCANCEL$" Then

    Exit Installation

    End

    Else

    Break Loop

    End

    End

    When I add the Set Variable... to my script... double click to set value... it just has a space to type in and no way to select it to function... if I put in
    Set Variable %SB6ACTIVE% to FUNCTIONetect Active Application(Planner.exe) .... then it ends up just as a quoted string... it does not execute the function.

    I added message box to throw the value of the variable to the user... and it just shows the string... also in my SB7 it shows the function part in quotes but in the help file it does not....

    I know I'm missing the obvious... help.

  2. #2
    Join Date
    Mar 2004
    Posts
    4,308

    Default Re: Can't get detect application code to work

    I see that you have figured it out. Yes, you have to use the "Detect Active Application..." script FUNCTION.

    Friedrich

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Posting Permissions

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