• 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: cheshirekat <email@hidden>
  • Date: Sun, 11 Feb 2001 17:05:40 -0700

On 02-11-2001 1540, Shane Stanley may have typed or relayed in full or in
part ...

>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

Thank You!!!!!!! I really really realllllllly appreciate the help!!

I wondered why you had your data in brackets, thought maybe it was
required in Style. After testing, it isn't required, but wondered if it
might be useful.

If I had stopped banging my head against the wall this morning, I
wouldn't have wasted so much time. But something that seemed should have
been quite simple I hated to give up on until I was way too frutrated
after trying so many variations.

I guess I'll go put some ice on my head and go back to bed now.

kat


  • Prev by Date: Re: [ANN] AS Sourcebook report on AS 1.5.5
  • Next by Date: Re: change the desktop picture(was two questions)
  • Previous by thread: Re: making new documents with Style
  • Next by thread: Re: making new documents with Style
  • Index(es):
    • Date
    • Thread