emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] PATCH: org-mac-link.el: Don't fail on machines without Growl ins


From: Alan Schmitt
Subject: Re: [O] PATCH: org-mac-link.el: Don't fail on machines without Growl installed
Date: Thu, 25 Sep 2014 08:17:09 +0200
User-agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/24.3 (darwin)

On 2014-09-24 20:59, Steve Purcell <address@hidden> writes:

> On 24 Sep 2014, at 20:13, Alan Schmitt <address@hidden> 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

[Prev in Thread] Current Thread [Next in Thread]