• 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: Sending AppleScript to yourself
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Sending AppleScript to yourself


  • Subject: Re: Sending AppleScript to yourself
  • From: Daniel Jalkut <email@hidden>
  • Date: Sun, 09 Oct 2005 18:00:05 -0400

Hi Mark - I don't *think* there's any way to reliably get the "application who is running me" from within a script. So I would always explicitly target the app by name.

Daniel

On Oct 9, 2005, at 5:20 PM, Mark Dawson wrote:

I'm not sure if this is a "user" or "programming" question:

In example code that shows how to call AppleScripts (compiled) from your own program, I wasn't sure if the text was any different if you wanted to send to yourself--i.e.

a script could be:
tell application mail
  ...
end tell

however, would you still say
tell application myApp
 ...
end tell

if "myApp" is the one executing the script?

Thanks!

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


This email sent to email@hidden


_______________________________________________ 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
  • Follow-Ups:
    • Re: Sending AppleScript to yourself
      • From: Emmanuel <email@hidden>
References: 
 >Sending AppleScript to yourself (From: Mark Dawson <email@hidden>)

  • Prev by Date: Re: recursion depth
  • Next by Date: Re: recursion depth
  • Previous by thread: Sending AppleScript to yourself
  • Next by thread: Re: Sending AppleScript to yourself
  • Index(es):
    • Date
    • Thread