Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photoshop Frontmost Document



On 16 Nov 2006, at 14:51, Fleisher, Ken wrote:

Can someone please tell me the syntax to make a document the current
document?

tell application "Adobe Photoshop CS2" to set current document to document 1


or

tell application "Adobe Photoshop CS2" to set current document to document "My Document's name"


Your script should work, so I'd do:

	class of docL

And try and work out why the answer isn't "document". Or, if it is, if PS is busy doing something else...

Regards

--
Martin Orpen
Idea Digital Imaging Ltd


_______________________________________________ Do not post admin requests to the list. They will be ignored. AppleScript-Users mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/applescript-users/email@hidden Archives: http://lists.apple.com/mailman//archives/applescript-users

This email sent to email@hidden
References: 
 >Photoshop Frontmost Document (From: "Fleisher, Ken" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.