AHK to switch to particular window Topic is solved
-
- Posts: 2
- Joined: 11 Apr 2022, 07:49
AHK to switch to particular window
hello. i would like to create an ahk script that brings up a dialog box that I can enter the name of the window I would like to switch to. ie ctrl+8 opens a box, i type in "excel" and AHK will bring up the open instance of excel that I have. can you please help me? thank you.
Re: AHK to switch to particular window Topic is solved
Code: Select all
^8::
SetTitleMatchMode, RegEx
InputBox, winTitle, Switch windows, Enter a window title.,, 300, 125
WinActivate, i)\Q%winTitle%\E
Return
-
- Posts: 1
- Joined: 06 Dec 2022, 22:25
Re: AHK to switch to particular window
Wonderful