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 

Some NiftyWindows questions

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



Joined: 06 Dec 2007
Posts: 170

PostPosted: Wed Feb 20, 2008 6:03 pm    Post subject: Some NiftyWindows questions Reply with quote

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 Sad

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 Smile
_________________
AHK is perfect.
Back to top
View user's profile Send private message
Erittaf



Joined: 03 Nov 2007
Posts: 182

PostPosted: Wed Feb 20, 2008 6:14 pm    Post subject: Reply with quote

http://www.autohotkey.com/docs/Hotkeys.htm#Symbols
Back to top
View user's profile Send private message Send e-mail
Da Rossa



Joined: 06 Dec 2007
Posts: 170

PostPosted: Wed Feb 20, 2008 11:22 pm    Post subject: Reply with quote

Thanks! I confess, I hadn't had the idea that that document existed Razz
What about the second part? Smile
_________________
AHK is perfect.
Back to top
View user's profile Send private message
Erittaf



Joined: 03 Nov 2007
Posts: 182

PostPosted: Thu Feb 21, 2008 12:24 am    Post subject: Reply with quote

http://www.autohotkey.com/docs/commands/WinMaximize.htm

see also: (the rest of the docs)
http://www.autohotkey.com/docs/
Especially:
http://www.autohotkey.com/docs/commands.htm
Back to top
View user's profile Send private message Send e-mail
Da Rossa



Joined: 06 Dec 2007
Posts: 170

PostPosted: Thu Feb 21, 2008 8:39 pm    Post subject: Reply with quote

Thanks brother!
_________________
AHK is perfect.
Back to top
View user's profile Send private message
Da Rossa



Joined: 06 Dec 2007
Posts: 170

PostPosted: Fri Feb 22, 2008 3:50 am    Post subject: Reply with quote

In time:
I liked very much the script, but it appears to lack in what would be one of the nicest features: how can I set the taskbar items (windows) to quickly close by holding ALT then clicking on it? Thanks!
_________________
AHK is perfect.
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