Re: making new documents with Style
Re: making new documents with Style
- Subject: Re: making new documents with Style
- From: Shane Stanley <email@hidden>
- Date: Mon, 12 Feb 2001 09:40:35 +1100
On 12/2/01 9:17 AM +1000, Bill Cheeseman, email@hidden, wrote:
>
on 2/11/01 4:16 PM, Shane Stanley at email@hidden wrote:
>
>
> Use:
>
>
>
> make new document with properties {background color:preferredColor,
>
> visible:false} data {"Halt! Who goes there?"}
>
>
No, that does not compile.
Whoops! Somehow I edited out the word "with" before "data". Let me just
paste my working script:
tell application "Style"
set preferredColor to white
make new document with properties {background color:preferredColor,
visible:true} with data {"Halt! Who goes there?"}
end tell
--
Shane Stanley, email@hidden