AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Taskbar Size

 
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
Gauss



Joined: 10 Sep 2009
Posts: 203

PostPosted: Fri Mar 05, 2010 3:53 pm    Post subject: Taskbar Size Reply with quote

How do I get the size of the taskbar?
Back to top
View user's profile Send private message
TLM



Joined: 21 Aug 2006
Posts: 2926
Location: The Shell

PostPosted: Fri Mar 05, 2010 4:07 pm    Post subject: Reply with quote

This works in XP
Code:
WinGetPos,,, tbW, tbH, ahk_class Shell_TrayWnd
   msgbox % "Taskbar Width: " . tbW . "`nTaskbar Height: " . tbH

; tbW var containing width of taskbar.
; tbH var containing height of taskbar.


hth
_________________
paradigm.shift:=(•_•)┌П┐RTFM||^.*∞
Back to top
View user's profile Send private message
Gauss



Joined: 10 Sep 2009
Posts: 203

PostPosted: Fri Mar 05, 2010 7:01 pm    Post subject: Reply with quote

Works perfect, thanks alot Very Happy

Windows 7
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group