If you know the titles of the webpage you could use Russell's code with a small adjustment.
Quote... on mouseUp me baOpenURL( "http://www.macromedia.com" , "maximised" ) set WndList = baWindowList( "" , "Firefox" , false ) baWindowToFront(WndList[1]) end instead of using "Firefox" as the search string looking for internet windows, use a partial string of the page title you are going to. I.e if it was the macromedia home page, use: set WndList = baWindowList( "" , "Macromedia" , false ) if it was the macromedia Driector home page use: set WndList = baWindowList( "" , "Macromedia - Director MX 2004" , false ) This will produce better results, especially when you have multiple internet browser windows open. Alternativly, you could create a small html page with an auto forward javascript script in the distribution of your movie, call your html page with the desired url as a parameter, use Javascript to set the focus of the window to the front before forwarding to the site you want to send them to. HTH Tim -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Mark Hagers Sent: 23 January 2006 07:53 To: Lingo programming discussion list Subject: Re: <lingo-l> Bringing Webpage to Foreground Do you have Firefox set to open url requests from other apps in a new window, or the active window? (can be set somewhere in prefs) What happens if you change that setting? (won't help much, I know, just wondering) On 23-jan-2006, at 0:29, John R. Sweeney Jr wrote: >> Is this not what you're seeing? > > Same intermittent results. :( Mark Hagers [EMAIL PROTECTED] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!] [To remove yourself from this list, or to change to digest mode, go to http://www.penworks.com/lingo-l.cgi To post messages to the list, email [email protected] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping with programming Lingo. Thanks!]
