On 2014-09-24 20:59, Steve Purcell <st...@sanityinc.com> writes:

> On 24 Sep 2014, at 20:13, Alan Schmitt <alan.schm...@polytechnique.org> wrote:
>
>> tell application "System Events"
>>      set growlHelpers to the name of every process whose creator type 
>> contains "GRRR"
>>      if (count of growlHelpers) > 0 then
>>              set growlHelperApp to item 1 of growlHelpers
>>      else
>>              set growlHelperApp to ""
>>      end if
>> end tell
>> 
>> I get an empty string as returned value. Is is the same for you?
>
>
> Yes, that part works fine on its own even on my machine. But when the
> code passed to AppleScript includes 'tell application
> “GrowlHelperApp”’, then the code will not execute unless the app is
> present — there’s a precompilation step where, presumably, AppleScript
> determines that the target application supports the listed commands.

I see. I agree this should be removed.

Org maintainers: can I apply this patch?

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7

Attachment: signature.asc
Description: PGP signature

Reply via email to