Subject | Re: Ping Owl: More examples of "window 1" |
From | Snit |
Date | 09/22/2016 03:07 (09/21/2016 18:07) |
Message-ID | <D4087CE6.7DF0E%usenet@gallopinginsanity.com> |
Client | |
Newsgroups | comp.os.linux.advocacy |
Follows | Jim Polaski |
Jim PolaskiLOL! I am helping Owl understand what is meant by "window 1" in AppleScript even though he has been trolling me. I am going above and beyond being helpful and kind.
On 2016-09-22, Snit <usenet@gallopinginsanity.com>wrote:SnitJim Polaski
OK, created / ran some scripts to show you the concept of window 1.
<https://youtu.be/PyKpARhOz4Y>
The scripts reference "window 1".. with the exception of the lines that say "do script" WITHOUT referencing it which create a new window. I have a script simple called "New Windows" that does this.
You can see I run multiple scripts at the same time... each sending instructions to "window 1." They all go there. Does not matter what script sends the message... and I also click on different windows (have my mouse pointer show it by going inverse) and then what window is referenced by "window 1" changes. I also, at the end, close all windows and you can see the scripts that reference "window 1" fail... I have NO error capture or the like in these scripts.
As you have been told: it does not matter what script calls window 1... it is not as if one script owns that window. The window is a window of a different program and it is just accepting commands being sent to it... and when you reference it by "window 1" it just means the top window!
Hopefully this clears things up for you... we shall see.
Not shown: if I referenced the window by ID then then that would NOT be effected by which window was on top.
Snit Circus warning. He is starting up another ring. Don't fall for it or we will have another 200 useless messages from the Usenet clown.