Ken - - - thanks - - - - you're onto something there, and I follow the logic. However when I try your sample, I just get Safari with a blank window. How does the pDestPage value get passed into Safari as an URL to load? (It may be that my email app "ate"/parsed of your html code, so I could just be missing something something (did you have javascript between the HEAD tags?) It's showing up empty in my email client.
In a message dated 3/11/05 4:01:13 PM, [EMAIL PROTECTED] writes: > On 3/11/05 12:48 PM, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > > > revGoURL is great for launching the default browser to a specific URL.�� > In > > my case, however, I need to force Safari to launch to a specific URL, even > if > > the user's default browser is set to Firefox, Opera, etc.�� Anyone know a > way > > to do that via unix? > > Here you go: > > on mouseUp > � LaunchSafari "http://www.ibm.com/" > end mouseUp > > on LaunchSafari pDestPage > � put "<head></head>" into tScript > � set the fileType to "TEXTsfri" > � put specialFolderPath("temp") & "/launcher.html" into tLauncherFile > � put tScript into url("file:" & tLauncherFile ) > � get shell("open" && tLauncherFile) > � -- need to delay the delete so there's time for Safari to open the file > � send "delete file" && quote & tLauncherFile & quote to me in 5 seconds > end LaunchSafari > > HTH, > > > Ken Ray > Sons of Thunder Software > Web site: http://www.sonsothunder.com/ > Email: [EMAIL PROTECTED] > _______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
