controlling remote application question
controlling remote application question
- Subject: controlling remote application question
- From: trinko <email@hidden>
- Date: Sat, 8 May 2004 20:36:36 -0700
when you send a command to a remote application do you use the
application name or the process name in the tell?
the reason i'm asking is that this script didn't work failing with an
error that it could find the process
tell application "Adobe Photoshop CS" of machine x
using terms from application "Adobe Photoshop CS"
open file "da kids new:book test image.jpg" showing
dialogs never
set d to the current document
filter current layer of d using unsharp mask with
options {class:unsharp mask, amount:100.0, radius:2.2, threshold:1}
adjust current layer of document 1 using automatic levels
end using terms from
end tell
but this script did work
tell application "Photoshop" of machine x
using terms from application "Adobe Photoshop CS"
open file "da kids new:book test image.jpg" showing
dialogs never
set d to the current document
filter current layer of d using unsharp mask with
options {class:unsharp mask, amount:100.0, radius:2.2, threshold:1}
adjust current layer of document 1 using automatic levels
end using terms from
end tell
on the remote machine when you use the force quit command the
Photoshop process is called "Photoshop"
--
tom trinko
http://members.aol.com/trinkos/basepage.html
email@hidden
_______________________________________________
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.