Re: Applescript: Xcode's "front" project is not one in front window
Re: Applescript: Xcode's "front" project is not one in front window
- Subject: Re: Applescript: Xcode's "front" project is not one in front window
- From: Paul Berkowitz <email@hidden>
- Date: Fri, 22 Sep 2006 16:31:17 -0700
- Thread-topic: Applescript: Xcode's "front" project is not one in front window
Title: Re: Applescript: Xcode's "front" project is not one in front window
On 9/22/06 2:55 PM, "Jerry Krinock" <email@hidden> wrote:
Thanks, Gouri. I still don’t understand why “front project” does not give me the project which is the subject of the front window.
Because 'front' in AppleScript is just a synonym for 'first' and '1' - it doesn't really mean 'front of the screen' except for window elements which are indexed in that fashion (in most apps). It's one of those expressions which was supposed to make AppleScript more "English-like" - and does - but is only accurate in contexts where 'front' really does mean 'first'. Think 'front of the list of elements'. It all depends how the elements of a containing object are indexed. In most cases, the indexing is by creation order - whichever element was created first is '1', 'first', 'front'. Only with windows - in most apps - do '1', 'first', 'front' all mean the frontmost element (window).
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden