| View previous topic :: View next topic |
| Author |
Message |
ABCza
Joined: 03 Jun 2008 Posts: 22 Location: Italy
|
Posted: Tue Jul 08, 2008 10:51 pm Post subject: |
|
|
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  _________________ ABCza |
|
| Back to top |
|
 |
ABCza
Joined: 03 Jun 2008 Posts: 22 Location: Italy
|
Posted: Wed Jul 09, 2008 6:07 am Post subject: |
|
|
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  _________________ ABCza |
|
| Back to top |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 1397
|
Posted: Wed Jul 09, 2008 12:08 pm Post subject: |
|
|
| 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  |
Thanks! And glad that it works flawlessly for you. |
|
| Back to top |
|
 |
kardus
Joined: 17 Jul 2008 Posts: 10
|
Posted: Sat Jul 26, 2008 10:10 pm Post subject: |
|
|
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 |
|
 |
Sean
Joined: 12 Feb 2007 Posts: 1397
|
Posted: Sun Jul 27, 2008 12:39 am Post subject: |
|
|
| 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 |
|
 |
|