Da Rossa
Joined: 06 Dec 2007 Posts: 170
|
Posted: Wed Feb 20, 2008 6:03 pm Post subject: Some NiftyWindows questions |
|
|
Hi, I liked this script very much, it is a must have! However some of the keys that come in it are in conflict with my existing hotkeys in my script, so I'd like to change them or remove them. But first, please tell me: What is the "$" modifier?? Like in:
| Code: | ; [NWD] nifty window dragging
/**
* This is the most powerful feature of NiftyWindows. The area of every window
* is tiled in a virtual 9-cell grid with three columns and rows. The center
* cell is the largest one and you can grab and move a window around by clicking
* and holding it with the right mouse button. The other eight corner cells are
* used to resize a resizable window in the same manner.
*/
$RButton::
$+RButton::
$+!RButton::
$+^RButton::
$+#RButton::
$+!^RButton::
$+!#RButton::
$+^#RButton::
$+!^#RButton::
$!RButton::
$!^RButton::
$!#RButton::
$!^#RButton::
$^RButton::
$^#RButton::
$#RButton::
NWD_ResizeGrids = 5
CoordMode, Mouse, Screen
MouseGetPos, NWD_MouseStartX, NWD_MouseStartY, NWD_WinID
If ( !NWD_WinID )
Return
WinGetPos, NWD_WinStartX, NWD_WinStartY, NWD_WinStartW, NWD_WinStartH, ahk_id %NWD_WinID%
WinGet, NWD_WinMinMax, MinMax, ahk_id %NWD_WinID%
WinGet, NWD_WinStyle, Style, ahk_id %NWD_WinID%
WinGetClass, NWD_WinClass, ahk_id %NWD_WinID%
GetKeyState, NWD_CtrlState, Ctrl, P
|
They say that's the most powerful thing in NW, but I haven't used it
Also, I'm a little confused about the Maximize Window (winmaximize?) command they provide in it: I search for this instances of "WinMaximize" and it returns some lines with a complex code in it so I feel unsafe to remove or edit there. The goal is: I'd like to have Alt+Click to maximize (if not already) a window or restore it (if maximized). Where do I edit it?
For now that's all dudes  _________________ AHK is perfect. |
|