>From: Walter Lenk <Walter_Lenk@...> >Reply-To: futurebasic@... >To: futurebasic@... >Subject: [FB] re: opening a url >Date: Thu, 14 Sep 2000 16:15:50 -0400 > > > > Ron Centner wrote: > > > > Launching to an Internet URL On the Mac, using Future Basic. > > > > RUN "path name:Netscape Navigator 3.1" will launch Netscape. > > > > Does anyone know how to adapt the path name so it launches to a > > specific URL? > > > > Thanks in advance! > > Ron > >I am working on a project where I needed this to happen, and here is what I >found : > >1. Netscape Navigator has a file type designed to do just this (creator >'MOSS', file type 'URL '). For an example, see the file 'Visit Derek's >Webpage' on the Release 3 CD -> 'Release 3:FB^3 (Release 3):Examples:-- >Donations --:Derek's Edtris:'. The file simply contains a line of text >that is the URL you want to go to. > >2. As far as I could determine, there is no way to 'Open' (in the finder >sense) a file from a program. However, the finder is scriptable, so you >can construct an Applescript to do this and,then run the Applescript (saved >as a program) from your program. > >This is what I did, and it works quite well - it does depend on known >locations for both the Applescript and the Netscape file so that they can >be found. > >HTH > >Walter I am not the smartest of people. Consequently, I am still a little confused. So, is there no way to open Netscape (or IE, I am not that biased) to a certain location without using some advanced (for me at least :P) Applescript program? I could just do the same thing and have a file of type 'URL ' with the text on it, but its not as dramatic as clicking in-game. Still, considering my current level of expertise in programming, I might want to do that. If so, do you know how to change a file's type? If nothing else I could make a program to do that (which, remarkably, I can do). Thanks! -Peter Dempsey _________________________________________________________________________ Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com. Share information about yourself, create your own public profile at http://profiles.msn.com.