Focusing a window

Get help with using AutoHotkey (v1.1 and older) and its commands and hotkeys
techmon
Posts: 54
Joined: 16 May 2017, 13:30

Focusing a window

24 May 2018, 15:15

Hello,

I setup an AHK shortcut to launch File Explorer.

^+e::
Send, #e
Return

However, sometimes, if another app such as Google Chrome is focused, the File Explorer window will not launch (come on top / focus)
See video clip here of what I mean:
https://www.useloom.com/share/d17d72ad7 ... e9f1926e99

How can I force File Explorer to come on top?
OCP
Posts: 98
Joined: 28 Mar 2018, 19:28

Re: Focusing a window

24 May 2018, 15:22

^+e::
WinActivate, ahk_class yourwindowmame
Send, #e
Return

or
^+e::
IfWinExist, ahk_class yourwindowmame
WinActivate
Send, #e
Return

som like that

Return to “Ask for Help (v1)”

Who is online

Users browsing this forum: cinematic6436 and 133 guests