PDA

View Full Version : Launch a web browser using script



NewsArchive
03-07-2007, 08:01 AM
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

NewsArchive
03-07-2007, 08:02 AM
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

NewsArchive
03-07-2007, 08:02 AM
Thank you Jane.

--
Regards,

Lee
http://www.cya2day.com