Re: Remote Apple Events issues
Re: Remote Apple Events issues
- Subject: Re: Remote Apple Events issues
- From: Takaaki Naganoya <email@hidden>
- Date: Tue, 14 Apr 2009 16:16:30 +0900
Most of applications allow remote apple event. Some applications does
not allow it.
FileMaker Pro is one of the most famous application which does not
allow remote AppleEvent.
You can check whether the application allow/does not allow remote
AppleEvent by checking the property of application process.
<AppleScript>
tell application "System Events"
tell process "iTunes"
properties
end tell
end tell
--> {partition space used:0, frontmost:false, focused:missing value,
minimum value:missing value, subrole:missing value, enabled:missing
value, architecture:"i386", short name:"iTunes", accepts high level
events:true, unix id:12296, role:"AXApplication", name:"iTunes",
value:missing value, visible:true, title:"iTunes", position:missing
value, entire contents:{}, total partition size:0, orientation:missing
value, displayed name:"iTunes", size:missing value, creator
type:"hook", background only:false, has scripting terminology:true,
bundle identifier:"com.apple.iTunes", description:"アプリケー
ション", file:alias "Cherry:Applications:iTunes.app:",
application file:alias "Cherry:Applications:iTunes.app:", file
type:"APPL", selected:missing value, class:application process,
accepts remote events:false, help:missing value, id:3670912,
Classic:false, maximum value:missing value}
</AppleScript>
If you want to control iTunes remotely, you can control it via proxy
AppleEvent applet made by AppleScript.
On 2009/04/13, at 5:18, Rob Lewis wrote:
Trying to do a very simple thing: let one Mac on my LAN change
tracks on iTunes running on another Mac.
This oughta do it, right?
using terms from application "iTunes"
tell application "iTunes" of machine "eppc://user:email@hidden
"
next track
end tell
end using terms from
I know the account on AnotherMac is logged in and iTunes is running,
and remote Apple Events are enabled. But I just get errors like
"remote access isn't allowed" or "unable to authenticate user" or a
password request dialog with a completely different user account
name filled in.
Why is this a problem? I read on some old web page that the target
account has to be an administrator on the remote machine; is this
true? Bad news if so.
I want this to work without any need to input passwords etc.
Any tips appreciated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (applescript-
email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden
--
Takaaki Naganoya
Piyomaru Software
http://piyo.piyocast.com
email@hidden
PiyoCast Web (Podcasting with Music!)
http://www.piyocast.com
Free AppleScript Library "AS Hole"
http://www.piyocast.com/as/
_______________________________________________
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