Messages - SteveJohnSteele [ switch to compact view ]

Pages: prev1 [2]
6
ClickToDesktop
Therefore a quick hack would be to replace WinMinimizeAll and WinMinimizeAllUndo with the code to insert Win+D into keyboard.
-SteveJohnSteele (November 09, 2009, 12:37 PM)

Ive tried the above hack and it works

replace all
  WinMinimizeAllUndo
and
  WinMinimizeAll
with
  Send Keys #d

7
ClickToDesktop

sorry to put this here but I couldnt find a better place to put this

I have 2 monitors and DisplayFusion (software that adds additional taskbar for additional monitors)

[primary monitor - real taskbar] [secondary monitor - displayfusion taskbar]

Clicking desktop on primary monitor minimizes all windows on primary monitor/real taskbar - but windows on secondary monitor/displayfusion taskbar are unaffected
also
Clicking desktop on secondary monitor minimizes all windows on primary monitor/real taskbar - but windows on secondary monitor/displayfusion taskbar are unaffected

Clicking the 'show desktop' icon (Vista) hides and unhides all windows (both screens)

The problem seems to be with WinMinimizeAll and WinMinimizeAllUndo (http://www.autohotkey.com/docs/commands/WinMinimizeAll.htm)

Oddly Win+D seems to minimize/restore all windows (both screens), but Win+M minimizes (not restore) only windows on the primary monitor.

Therefore a quick hack would be to replace WinMinimizeAll and WinMinimizeAllUndo with the code to insert Win+D into keyboard.

I hope this helps  :)

8
Post New Requests Here / Re: IDEA: resize window from centre
« on: November 04, 2009, 09:20 PM »
Many thanks  8)

Ive hacked your code a bit ...

#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

LControl & WheelUp::
IfWinActive,ahk_class Progman
Return
IfWinActive,ahk_class Shell_TrayWnd
Return

WinGetPos,X,Y,Width,Height,A
WinGetTitle,Title,A

X := X-8
Y := Y
Width := Width+16
Height := Height+16

WinMove, %Title%,, X, Y,%Width%,%Height%
Return

LControl & WheelDown::
IfWinActive,ahk_class Progman
Return
IfWinActive,ahk_class Shell_TrayWnd
Return

WinGetPos,X,Y,Width,Height,A
WinGetTitle,Title,A

X := X+8
Y := Y
Width := Width-16
Height := Height-16

WinMove, %Title%,, X, Y,%Width%,%Height%
Return

this allows for the window to be positioned anywhere
also by not changing the Y the title bar stays still

9
Post New Requests Here / IDEA: resize window from centre
« on: November 04, 2009, 04:06 PM »
Normally when you resize a window you grab the bottom+right corner and the top+left corner doesnt move.

My suggestion is ...
That the center of the window remains constant, but the window resizes around that center. All four corners moving out from the center.
- when holding down mouse + shift

OR optionally
The bottom corners moving out from centre (titlebar Y (up) position constant)
- when holding down mouse + ctrl

Of course this would also need to work on any edge.

hope you like.

Pages: prev1 [2]
Go to full version