Re: Frontmost document??
Re: Frontmost document??
- Subject: Re: Frontmost document??
- From: Scott Lewis <email@hidden>
- Date: Fri, 09 May 2003 18:50:58 -0400
I have found that using "front document" instead of "document 1" is better.
I usually set a variable "docName" to the name of front document, then if
for any reason the documents get accidentally reshuffled (by me), my command
is calling the document by name rather than by index, which changes.
tell application "Adobe Photoshop 7.0"
activate
Open file q
Set x to width of front document
Set y to height of front document
End tell
Scott Lewis
--
Get more work from your Mac!
Production Automation Specialist
(804) 353-6485
www.lewisdesign.net
_______________________________________________
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.