• 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: Silently Executing "tell" Commands?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Silently Executing "tell" Commands?


  • Subject: Re: Silently Executing "tell" Commands?
  • From: 2551 <email@hidden>
  • Date: Mon, 03 Feb 2014 12:49:41 +0700

On 3 Feb 2014, at 08:46, Alex Hall <email@hidden> wrote:

> Hi all,
> Is it possible to run a tell command without the app launching


Hi Alex,

AFAIK, its’ not possible to send a tell (or any other) command to an app unless its running. However, most apps will obey the ‘quit’ command, so you could use that to clean up after its done whatever its supposed to.

Tell application “whatever.app”
	--do something
	delay 1
	quit
end tell


Phil




 _______________________________________________
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


References: 
 >Silently Executing "tell" Commands? (From: Alex Hall <email@hidden>)

  • Prev by Date: Silently Executing "tell" Commands?
  • Next by Date: problem using display dialog in mavericks
  • Previous by thread: Silently Executing "tell" Commands?
  • Next by thread: problem using display dialog in mavericks
  • Index(es):
    • Date
    • Thread