• 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: Neophyte Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Neophyte Question


  • Subject: Re: Neophyte Question
  • From: Daniel Jalkut <email@hidden>
  • Date: Wed, 15 Feb 2006 18:21:28 -0500

Hi Stephen - alas it's one of the "just gotta know about it" tricks in AppleScript.   Sometimes applications offer special commands to create new items, and sometimes they support the generic "make" command, and it happens to handle it in a way that makes you happy.

In this case (as usual) my line of inquiry was to examine the scripting dictionary from the "application object" down. If I'd seen an element called "documents" I would have tried "make new document."  Since all I saw was windows I tried it and it worked.

To make matters worse, in some applications you have to give a position for the new object, so you find yourself saying things like "make new document at end of documents".

I'm not gonna lie to ya - AppleScript can be a frustrating place. But I'm glad in this case the make new window trick works for you.

Daniel

On Feb 15, 2006, at 4:44 PM, Stephen Bunker wrote:

Daniel, thank you very much for the assist. It did the trick. How did you know that this would accomplish the task? I did a search for "make new window" in the script editor dictionary for GraphicConverter but couldn't find it.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >Re: Neophyte Question (From: Stephen Bunker <email@hidden>)

  • Prev by Date: Re: Open Mail Attachments
  • Next by Date: Re: Another Shell Script question ftp
  • Previous by thread: Re: Neophyte Question
  • Next by thread: Open Mail Attachments
  • Index(es):
    • Date
    • Thread