Re: Talking to apps running under different users' accounts on same machine?
Re: Talking to apps running under different users' accounts on same machine?
- Subject: Re: Talking to apps running under different users' accounts on same machine?
- From: Axel Luttgens <email@hidden>
- Date: Sun, 05 Jun 2011 12:27:55 +0200
Le 2 juin 2011 à 22:46, email@hidden a écrit :
> Is there any way to script apps running under different users' accounts on same machine?
>
> For example, if I wanted to tell safari in a background account to show the same page I am looking at.
Hello Brennan,
A quick trial here on 10.6.7 tends to indicate that this is possible thru remote events.
This is what I did (quick recipe): if not already done, activate Remote Apple Events on your machine (Preferences -> Sharing), open a session for user "someguy" and launch Safari, go back to your session, run following in AppleScript Editor:
tell application "Safari" of machine "eppc://someguy@127.0.0.1"
tell front window
tell first tab
set URL to "http://www.microsoft.com/"
end tell
end tell
end tell
HTH,
Axel
_______________________________________________
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