From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alan Schmitt Subject: Re: PATCH: org-mac-link.el: Don't fail on machines without Growl installed Date: Thu, 25 Sep 2014 08:17:09 +0200 Message-ID: References: <7B9D9129-4BEC-42F3-851D-00D4D2A43A8A@sanityinc.com> <30EABF38-620E-4CDF-9C18-837848936F78@sanityinc.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:44516) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX2Mj-0007a9-IZ for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 02:17:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XX2Me-0001pI-7q for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 02:17:21 -0400 Received: from mx1.polytechnique.org ([129.104.30.34]:45920) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XX2Me-0001jO-2l for emacs-orgmode@gnu.org; Thu, 25 Sep 2014 02:17:16 -0400 In-Reply-To: <30EABF38-620E-4CDF-9C18-837848936F78@sanityinc.com> (Steve Purcell's message of "Wed, 24 Sep 2014 20:59:58 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Steve Purcell Cc: emacs-orgmode@gnu.org --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable On 2014-09-24 20:59, Steve Purcell writes: > On 24 Sep 2014, at 20:13, Alan Schmitt w= rote: > >> tell application "System Events" >> set growlHelpers to the name of every process whose creator type contai= ns "GRRR" >> if (count of growlHelpers) > 0 then >> set growlHelperApp to item 1 of growlHelpers >> else >> set growlHelperApp to "" >> end if >> end tell >>=20 >> 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 > =E2=80=9CGrowlHelperApp=E2=80=9D=E2=80=99, then the code will not execute= unless the app is > present =E2=80=94 there=E2=80=99s 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 =2D-=20 OpenPGP Key ID : 040D0A3B4ED2E5C7 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.22 (Darwin) iQEcBAEBCgAGBQJUI7NlAAoJEAQNCjtO0uXHnBMH/0ztVw/EVNjT825t0UJY/q7K EMxHJjv1wwxDGWW64landXWTLQCNsmm3gnZ57+rKwSSAVf2BGdCuir3KbC3zPwnq ykmeNVVeMI8aRfrPcFbXnVo3oDw3tybS91EDJ/pCpH8OjmHsoDNSr2qws9p6t1S0 ozQKlZv4TIHIvmyTSrw+3Z/SrHnlMf2WogNJyWZTyjL3vOaKIq70WS/VKcP/G0Qz 1J7VhgYSxj/jNKooEgc+d30nbfuMJ7O/RyrX7iNWB7U9n0QfDY/mwVTKp7Zpe/5C 10r9zIYrBtTxflk92hvqe8bxOg7LP3t9lwAM57b3GaYtuCUi7bhuw894v2qpIng= =Vzle -----END PGP SIGNATURE----- --=-=-=--