Re: Going Nuts Over (get screen list)
Re: Going Nuts Over (get screen list)
- Subject: Re: Going Nuts Over (get screen list)
- From: Johnny AppleScript <email@hidden>
- Date: Sat, 09 Aug 2003 01:31:06 -0600
On 03/08/08 5:45 PM, "John Delacour" <email@hidden> wrote:
>
Forget that (Jon's) command. You've been missing messages.
I guess so. I'd sure like to see the message that actually said the opposite
of what you told me the first time I asked this:
On 03/07/29 1:22 AM, "Johnny AppleScript" <email@hidden> wrote:
>
> tell app "System Events"
>
> set {l, t, r, b} to bounds of item 1 of (get screen list)
>
> end
>
>
Does this still require Jon's Commands, or is this finally rolled into the
>
new AS beta?
... and then you replied, while supplying a code sample "proving" it worked
that...
On 03/07/29 1:38 AM, "John Delacour" <email@hidden> wrote:
>
No external osax is required. Provided you have the beta System
>
Events installed, which obviously you have, then it will work. Have
>
you tried it? If not, why not?
>
>
tell application "System Events"
>
set {l, t, r, b} to bounds of item 1 of (get screen list)
>
end tell
>
--> {0, 0, 1152, 870}
... one only needed System Events 1.2; then, in the note you just referenced
today, you said:
On 03/08/02 12:52 PM, "John Delacour" <email@hidden> wrote:
>
I've now discovered that you don't need to have Jon's commands
>
installed; the thing can be done using just System Events:-
... which further misled me into thinking that you were just on another
version of the same task, but that your original assertion that 'get screen
list' was *not* unique to Jon's Commands was still in effect.
I sincerely apologize for missing the post you directed at me that
specifically reversed your initial advice and code sample in direct response
to my already-held knowledge that Jon's Command's were needed for that
syntax.
I don't think I lost more than two or three hours to chasing a snipe while
reinstalling software, clean-installing entire OS X systems, and seeking out
virgin hardware to figure out why your vanilla code wouldn't compile on my
machines. :-)
Seriously, though, thanks for all you do for us on this list. I truly
appreciate the help you've given me directly, and enjoy learning from code
samples and help you offer others.
Cheers, and Best Regards,
JA
_______________________________________________
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.