metacard digest, Vol 1 #297 - 14 msgs
FlexibleLearning at aol.com
FlexibleLearning at aol.com
Fri Aug 23 09:29:00 EDT 2002
>Recently, Richard Gaskin lamented the difficulty of launching a local HTML
>file on Mac OSX in the user's default browser
Don't suppose anyone knows a way to do it on Windows?
Shari C
Try this, Shari (a Scott Rossi - Monte Goulding gem)...
on launchFile pFileName
set the hideConsoleWindows to true
put empty into theTitle
if "NT" is in the systemVersion then
set the shellCommand to "cmd.exe"
put quote & quote into theTitle
end if
get shell("start" && theTitle && quote & pFileName & quote)
end launchFile
Works for any full url (local or web) path name. Very neat solution. And I
hate both of them :)
/H
PS: And I STILL can't get rid of duplicated html posting! Aaargh!
_________________________________________________
Hugh Senior
The Flexible Learning Company
Consultant Programming & Software Solutions
Fax/Voice: +44 (0)1483.27 87 27
Email: <A HREF="mailto:admin at flexibleLearning.com">mailto:h at flexibleLearning.com</A>
Web: <A HREF="http://www.flexiblelearning.com/">www.flexibleLearning.com</A>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.runrev.com/pipermail/metacard/attachments/20020823/ea1c044b/attachment.htm
More information about the metacard
mailing list