getting my help files to launch in a web browser
Posted: Fri Feb 18, 2011 6:11 pm
I have created a series of help documents for my current project in HTML format. I would like them to launch in the systems default browser when the help button is pushed. They will be located in a "helpfile" directory within the programs installation directory. I thought the following code would work.
Unfortunately it does nothing. My first thought was that maybe i needed the entire file path, not just the path relative to my app so I tried this.
This did not launch a browser window either. Can someone give me some direction on how to get this to work? I would prefer to be able to use the file path relative to my app as opposed to the full file path since the location of the program will not be the same for all users.
Thank you
Code: Select all
on mouseUp
launch url "file:///helpfile/helpfile.html"
end mouseUp
Code: Select all
on mouseUp
launch url "file:///C:/Documents and Settings/Admin/Desktop/DKP Scribe/helpfile/helpfile.html"
end mouseUp
Thank you