topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday October 6, 2024, 10:55 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Author Topic: quick ahk idea: resize window with mouse click and scroll wheel  (Read 12493 times)

nudone

  • Cody's Creator
  • Columnist
  • Joined in 2005
  • ***
  • Posts: 4,119
    • View Profile
    • Donate to Member
a simple idea (that might be already covered by a small util).

hold the left mouse button down and scroll the mouse wheel to make the current window taller.

hold the right mouse button down and scroll the mouse wheel to make the current window wider.

maybe hold both left and right buttons down and scroll to make the window larger in all directions.

(not thought about this for more than a few seconds so maybe those actions would conflict with other things.)

lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: quick ahk idea: resize window with mouse click and scroll wheel
« Reply #1 on: September 27, 2008, 08:03 PM »
nudone, just gave a quick try on this one so please assume this as a beta script. :) based on the direction & mouse button, the scroll wheel shrinks or stretches the window. for smoother transition, edit the .ahk & change the 'NotchMove' value (see pic).

also, i can't get 'hold both buttons' thing to work so i switched the scroll wheel to be used with either 'Control' on the keyboard or the 'Back' button on the mouse (XButton1 in AHK-speak).

briefly the hot-keys:
LMB + Scroll Wheel -> Vertical
RMB + Scroll Wheel -> Horizontal
Control + Scroll Wheel -> Incremental
XButton1 + Scroll Wheel -> Incremental

ws-MouserSize-1.png

nudone

  • Cody's Creator
  • Columnist
  • Joined in 2005
  • ***
  • Posts: 4,119
    • View Profile
    • Donate to Member
Re: quick ahk idea: resize window with mouse click and scroll wheel
« Reply #2 on: September 28, 2008, 02:22 AM »
heheh, great job. i like it.

thanks lanux, have some credits...


lanux128

  • Global Moderator
  • Joined in 2005
  • *****
  • Posts: 6,277
    • View Profile
    • Donate to Member
Re: quick ahk idea: resize window with mouse click and scroll wheel
« Reply #3 on: September 28, 2008, 06:43 AM »
thanks for the credits, nudone. :-* since it's working fine, i'll try to add an .exe version very soon.

icekin

  • Supporting Member
  • Joined in 2007
  • **
  • default avatar
  • Posts: 264
    • View Profile
    • icekin.com Technology,Computers and the Internet
    • Read more about this member.
    • Donate to Member
Re: quick ahk idea: resize window with mouse click and scroll wheel
« Reply #4 on: October 08, 2008, 07:43 PM »
Volumouse can do something similar through the MoveResize Plugin.