making new documents with Style
making new documents with Style
- Subject: making new documents with Style
- From: cheshirekat <email@hidden>
- Date: Sun, 11 Feb 2001 13:41:26 -0700
I've been creating some AppleScripts that will manipulate data in a
hidden window with the application, Style.
I'm running into a stumbling blocks with creating new documents. It seems
this should be obvious, and I'm sure someone will point out the obvious
that I just haven't been able to grasp.
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?"}
I've tried to replace "data" with contents, text and selection. These
will always return an error of "... no such property". Is it possible to
do this in one command?
kat