put "open -a" && quote & gWindowsMediaPlayer & \
quote && quote & gClipFile & quote into tCmd
get shell(tCmd)I had to add the " -a" after the open command to ensure the Windows Media Player (WMP) opened a file that is currently set to default to opening with QuickTime (QT). Without the "-a" BOTH WMP and QT open up! (There was a missing "quote &" as well but I assume this was a simple copy&paste slip).
Use the shell command "open" that you can run through Terminal. The basic syntax at the command line is:
open <pathToApp> <pathToDoc>
So here's the code I used (watch wrapping):
on mouseUp put "open" && quote & "/Applications/Windows Media Player/Windows Media Player.app" & \ quote && "/Applications/Windows Media Player/sample.asf" & quote into tCmd get shell(tCmd) end mouseUp
Works like a charm...
Ken Ray
-- Peter Reid Reid-IT Limited, Loughborough, Leics., UK Tel: +44 (0)1509 268843 Fax: +44 (0)8700 527576 E-mail: [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] Web: http://www.reidit.co.uk http://www.reidit.demon.co.uk _______________________________________________ use-revolution mailing list [EMAIL PROTECTED] http://lists.runrev.com/mailman/listinfo/use-revolution
