• 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: Run script on a non-GUI user
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Run script on a non-GUI user


  • Subject: Re: Run script on a non-GUI user
  • From: "koenig.yvan" <email@hidden>
  • Date: Tue, 15 Oct 2013 14:02:30 +0200

Le 15/10/2013 à 12:33, David Bonde <email@hidden> a écrit :

> I have some scripts (actually, shell alias to osascript one-liners) I use to remotely control iTunes via SSH. If I switch out the user running iTunes and try to run these scripts I get an error message (something that they can not connect to iTunes or so).
>
> How can I run my scripts "without a GUI"?
> _


Maybe, issuing a standard
tell application "iTunes" to activate
before triggering your shell script may help.

KOENIG Yvan (VALLAURIS, France) mardi 15 octobre 2013 14:02:24



 _______________________________________________
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


References: 
 >Run script on a non-GUI user (From: David Bonde <email@hidden>)

  • Prev by Date: Run script on a non-GUI user
  • Next by Date: Re: InDesign export slows to a crawl
  • Previous by thread: Run script on a non-GUI user
  • Next by thread: On the difficulties of "/"" in Applescript with example
  • Index(es):
    • Date
    • Thread