• 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: 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


References: 
 >Re: making new documents with Style (From: Bill Cheeseman <email@hidden>)

  • Prev by Date: Re: Two Questions - RemoveListItem(x, theList)
  • Next by Date: Re: Calling an application
  • Previous by thread: Re: making new documents with Style
  • Next by thread: Re: making new documents with Style
  • Index(es):
    • Date
    • Thread