used to work fine under Windows 7. Now that I upgraded to Windows 10, it isn't working when certain windows are active. Specially LButton-Hotkeys can mess up everything, leading to the situation where you actually need Task Manager.
More complex tasks can be achieved with custom data entry forms (GUI windows), working with the system registry, or using the Windows API by calling functions from DLLs. The scripts can be compiled into an executable file that can be run on other computers that do not have AutoHotkey installed. The source code is in C++ and can be compiled with Visual Studio Express.
Windows 10 has a function build in to activate the window which is under the cursor automatically but if you use blender with multiple (popout) windows it doesnt toggle the main blender window somehow. Edit: As a user reported the same faulty behaviour is also on mac.
anyways , ive written a simple auto hotkey script to kinda hack it on top , with this the blender windows are activated automatically. its not a good script for every program because it also raises the window to the front , but since i use blender windows only in fullscreen mode and popout windows automatically hover over the main window it works very nice in this case.
AHK is an open-source scripting software for Windows that is used to automate repetitive tasks, remap keys, build small utility tools, etc. You create scripts that would do the tasks for you. It's an extremely lightweight app ( 2MB RAM) and works on old and newer versions of windows.
AutoHotkey is a scripting language that allows users to automate tasks on a Windows computer. It can simulate keystrokes, mouse movements, and manipulate windows and controls. By writing scripts, users can create custom shortcuts, automate repetitive tasks, and enhance productivity. AutoHotkey scripts are stored as plain text files with the ".ahk" extension.
To create a basic AutoHotkey script, you can open any text editor and save the file with the ".ahk" extension. Write the desired commands using the AutoHotkey syntax, such as defining hotkeys, sending keystrokes, or manipulating windows. Save the file and run it by double-clicking on it.
AutoHotkey is a scripting language that allows users to automate tasks on a Windows computer. It can simulate keystrokes, mouse movements, and manipulate windows and controls. By writing scripts, users can create custom shortcuts, automate repetitive tasks, and enhance productivity. AutoHotkey scripts are stored as plain text files with the '.ahk' extension.
To create a basic AutoHotkey script, you can open any text editor and save the file with the '.ahk' extension. Write the desired commands using the AutoHotkey syntax, such as defining hotkeys, sending keystrokes, or manipulating windows. Save the file and run it by double-clicking on it.
Although it worked great for some windows (e.g. Visual Studio Code, Visual Studio 2019), it positioned others (e.g. Total Commander, Firefox, OneNote) with a few pixels of offset. This is explained best with the following screenshot (the bottom window is positioned correctly):
Even that didn't fix the issue for all applications because the offsets weren't symmetrical. Fortunately, the post linked to an alternative implementation of the same function that returns offsets separate for each side. Using the values it returns, I managed to update my function to work correctly for all application windows:
Microsoft word and many other programs have feature of correcting wrongly spelled word as you type. But this capability is limited only for those software. With Autohotkey, you can extend auto correct capability windows wide. Following code auto correct teh to the anywhere in windows. You are free to add more such auto correct capability. AHK script for auto correct containing most commonly misspelled words please visit.
With lot many windows open, sometime you may have to regularly minimize some particular windows like chrome. With autohotkey, you can maximize/minimize your favourite window with just one keystroke. Following sample script shows how you can, use Alt+c (! stands for Alt in AHK) to toggle chrome (minimize -> maximize or maximize -> minimize)
df19127ead