• 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: Use "say" from a background user account?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Use "say" from a background user account?


  • Subject: Re: Use "say" from a background user account?
  • From: Jerry Krinock <email@hidden>
  • Date: Mon, 03 Nov 2014 17:55:05 -0500

> On 2014 Oct 30, at 10:17, Rob Lewis <email@hidden> wrote:
>
> It appears that the “say” verb doesn’t produce any output when run from an account that’s in the background.

That makes sense.  Sound is part of the user interface.  Only the currently active user has the user interface.  Otherwise, for example if you left iTunes playing on two user accounts it would sound very confusing.

> One idea is to have a “helper” application running in the foreground account, and in the background account run something like this:

> tell application “SpeechHelper” of machine “eppc://ForegroundUsername:ForegroundPassword@<IP address of the machine>” to articulate “String I want to speak”
>
> (where the SpeechHelper app would have an “articulate” handler that just called the “say” verb)

I love it, Rob.

> Will this work?

I’ve never used the eppc:// scheme but it looks like fun.  Let us know :)

> Is there an easier way?

Your idea is definitely a Rube Goldberg contraption, but is more straightforward than anything else I can think up after five minutes.


 _______________________________________________
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


  • Prev by Date: Re: Formatting fonts
  • Next by Date: Re: Indesign custom dialogs 2. try
  • Previous by thread: Re: Indesign custom dialogs 2. try
  • Next by thread: Re: Use "say" from a background user account?
  • Index(es):
    • Date
    • Thread