+ Reply to Thread
Results 1 to 6 of 6

Thread: Checkbox values

  1. #1
    Join Date
    Mar 2004
    Location
    San Antonio, Texas, US
    Posts
    35

    Default Checkbox values

    Hi Friedrich,

    I created a variable called %RUNPROGRAM% On the Finish dialog I added a checkboxID of #DLG_FINISH_LAUNCH# and set it to store the results in %RUNPROGRAM%

    In the script editor I added:

    If %RUNPROGRAM% Equals "1" Then
    Run Program %_SB_INSTALLDIR%\MyProgram.exe
    End

    This is at the very end, after the Loop Wizard/End structure.

    I get the checkbox on the Finish, but nothing happens. I can't find anything in the help (not much there yet I know<g>) about how to detect true/false values from checkboxes. I've tried True also, but that didn't work either.

    I got the hyperlink to work just fine

    BTW: Will we have direct access to the script files? Meaning being able to edit them outside of the SB5 IDE?

    Best regards,

  2. #2
    Join Date
    Mar 2004
    Location
    San Antonio, Texas, US
    Posts
    35

    Default Re: Checkbox values

    Hi Friedrich,

    Ok, I've figured out that NOT EQUAL TO 0 works for checking if it's on. It seems that the value of the checkbox when on is 1,000,000,000 rather than 1 and the value of it when off is 0,000,000,000 which is still equal to zero

    Best regards,

  3. #3
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Checkbox values

    Hi Arnór,

    Documentation is under heavy development

    Please see the "Run Checkbox Demo 1.sb5" demo script located in the EXAPLES folder.

    To handle checkboxes, please use "Equals 1 on Position" instead of "Equals".

    Does this help?

    Thanks,

  4. #4
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Checkbox values

    Arnór,

    BTW, we have to use "Equals 1 on Position" because multiplecheckboxes are possible

  5. #5
    Unregistered Guest

    Default Re: Checkbox values

    Hi Friedrich,

    That will work - just fumbling through as I don't know what I'm doing<g>

    Best regards,

  6. #6
    Join Date
    Mar 2004
    Posts
    4,307

    Default Re: Checkbox values

    <G> I know. Working hard on the documentation...

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Differing CRC32 values on same file
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 5
    Last Post: 11-07-2006, 08:05 AM
  2. Run Program Return Values - documentation
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 1
    Last Post: 10-05-2006, 06:26 AM
  3. Checkbox on a finish dialog
    By jrussell in forum SetupBuilder 'How Do I' Questions
    Replies: 3
    Last Post: 05-31-2006, 05:34 AM
  4. MessageBox + Checkbox Option
    By LoboMgr in forum SetupBuilder 'How Do I' Questions
    Replies: 3
    Last Post: 02-20-2006, 05:20 AM
  5. SB 4.03 and retrieving registry values
    By NewsArchive in forum SetupBuilder - NNTP
    Replies: 0
    Last Post: 01-28-2005, 11:01 AM

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
  •