Newbies glennmc Posted November 20, 2002 Newbies Share Posted November 20, 2002 Is there a way to write a script that will allow me to create a button on a F.M.Pro page and it opens a stand alone html file that is not on the web. i.e. I have a help file I have created that is a html file and I want my F.M.Pro (Ver 6) to be able to link to it and open it so people can access the help information. This would make my life a whole lot easier. Has anyone any ideas?:? Cheers, Glennmc Link to comment Share on other sites More sharing options...
jeffer Posted November 20, 2002 Share Posted November 20, 2002 make a script with the "open" command. Choose your HTML file in this command. Connect this script to a button in your layout. When you run the script you'll see that the file opens with an application for viewing HTML files:) jeff Link to comment Share on other sites More sharing options...
Vaughan Posted November 21, 2002 Share Posted November 21, 2002 I duuno about PC, but on MacOS the Open [] command seems to only want to open FMP files -- it'll let you select any file when you set it up but breaks when the script is performed. (That's the way I've always assumed it works BTW.) To open HTML files use the "Open URL []" script step and specify the file name in URL format file:///hard%20disk/path/filename.htm Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7962 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now