• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: making new documents with Style
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: making new documents with Style


  • Subject: Re: making new documents with Style
  • From: Paul Berkowitz <email@hidden>
  • Date: Sun, 11 Feb 2001 12:51:39 -0800

On 2/11/01 12:41 PM, "cheshirekat" <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?"}
>
> 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?


I don't know the app at all, but I do know one where a particular property
does not seem to have implemented as part of "properties", so you always
have to add it later. (In Entourage, the 'category' property of tasks cannot
be made as part of

set newTask to make new task with properties {whatever}

You have to set newTask's category immediately following. Obviously an
oversight, but not too terrible.) Maybe it's a similar thing in Style.

--
Paul Berkowitz


References: 
 >making new documents with Style (From: cheshirekat <email@hidden>)

  • Prev by Date: Re: change the desktop picture(was two questions)
  • Next by Date: Re: Two Questions
  • Previous by thread: making new documents with Style
  • Next by thread: Re: making new documents with Style
  • Index(es):
    • Date
    • Thread