Launch pdf on cd

Sarah Reichelt sarahr at genesearch.com.au
Tue Feb 15 19:37:52 EST 2005


>    --> THIS ASSUMES YOU'VE JUST DOWNLOADED A .PDF FILE
>    --> AND THE CREATOR AND FILETYPE AREN'T PROPERLY
> SET
>    put "tell application " &quote& "Finder" & quote &
> cr into tScript
>    put "set the creator type of file " &quote&
> pPDFpath &quote& \
>        " to " &quote& "CARO" &quote& cr after tScript
>    put "set the file type of file " &quote& pPDFpath
> &quote& \
>        " to " &quote& "PDF " &quote& cr after tScript
>    put "end tell" after tScript
>    do tScript as Applescript
>    put the result into sError

This will not work because you can't write to a CD. I think you will 
need to use the launch command, or an AppleScript that uses "open 
with".

Sarah



More information about the use-livecode mailing list