topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Friday March 29, 2024, 3:43 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: MaxaMiser 1.3  (Read 6581 times)

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
MaxaMiser 1.3
« on: June 01, 2011, 10:05 PM »
MaxaMiser 1.0

Since I've been playing around with window sizing and placement leaving a gap for the TaskBar, I thought it time to write something very simple to semi-maximize a window. I use RocketDock and it's too annoying when it gets covered.

MaxaMiser sits in the Tray.  Alt Up Arrow adjusts the active window.  If the window is truly maximized, nothing happens. This is to avoid confusing the state of the window tracked by the OS.  Otherwise, the size and position is saved in an associative array(Scripting.Dictionary to the rescue again.) Then it's sized to the screen dimensions except for a gap by the TaskBar.  Use the .ini file option to set the gap size.

A test is done to see if the window is already MaxaMised with previous position info stored.  If so, it's repositioned and sized using the stored info.

For apps it uses the basename of the app.  Notepad for notepad.exe etc. as the key in the array.  For Explorer windows it prepends "Explorer_" so for C:\ window you'd get "Explorer_C:\" as the key.  For this reason MaxaMising multiple views of the same folder will overwrite position info.  Last one saved wins.

If you find it's not working at all with Explorer windows try setting "show full path in title bar" Explorer view setting to enabled.

See Readme.txt for details.


http://www.favessoft.com/hotkeys.html

« Last Edit: June 02, 2011, 02:45 PM by MilesAhead »

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: MaxaMiser 1.1
« Reply #1 on: June 01, 2011, 11:41 PM »
MaxaMiser 1.1 For those who hate to let go of the mouse, I added a "Use Alt Middle Mouse Click" option to the Tray Menu. I recommend clicking on the window frame someplace to avoid side effects. :)

The option is on by default.  Requires aux. ahk program included in the download to be in the same folder.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: MaxaMiser 1.2
« Reply #2 on: June 02, 2011, 12:52 AM »
MaxaMiser 1.2 Fixed bug in Set Hotkey command.

MilesAhead

  • Supporting Member
  • Joined in 2009
  • **
  • Posts: 7,736
    • View Profile
    • Donate to Member
Re: MaxaMiser 1.3
« Reply #3 on: June 02, 2011, 02:46 PM »
MaxaMiser 1.3 Now Restores a truly maximized window. Also if active window position happens to be the same as the "MaxaMised" position, with no previous position or size info, it is centered at about 70% desktop size.