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 " "e& "Finder" & quote &
> cr into tScript
> put "set the creator type of file " "e&
> pPDFpath "e& \
> " to " "e& "CARO" "e& cr after tScript
> put "set the file type of file " "e& pPDFpath
> "e& \
> " to " "e& "PDF " "e& 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