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 

WinTraymin to trayicon
Goto page Previous  1, 2, 3
 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions
View previous topic :: View next topic  
Author Message
ABCza



Joined: 03 Jun 2008
Posts: 22
Location: Italy

PostPosted: Tue Jul 08, 2008 10:51 pm    Post subject: Reply with quote

I found an XP machine to trying reproduce the behaviour with the previous version of the script. In XP right-clicking the icon of the window minimized works as expected, unminimizing window like the left button, but i found a more strange behaviour following these tasks:

1) Minimize a window
2) Right click the script tray icon and then right click the minimized window tray icon without deleting the ahk default menu.

This time, the window will be unminimized, but the tray icon will remain and the default ahk menu will be shown. Furthermore, if the unminimized window is on full-screen, right clicking the hanged tray icon will toggle the full-screen to that window. To unlock the hanged tray icon, you must minimize to tray the relative window and the unminimize it.

These behaviour is fixed by your new version. When i go home i will test it in Vista.

Thank you Very Happy
_________________
ABCza
Back to top
View user's profile Send private message MSN Messenger
ABCza



Joined: 03 Jun 2008
Posts: 22
Location: Italy

PostPosted: Wed Jul 09, 2008 6:07 am    Post subject: Reply with quote

Excellent, works with Vista like a charm. Fixed all behaviours, also the "half working" minimize button.


For me, this is the script of the year Smile
_________________
ABCza
Back to top
View user's profile Send private message MSN Messenger
Sean



Joined: 12 Feb 2007
Posts: 1397

PostPosted: Wed Jul 09, 2008 12:08 pm    Post subject: Reply with quote

ABCza wrote:
Excellent, works with Vista like a charm. Fixed all behaviours, also the "half working" minimize button.
For me, this is the script of the year Smile

Thanks! And glad that it works flawlessly for you.
Back to top
View user's profile Send private message
kardus



Joined: 17 Jul 2008
Posts: 10

PostPosted: Sat Jul 26, 2008 10:10 pm    Post subject: Reply with quote

Wonderful script!
As I need to minimize with AltGr+K and as inexperienced, I added: ...
Code:

...
OnExit
ExitApp

<^>!k::                 ; ************************* ADDED
     WinTraymin(h)

RButton Up::
If   h:=WM_NCHITTEST()
   WinTraymin(h)
Else   Click, % SubStr(A_ThisHotkey,1,1)   ; for hotkey: LButton/MButton/RButton
Return
...

Seems working, no side effect ...
Back to top
View user's profile Send private message
Sean



Joined: 12 Feb 2007
Posts: 1397

PostPosted: Sun Jul 27, 2008 12:39 am    Post subject: Reply with quote

kardus wrote:
Wonderful script!
Thanks.
Quote:
As I need to minimize with AltGr+K and as inexperienced, I added: ...
I suggest to use the following instead.
Code:
<^>!k::WinTraymin()
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Scripts & Functions All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
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