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 16:03:54 -0500
on 2/11/01 3:41 PM, cheshirekat at email@hidden wrote:
>
I can create new documents by using either of the following syntax:
>
>
make new document with data "Halt! Who goes there?"
>
make new document with properties {background color:preferredColor,
>
visible:false}
>
>
What I can't figure out is how to combine the above two examples, so that
>
I have something like this:
>
>
make new document with properties {background color:preferredColor,
>
visible:false, data: "Halt! Who goes there?"}
Text works for me:
tell application "Style"
make new document with properties {visible:false, text:"Hi, there!"}
set visible of result to true
end tell
-
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/>