Re: Run script on a non-GUI user
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