Thanks for the reply, Yvan.
I understand and agree with your post.
But I am looking for a link to an official Apple document that states something like this.
I need this to give to new AppleScript users.
Jim Underwood
aka JMichaelTX
As far as I know we may use :
Accessing Applications
-
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