Sorry
Qt is a quoting function:
function Ot pToQuote
return quote&pToQuote"e
end Qt
>
> Try
>
> on launchFile pFileName
> switch the platform
> case "Win32"
> 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 && Qt(pFileName))
> break
> case "MacOS"
> if word 1 of the systemVersion >=10 then
> do ("open location "&Qt(pFileName)) as appleScript
> else
> do ("open location "&Qt(revMacFromUnixPath(pFileName))) as
> appleScript
> end if
> break
> default
> get shell("konquerer" && Qt(pFileName))
> break
> end switch
> end launchFile
>
> Cheers
>
> Monte
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of
> > [EMAIL PROTECTED]
> > Sent: Saturday, 15 February 2003 3:14 AM
> > To: Run Time Revolution USE
> > Subject: launch
> >
> >
> > 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.
> >
> > _______________________________________________
> > use-revolution mailing list
> > [EMAIL PROTECTED]
> > http://lists.runrev.com/mailman/listinfo/use-revolution
> >
>
> _______________________________________________
> use-revolution mailing list
> [EMAIL PROTECTED]
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution