emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Applescript help
@ 2017-11-12  4:06 Jay Iyer
  2017-11-13  8:39 ` Alan Schmitt
  0 siblings, 1 reply; 3+ messages in thread
From: Jay Iyer @ 2017-11-12  4:06 UTC (permalink / raw)
  To: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 315 bytes --]

Hi, in my Org workflow, I am trying to use the do-applescript function to
hide an active Emacs session.  Can you tell me what I am doing wrong with
the following that I think should work but is not?  Thanks. -jay

(do-applescript "tell application \"Finder\" set visible of application
process \"Emacs\" to false")

[-- Attachment #2: Type: text/html, Size: 918 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Applescript help
  2017-11-12  4:06 Applescript help Jay Iyer
@ 2017-11-13  8:39 ` Alan Schmitt
  2017-11-13 10:36   ` Jean-Christophe Helary
  0 siblings, 1 reply; 3+ messages in thread
From: Alan Schmitt @ 2017-11-13  8:39 UTC (permalink / raw)
  To: Jay Iyer; +Cc: emacs-orgmode

[-- Attachment #1: Type: text/plain, Size: 555 bytes --]

On 2017-11-11 20:06, Jay Iyer <jayiyer09@gmail.com> writes:

> Hi, in my Org workflow, I am trying to use the do-applescript function to
> hide an active Emacs session.  Can you tell me what I am doing wrong with
> the following that I think should work but is not?  Thanks. -jay
>
> (do-applescript "tell application \"Finder\" set visible of application
> process \"Emacs\" to false")

Don't you need an "end tell"?

Alan

-- 
OpenPGP Key ID : 040D0A3B4ED2E5C7
Monthly Athmospheric CO₂, Mauna Loa Obs. 2017-10: 403.64, 2016-10: 401.57

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 528 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Applescript help
  2017-11-13  8:39 ` Alan Schmitt
@ 2017-11-13 10:36   ` Jean-Christophe Helary
  0 siblings, 0 replies; 3+ messages in thread
From: Jean-Christophe Helary @ 2017-11-13 10:36 UTC (permalink / raw)
  To: Org-mode

[-- Attachment #1: Type: text/plain, Size: 827 bytes --]



> On Nov 13, 2017, at 17:39, Alan Schmitt <alan.schmitt@polytechnique.org> wrote:
> 
> On 2017-11-11 20:06, Jay Iyer <jayiyer09@gmail.com> writes:
> 
>> Hi, in my Org workflow, I am trying to use the do-applescript function to
>> hide an active Emacs session.  Can you tell me what I am doing wrong with
>> the following that I think should work but is not?  Thanks. -jay
>> 
>> (do-applescript "tell application \"Finder\" set visible of application
>> process \"Emacs\" to false")
> 
> Don't you need an "end tell"?

"end tell" if it's a block "to" if it's a line:

>> (do-applescript "tell application \"Finder\" to set visible of application process \"Emacs\" to false")



Jean-Christophe Helary
-----------------------------------------------
@brandelune http://mac4translators.blogspot.com



[-- Attachment #2: Type: text/html, Size: 2395 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-11-13 10:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-12  4:06 Applescript help Jay Iyer
2017-11-13  8:39 ` Alan Schmitt
2017-11-13 10:36   ` Jean-Christophe Helary

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).