Results 1 to 3 of 3

Thread: Launch a web browser using script

  1. #1

    Default Launch a web browser using script

    Hi All,

    I have the following lines of code in a custom SBI script I am building. I
    am attempting to determine if there is an HTTP connection available, and if
    so, launch the users default web browser and send them the a URL.

    For the life of me I can't figure out how to actually launch the browser.

    **** SNIP ****
    Set Variable %_SB_PARAM1% to ScriptItem->Check HTTP Connection
    "http://www.cya2day.com"
    If %_SB_PARAM1% Equals "0" Then
    Display Message Box "Message Text" -- "Message Title"
    If %_SB_RETURN% Equals "$IDYES$" Then
    ( *What do I put here to actually launch the browser?* )
    End
    End
    *************

    Any pointers will be greatly appreciated.

    --
    Regards,

    Lee
    http://www.cya2day.com

  2. #2

    Default Re: Launch a web browser using script

    Use the Run Program script item.
    In the "File Name -or- Web Page Address" put your URL
    At the bottom, check the "Open Web Page" box

    Jane Fleming

  3. #3

    Default Re: Launch a web browser using script

    Thank you Jane.

    --
    Regards,

    Lee
    http://www.cya2day.com

Thread Information

Users Browsing this Thread

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

Posting Permissions

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