Technical support and scripting issues
Moderators: JRL, Dorian (MJT support)
-
Me_again
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
Post
by Me_again » Thu Mar 30, 2006 4:07 pm
I find that GetWindowPos> will return negative values for X and Y if used for a full screen window. Is there a logical reason for this?
SetFocus>Yahoo!*
GetWindowPos>Yahoo!*,X,Y
MessageModal>%X% %Y%
returns -4 -4
-
JRL
- Automation Wizard
- Posts: 3532
- Joined: Mon Jan 10, 2005 6:22 pm
- Location: Iowa
Post
by JRL » Thu Mar 30, 2006 4:45 pm
Quick test on my computer shows the same results if using Firefox as the browser. I get 1,1 if I use Explorer.
Must simply be where they put the window when its maximised. Technically not the same as full screen.
Later,
Dick
-
Me_again
- Automation Wizard
- Posts: 1101
- Joined: Fri Jan 07, 2005 5:55 pm
- Location: Somewhere else on the planet
Post
by Me_again » Thu Mar 30, 2006 11:31 pm
Interesting, I consistently get -4 -4 with FF and IE, on both W2K and XP.
No big deal really, unless a negative value causes an error when it's passed to some other command but I haven't seen that happen.