I just tested this script here (an extract from yours):
local height = window("height","taskbar")
local top = window("top","taskbar")
Win.Debug("height = "++height++" top = " ++ top)
It returned the correct numbers in debug.
Sorry if this is stating the obvious: in the debug window
each new line is added to the top of the list.
So the top line is the most recent and the bottom line
is the oldest. Don't ask me why, because I don't know.
So if you run that script when the taskbar is taller,
then make the taskbar shorter with a drag operation,
then run that script again, debug should show this:
[assuming a screen height of 768]
height = 30 top = 740
height = 55 top = 715
which is the result I get here, and is correct I think.
By the way, the height+top numbers add up to screen height
plus 2 because a 2 pixel strip of the taskbar is always off screen.
Attention: PowerPro's Web site has moved: http://www.ppro.org
SPONSORED LINKS
| Computer monitoring software | Power pro | Computer and internet software |
| Free computer monitoring software |
YAHOO! GROUPS LINKS
- Visit your group "power-pro" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
