• 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: Bill Cheeseman <email@hidden>
  • Date: Sun, 11 Feb 2001 18:10:15 -0500

on 2/11/01 5:40 PM, Shane Stanley at email@hidden wrote:

> 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

Yes.

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 guess I'm still a novice at AppleScript. Scary.

-
Bill Cheeseman, Quechee, Vermont <mailto:email@hidden>

The AppleScript Sourcebook
<http://www.AppleScriptSourcebook.com/>
Vermont Recipes-A Cocoa Cookbook
<http://www.stepwise.com/Articles/VermontRecipes/>


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

  • Prev by Date: Re: making new documents with Style
  • 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