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 

toggling systray bar (hide+resize)

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



Joined: 02 Sep 2007
Posts: 7
Location: urban india = hell

PostPosted: Tue Sep 04, 2007 9:20 am    Post subject: toggling systray bar (hide+resize) Reply with quote

I tried both of these ways, but it only hides the tray, but the width of the tray stays the same.
I would like to both hide the tray plus set its size to zero.

Code:
Control, Hide,,ToolbarWindow321, ahk_class Shell_TrayWnd
sleep, 5000
Control, Show,,ToolbarWindow321, ahk_class Shell_TrayWnd

ControlGetPos ,,, Width,, ToolbarWindow321, ahk_class Shell_TrayWnd
ControlMove, ToolbarWindow321,,,1,,ahk_class Shell_TrayWnd
sleep, 5000
ControlMove, ToolbarWindow321,,,Width,,ahk_class Shell_TrayWnd


Is it possible to achieve this?
Please help! Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   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