Re: scrpting Script Editor (save as script)
Re: scrpting Script Editor (save as script)
- Subject: Re: scrpting Script Editor (save as script)
- From: Luther Fuller <email@hidden>
- Date: Sat, 12 Jan 2008 06:32:29 -0600
On Jan 12, 2008, at 1:58 AM, Yvon Thoraval wrote:
My goal :
save a bunch of Applescript scripts already saved in text form
(.applescript extension) as scripts (.scpt extension.
I looked up how I saved a Script Editor document. I don't recall why
I used "a reference to", but there must have been a reason. Here's
the snippet ...
set docRef to a reference to first document
if |stayOpen| of projectParams then
save docRef in objectRef as filetype with run only and stay open
without startup screen
else
save docRef in objectRef as filetype with run only without stay
open and startup screen
end if
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden