• 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: Need Reference for "tell application" forms
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Need Reference for "tell application" forms


  • Subject: Re: Need Reference for "tell application" forms
  • From: Yvan KOENIG <email@hidden>
  • Date: Sat, 18 Feb 2017 15:18:37 +0100


Le 18 févr. 2017 à 01:45, Jim Underwood <email@hidden> a écrit :

Hey guys,

The JXA guide Accessing Applications clearly lays out the different methods for accessing an app.
But I cannot find the equivalent official ref/guide for AppleScript.

Does anyone know where it is?

If found this for "application class", but it is really not very clear, especially for new AppleScript users.
There is no mention of the "tell block".

ASUG -- Class Reference -- application 

Also, anyone know of a good way to search the online ASUG?

Thanks.

Best Regards,

Jim Underwood
aka JMichaelTX

  • By name
  • tell application "Mail"
  • By bundle ID
  • tell application id "com.apple.mail"
  • By path
  • tell application "/Applications/Mail.app"
  • By process ID
  • never saw that
  • On a remote machine
  • tell application "eppc://127.0.0.1/Mail"
  • Accessing the application that is running the script
  • tell current application



Yvan KOENIG running Sierra 10.12.3 in French (VALLAURIS, France) samedi 18 février 2017 15:18:32


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden

  • Follow-Ups:
    • Re: Need Reference for "tell application" forms
      • From: Jim Underwood <email@hidden>
References: 
 >Need Reference for "tell application" forms (From: Jim Underwood <email@hidden>)

  • Prev by Date: Re: AppleScript Droplet seems to receive strange file list
  • Next by Date: multiple monitors
  • Previous by thread: Need Reference for "tell application" forms
  • Next by thread: Re: Need Reference for "tell application" forms
  • Index(es):
    • Date
    • Thread