How do I remove part of a path?

J. Landman Gay jacque at hyperactivesw.com
Mon Aug 1 13:32:08 EDT 2011


On 8/1/11 12:44 AM, Admin wrote:
>
>
> Hello again.
>
> One more.
>
> What is the correct code to run a file
> (in this case, self extracting .exe files) in LiveCode.
>
> Here are the
> code I have written (with help) and it does not work:
>
>   if the platform
> is "MacOS" then
>   open file
> "http://www.campstaffusa.com/newdb/uploadpic_swt_mac.exe"
>   else
>   open
> file "http://www.campstaffusa.com/newdb/uploadpic_swt.exe"
>   end if
>
>   if
> the platform is "MacOS" then
>   open file
> "http://www.campstaffusa.com/newdb/resume_swt_mac.exe"
>   else
>   open file
> "http://www.campstaffusa.com/newdb/resume_swt.exe"
>   end if

Try "launch url" instead of "open".

-- 
Jacqueline Landman Gay         |     jacque at hyperactivesw.com
HyperActive Software           |     http://www.hyperactivesw.com




More information about the use-livecode mailing list