Launching a local file - NEW SOLUTION
Richard Gaskin
ambassador at fourthworld.com
Sat Aug 9 13:51:01 EDT 2003
Ken Ray wrote:
>> 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))
Got it -- works great. Funky, but functional (ah, Mac OS ::sigh::).
For the benefit of others not using a q function, it's simply:
function q s
return quote&s"e
end q
--
Richard Gaskin
Fourth World Media Corporation
Developer of WebMerge: Publish any database on any Web site
___________________________________________________________
Ambassador at FourthWorld.com http://www.FourthWorld.com
Tel: 323-225-3717 AIM: FourthWorldInc
More information about the metacard
mailing list