Welcome to the Second Life Forums Archive

These forums are CLOSED. Please visit the new forums HERE

Looking for a script that wil open a webpage

Ingrid Ingersoll
Archived
Join date: 10 Aug 2004
Posts: 4,601
08-15-2006 07:27
I'm hoping someone has a touch script that will open webpage.

I'm really bad at this stuff so if you do have such a script, instructions like "PUT URL HERE" would be fabby.

thanks guys!
_____________________
Norman Desmoulins
Grand Poohba
Join date: 10 Nov 2005
Posts: 194
08-15-2006 07:38
Make the object name something nice & readable... put the URL in the description of the object.

CODE

default
{
touch_start(integer total_number)
{
llLoadURL(llDetectedKey(0), llGetObjectName(), llGetObjectDesc());
}
}
_____________________
Ingrid Ingersoll
Archived
Join date: 10 Aug 2004
Posts: 4,601
08-15-2006 07:57
Sweet! I'll try this out tonight. Thank you!
_____________________
Ingrid Ingersoll
Archived
Join date: 10 Aug 2004
Posts: 4,601
08-15-2006 09:56
Okay i tried this and it works up until the prompt ask you if you want to go to the web page. When you click "go to page" my browser doesn't open up. It doesn't do anything that i can see. Any tips for how to fix this?


thanks again!
_____________________
Eloise Pasteur
Curious Individual
Join date: 14 Jul 2004
Posts: 1,952
08-15-2006 10:26
If your browser doesn't open at all there's a problem outside SL.

If it opens and the page doesn't load or similar, there's a problem with the URL you've put in to the object.

Variations on that code work just fine for me.
_____________________
Eloise's MiniMall
Visit Eloise's Minimall
New, smaller footprint, same great materials.

Check out the new blog
Drizzt Naumova
Teh Foxeh DJ
Join date: 9 Oct 2005
Posts: 116
08-15-2006 10:29
is this what your looking for?
Ingrid Ingersoll
Archived
Join date: 10 Aug 2004
Posts: 4,601
08-15-2006 11:16
From: Drizzt Naumova
is this what your looking for?


Thanks Drizzt, I'll try this one.

The the url works fine. I don't get why the other script won't open my browser.

thanks again.
_____________________
Dustin Widget
Script Monkey for hire
Join date: 15 Feb 2006
Posts: 101
08-15-2006 12:01
Like Eloise said, if you get the prompt to open the page, then the script is working perfectly. If your browser doesnt open after click "go to page" then its a problem with your computer.
bucky Barkley
Registered User
Join date: 15 May 2006
Posts: 200
about to post one...
08-15-2006 16:03
contact me in-world.. I just wrote a web page loading script
which has the same interface as my radio:

- multiple targets .. prev & next dialogs if you have more than 6 urls
- dialog and chat interfaces
- readable & easy to config
Hewee Zetkin
Registered User
Join date: 20 Jul 2006
Posts: 2,702
08-15-2006 22:40
From: Ingrid Ingersoll
When you click "go to page" my browser doesn't open up. It doesn't do anything that i can see. Any tips for how to fix this?

Are you by chance using the native Linux client? It never opened the web browser for me, though every OTHER application under the sun does just fine. Heh. I haven't had any such problems with the Windows client running under Wine.