Re: scrpting Script Editor (save as script)
Re: scrpting Script Editor (save as script)
- Subject: Re: scrpting Script Editor (save as script)
- From: "Mark J. Reed" <email@hidden>
- Date: Sat, 12 Jan 2008 09:40:22 -0500
If the goal is to compile a bunch of scripts, won't osacompile do it?
On 1/12/08, Luther Fuller <email@hidden> wrote:
> 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
>
--
Mark J. Reed <email@hidden>
_______________________________________________
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