Launching a local file - NEW SOLUTION

Ken Ray kray at sonsothunder.com
Sat Aug 9 13:38:00 EDT 2003


> I called it like this:
> 
> 
> on mouseup
>   LaunchIt "/Volumes/FourthWorld/4W Catalog/webmerge/WebMerge 
> 2.0/WebMerge Help/WebMerge_Help/WebMergeHelp.html"
> end mouseup
> 
> 
> And got an error:
> 
> 
>     Error:usage: cp [-R [-H | -L | -P]] [-f | -i] [-p] src target
>        cp [-R [-H | -L | -P]] [-f | -i] [-p] src1 ... srcN directory

It's the space in the "WebMerge Help" part of your path. You'll needt to
surround the paths in quotes, both for the "cp" line and the "mv" line:

get shell("cp" && q(pPath) && q(tDestPath))

get shell("mv" && q(tDestPath) && q(pPath))

Ken Ray
Sons of Thunder Software
Email: kray at sonsothunder.com
Web Site: http://www.sonsothunder.com/ 





More information about the metacard mailing list