launch

miscdas at boxfrog.com miscdas at boxfrog.com
Fri Feb 14 14:49:01 EST 2003


runrev at technetx.com writes: 

> Hi all, I am looking for a command that launches a file with the associated application set by Windows.  Using the Launch command wants the application name along with the file name, and using revGoUrl launches it in the web browser along with the helper app.  I simply want to mimic a double click on a file name and let the op system associate the app with the extension. 
> 
> Thanks again. 
> 
 ------------------------
This works on WIN XP PRO, MC 2.4.3
You supply the full path and file name, and if the file type associations 
are set, the associated app is launced and the file opens. 

In this example, Notepad launches and opens the specified text file, then my 
bowser (IE) is launched and the HTML doc is opened. 

on mouseUp
   get shell ("start C:\ZinioInstall.txt")
   get shell ("start C:\TheCompleteRegularExpressionGuide.htm")
end mouseUp 

miscdas 




More information about the use-livecode mailing list