Quit a remote application
Quit a remote application
- Subject: Quit a remote application
- From: Gnarlodious <email@hidden>
- Date: Sat, 01 May 2004 09:21:36 -0600
Entity Nigel Smith spoke thus:
>
tell application "System Events" of machine "eppc://nigel:pwd@127.0.0.1"
>
to exists process "Adobe Photoshop 7.0"
So I'm trying to quit Entourage on a remote machine.
tell application "System Events" of machine
"eppc://Rachel:bugaboo@Gnarlodious-Cube" to exists process "Microsoft
Entourage"
which works even though the disk isn't mounted (cool).
Now I want to extract the boolean, but this doesn't work:
set appState to (tell application "System Events" of machine
"eppc://Rachel:bugaboo@Gnarlodious-Cube" to exists process "Microsoft
Entourage")
So what's the trick?
Next, I want to quit Entourage but this doesn't work (no response):
tell application "System Events" of machine
"eppc://Rachel:bugaboo@Gnarlodious-Cube" to tell application "Microsoft
Entourage" to quit
And neither does this:
tell application "Microsoft Entourage" of machine
"eppc://Rachel:bugaboo@Gnarlodious-Cube" to quit
which sends error "application not running" even though it is.
Thanks for any tips.
-- Gnarlie
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.