• 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 20:56:49 +0000
  • Thread-topic: Photoshop Windows and Tabs

That's helpful. 

I guess they don't do tabs and windows the same way as anyone else.

What I'm worried about is that the user may have more than just one window open at a time. The script is to work only on the front window's documents.

 


From: RJay Hansen <email@hidden>
Date: Tuesday, September 27, 2016 at 12:13 PM
To: Los Angeles Times Los Angeles Times <email@hidden>
Cc: AppleScript Digest <email@hidden>
Subject: Re: Photoshop Windows and Tabs

Furthermore, 

getdocument 3

(or document 1 or 2) returns the corresponding tab’s document (again, going from leftmost tab to right).


On Sep 27, 2016, at 2:09 PM, RJay Hansen <email@hidden> wrote:

This:

tellapplication "Adobe Photoshop CC 2014"
getevery document
endtell

returns 

{document "img446_crx.jpg" of application "Adobe Photoshop CC 2014", document "img442_crx.jpg" of application "Adobe Photoshop CC 2014", document "img442.jpg" of application "Adobe Photoshop CC 2014”}

Which are the three tabs I had open in one window. Is this not what you’re trying to do?

I didn’t experiment further, but the three documents listed are the tabs in the window left to right.

RJay

On Sep 27, 2016, at 1:42 PM, Stockly, Ed <email@hidden> wrote:

I'm trying to get the window and tab info in an appleScript from open
Photoshop documents but can't.

The idea is that I'll download a handful of photos, open them in multiple
tabs in the same window. From that point I want appleScript to get and add
information to the info for each photo (title, description, author, etc.)
and then save each file based on the title from the info.

All of that is easily done, except identifying which open documents are
shown in tabs belonging to the same window.

Any suggestions?

Ed







_______________________________________________
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

_______________________________________________
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

 _______________________________________________
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

References: 
 >Photoshop Windows and Tabs (From: "Stockly, Ed" <email@hidden>)
 >Re: Photoshop Windows and Tabs (From: RJay Hansen <email@hidden>)
 >Re: Photoshop Windows and Tabs (From: RJay Hansen <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