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 10:28:51 +1100
On 12/2/01 10:10 AM +1000, Bill Cheeseman, email@hidden, wrote:
>
This thread has been an eye opener for me. I didn't know you could combine
>
With Data and With Properties in a single command.
I don't think you've missed much -- it's not as if there's a lot of call for
it. For example, the script in question could also have been written:
tell application "Style"
set preferredColor to white
make new document with properties {background color:preferredColor,
visible:true, contents:"Halt! Who goes there?"}
end tell
--
Shane Stanley, email@hidden