Export as script
Export as script
- Subject: Export as script
- From: Greg Strange <email@hidden>
- Date: Fri, 17 Nov 2000 20:11:11 +0000
Hello all,
Can anyone direct me to some info about exporting text as a compiled
AppleScript? I want to take a sceries of text inputs and put them into a
completely separate script. So for instance,
set outScript to "tell application \"Finder\"" & return & "display dialog
\"Hello World!\"" & return & "end tell"
open for access file "outScriptFile" with write permission
write outScript to file "outScriptFile"
close access file "outScriptfile"
I have tried changing the file and creator types to a compiled script but
when I try and launch it, it fires off another script on the desktop.
Anyone have any ideas?
Greg Strange
--
If you liked WKRP, you'll hate Mouthful of Liquor.
Not for the faint of smart,
www.mouthfullofliquor.com