--> 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
_______________________________________________ use-revolution mailing list [email protected] http://lists.runrev.com/mailman/listinfo/use-revolution
