RE: Photoshop Windows and Tabs
RE: Photoshop Windows and Tabs
- Subject: RE: Photoshop Windows and Tabs
- From: Jim Skibbie <email@hidden>
- Date: Tue, 27 Sep 2016 22:42:15 +0000
- Thread-topic: Photoshop Windows and Tabs
Hey Ed-
There is no concept of how documents are grouped in different windows in the UI in Photoshop that I can tell. There's only documents and a property of the application that determines the "current document". I don't think
there is a way for you to ascertain that document 1 and document 2 appear grouped in the UI in one window and document 3 and document 4 appear in a different window.
What you suggest would work. Another option might be displaying a list of all the open documents and having the user choose the ones they want to be affected by the script. The script could then loop through those selected
documents without the need to interact with the user again.
________________________________________
Current document
only returns the info for the document of the current tab of the
frontmost window.
Every document
returns the info for the documents of all tabs in all windows.
What I need is all the documents for the tabs in the frontmost window only.
Here's how the script would work. The photo editor is working on package
and downloads four or five photos and opens them. Each is in their own tab
in the same window. There may be other windows open with other photos
while they're working on these.
They edit the all photos and then edit just the info for the
photo/document in the first tab.
Then they run the script. The info from the first document is used to
populate the info for the other documents open in tabs in the same window.
Then each tab is closed and saved (using a file name derived from the
first document's info) in the correct directory. Without the script, the
fields in the info for each photo have to be manually entered; since the
photos are saved in a different directory than they're opened from the
user must navigate for each one as they save.
The script is basically done, except I don't see a way to identify the
tabs/windows of open documents.
At this point I'm thinking of running the script on the first tab; then
having the user run the again for each subsequent tab. It will remember
the info between each run, still saving the user a lot of time, but kind
of clunky.
CONFIDENTIALITY NOTICE: This message, together with any attachments, is intended only for the addressee. It may contain information which is proprietary, confidential, legally privileged and/or exempt from disclosure.
If you are not the intended recipient of this message, you are hereby notified that any disclosure, copying, distribution, use, or any action or reliance on this communication is strictly prohibited. If you have received this e-mail in error, please notify
the sender immediately by return e-mail and delete the message, along with any attachments.
_______________________________________________
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