• 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
Re: Photoshop Windows and Tabs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Photoshop Windows and Tabs


  • Subject: Re: Photoshop Windows and Tabs
  • From: "Stockly, Ed" <email@hidden>
  • Date: Tue, 27 Sep 2016 22:16:00 +0000
  • Thread-topic: Photoshop Windows and Tabs

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.






>
>There is a current document property of a document, so you can get the
>front most document with this:
>
>tell application "Adobe Photoshop CS6"
>  set theDoc to current document
>end tell
tell application "Adobe Photoshop CS6"
  set theDocs to every document
end tell


>


 _______________________________________________
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


  • Follow-Ups:
    • RE: Photoshop Windows and Tabs
      • From: Jim Skibbie <email@hidden>
References: 
 >Re: Photoshop Windows and Tabs (From: Jim Skibbie <email@hidden>)

  • Prev by Date: Re: Photoshop Windows and Tabs
  • Next by Date: RE: Photoshop Windows and Tabs
  • Previous by thread: Re: Photoshop Windows and Tabs
  • Next by thread: RE: Photoshop Windows and Tabs
  • Index(es):
    • Date
    • Thread