• 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
Frontmost document??
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Frontmost document??


  • Subject: Frontmost document??
  • From: John Clark <email@hidden>
  • Date: Fri, 09 May 2003 08:04:48 +0100

There is probably a very easy solution to this but I can't ged it.

Here is a snippet of the script which opens a different image file each time
in a repeat loop. The image files are kept open (for hand retouching)

tell application "Adobe Photoshop 7.0"
activate
Open file q
Set x to width of document 1
Set y to height of document 1
End tell


How can I get photoshop to recognize the most recently opened file as
document 1 (or whatever)? The actions can only be applied to the frontmost
document.

Regards



John Clark
_______________________________________________
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: Frontmost document??
      • From: Shane Stanley <email@hidden>
  • Prev by Date: Re: Eudora and Junk (was Re: "idle"...)
  • Next by Date: Re: "idle" has different effect in X vs 9?
  • Previous by thread: SetTellTarget
  • Next by thread: Re: Frontmost document??
  • Index(es):
    • Date
    • Thread