namesport.blogg.se

Windowmanager reset to default position
Windowmanager reset to default position







  1. Windowmanager reset to default position update#
  2. Windowmanager reset to default position windows 10#
  3. Windowmanager reset to default position code#
  4. Windowmanager reset to default position windows#

^+Ins::Add_RemoveDynamicallyManagedProcess()

Windowmanager reset to default position windows#

to add or remove additional windows as managed processes with a single hotkey,NOTE:this hotkey CAN NOT remove managed processes defined above,only those added by hotkey

windowmanager reset to default position

Windowmanager reset to default position update#

= "," dynamicallyManagedProcesses update managedProcesses with dynamicallyManagedProcesses on init. append dynamicallyManagedProcesses to managedProcesses listĭynamicallyManagedProcesses := INI("r", "dynamically managed processes", "dynamicallyManagedProcessesList") titles that prevent an active window with a listed title & belonging to a managed processes from being managed, add titles on newlines.Īny window title delimited by lines will exclude that window from being managed - every title should be on a new line class names that prevent an active window with a listed class from being managed, seprate with commas. ManagedProcesses = xulrunner.exe,firefox.exe,notepad.exe,chrome.exe,notepad++.exe,ProcessHacker.exe,Cmd.exe,mintty.exe,FoxitReader.exe,taskmgr.exe list of processes to resize & reposition automatically - note the main class of a process listed here will be the class name registered when a listed process window is first encountered.

windowmanager reset to default position

SetWorkingDir %A_ScriptDir% Ensures a consistent starting directory. #NoEnv Recommended for performance and compatibility with future AutoHotkey releases. i.e new explorer windows for example under a single process(identical PID's) will now all be managed instead of only the very first explorer window,a very silly bug that's now squashed.Ĭode: Select all Automatically Restore Previous Window Size/Pos

  • Now uses unique window ID's instead of PID to manage window management sessions, such that a process with multiple managed windows will have them all managed instead of only the very first one as was the case before.
  • Optimised core logic to make it more reliable and less likely to trigger unexpected outcomes. NOTE ON HOTKEY: hotkey neither adds nor removes to managedProcesses added manually to script, instead it only manages managedProcesses added by Hotkey,reasoning for this is simply a matter of personal preference, nothing more. >If window is already managed user will be prompted to remove managed processes, else user will be prompted to add active window to managed processes list.
  • Added Hotkey 'Ctrl+Shift+Ins' to add or remove windows to managedProcesses list, easier and more precise addition of windows.
  • Windowmanager reset to default position code#

    Multimonitor compatible,at least it should be, i can't test it(single monitor setup) but logically code no longer has hardcoded boundries like it did before. Now properly handles snapped windows,it didn't before.My Bad.ToolTip, style: %this_style% class: %this_class% exe: %this_exe% pid: %this_pid%Ĭlipboard = style: %this_style% class: %this_class% exe: %this_exe% pid: %this_pid%

    windowmanager reset to default position

    Script to gather info about active window,to verfiy window identifiers in INI are the correct ones.Ĭode: Select all Display in real time the active window's style,class & exe+PID - use snippet to manually modify attributes in INI,using information collected here.

    Windowmanager reset to default position windows 10#

    NOT COMPATIBLE WITH Windows 10 Universal Windows Platform apps(ApplicationFrameHost.exe apps), TESTED ON WinXP/7/8/10. It uses first encounter window attributes to pair a window's attributes with a designated ManagedProcess,i.e if a process has a dialog box open when it's first encountered then that dialog box will be identified as the processes main window, so if that is the case, simply remove the INI entry and have it detect the window again or modify INI entry manually using the script provided below. If explorer.exe is added as a managed process, ensure the class names saved to INI are of the actual explorer window, and not the start menu or such,which are also windows under explorer.exe.Recommend adding and removing managed processes using the default hotkey, Ctrl+Shift+Ins. It now uses ProcessName,ClassName,WindowStyle to uniquely identify windows, uses PID for window management sessions(move window on first run only), only saves position data from windows that are niether maximised nor minimised and idles until active window belongs to a managed process. Rewrote my version of the OP, it took more code than the 50 lines i was hoping for the rewrite, and even ended up being more than the original code, to make it easier to maintain, more efficient & easier to modify for anyone who wants to modify to their whims.









    Windowmanager reset to default position