• 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: Issue with process names
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Issue with process names


  • Subject: Re: Issue with process names
  • From: David Crowe <email@hidden>
  • Date: Wed, 08 Feb 2012 14:39:45 +0800

Shane;

Disagree. This has nothing to do with the terms. The statement:

tell application "AdobeAcrobat"

won't work if the process "AdobeAcrobat" doesn't exist even if you wrap it in a "using terms from..." block

And I use "tell application" with a variable name for the process quite often ... it's okay if you use only generic commands and classes.

- David



> Date: Tue, 07 Feb 2012 12:59:04 +1100
> From: Shane Stanley <email@hidden>
> To: AS users <email@hidden>
> Subject: Re: Issue with process names (Christopher Stone)
> Message-ID: <email@hidden>
> Content-Type: text/plain; charset=us-ascii
>
> On 07/02/2012, at 12:14 PM, David Crowe wrote:
>
>> I did a reboot, reconfirmed the problem, and wrote a short script to illustrate the bug (I'm pretty sure it is one).
>
> What you're showing there is normal AS behavior. You can't use a variable for the application name in a "tell application" construct unless you wrap it in a "using terms from..." block.
>
> --
> Shane Stanley <email@hidden>
> 'AppleScriptObjC Explored' <www.macosxautomation.com/applescript/apps/>
>


 _______________________________________________
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: Issue with process names
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Apple Mail adding attachments hoses signature
  • Next by Date: Re: Apple Mail adding attachments hoses signature
  • Previous by thread: Re: Issue with process names
  • Next by thread: Re: Issue with process names
  • Index(es):
    • Date
    • Thread