• 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 09:40:35 +1100

On 12/2/01 9:17 AM +1000, Bill Cheeseman, email@hidden, wrote:

> on 2/11/01 4:16 PM, Shane Stanley at email@hidden wrote:
>
>> Use:
>>
>> make new document with properties {background color:preferredColor,
>> visible:false} data {"Halt! Who goes there?"}
>
> No, that does not compile.

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

--
Shane Stanley, email@hidden


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

  • Prev by Date: Re: App Launch Order
  • Next by Date: Re: Two Questions
  • Previous by thread: Re: making new documents with Style
  • Next by thread: Re: making new documents with Style
  • Index(es):
    • Date
    • Thread