Re: making new documents with Style
Re: making new documents with Style
- Subject: Re: making new documents with Style
- From: Bill Cheeseman <email@hidden>
- Date: Sun, 11 Feb 2001 18:10:15 -0500
on 2/11/01 5:40 PM, Shane Stanley at email@hidden wrote:
>
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
Yes.
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 guess I'm still a novice at AppleScript. Scary.
-
Bill Cheeseman, Quechee, Vermont <
mailto:email@hidden>
The AppleScript Sourcebook
<
http://www.AppleScriptSourcebook.com/>
Vermont Recipes-A Cocoa Cookbook
<
http://www.stepwise.com/Articles/VermontRecipes/>