Re: Frontmost document??
Re: Frontmost document??
- Subject: Re: Frontmost document??
- From: Jon Pugh <email@hidden>
- Date: Fri, 9 May 2003 21:06:11 -0700
At 9:35 AM +1000 5/10/03, Shane Stanley wrote:
>
The problem with Photoshop is that document 1 is not
>
always the active document (it's usually the first opened), and therefore
>
neither is front document.
Part of the problem is that the "creation order" concept is used in Visual Basic, while the window order is used in AppleScript. It turns out that "creation order" is really easy too implement, and normally the system takes care of the window order, so it's platform dependent to implement.
I had to fix this in InDesign some years back even.
Of course, using the front document allows you to easily write scripts which manipulate and modify selections. If apps support selections, that is. Which InDesign does.
Jon
_______________________________________________
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.