• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
controlling remote application question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Follow-Ups:
    • Re: controlling remote application question
      • From: Christopher Nebel <email@hidden>
  • Prev by Date: Re: 'info for' braindead about .app packages
  • Next by Date: How to send Apple Events to a remote account without a password?
  • Previous by thread: Re: Internet Connect Script
  • Next by thread: Re: controlling remote application question
  • Index(es):
    • Date
    • Thread