Window Directives #If #IfWinActive #IfWinExist [AutoHotkey Tutorial #15 Part 6]

Juho Lee
1 min readOct 23, 2021

--

The #If directives in AutoHotkey allows users to create creates context-sensitive hotkeys and hotstrings. In this video, we explore the various directives (#IfWinActive, #IfWinNotActive, #IfWinExist, #IfWinNotExist, and #If Expression) that are used to create hotkeys and hotstrings that work only when specific conditions are met, such as when a window is active, or the mouse cursor is on a certain window.

Where to Find the Script(s) in this video:
• Visit juho-lee.com ❯ Archive ❯ AutoHotkey icon ❯ Dropdown List
• or watch and follow this video: https://youtu.be/-QrwCUQX6_w

Other relevant videos:
• TBC

Other useful scripts:
• AutoHotkey Screen Clipping Tool: https://youtu.be/kCmaH9fX3ZA
• Frameless Notepad (Always On Top): https://youtu.be/PSPoR0RDKC8
• Auto Screenshot Taker: https://youtu.be/I5vOj-SSyVw

To take a look at my AutoHotkey tutorial plan:
• go to https://juho-lee.com/tutorial
• select the dropdown list and click the item See Tutorial Plan Here

AutoHotkey Playlists
• Juho’s AutoHotkey Tutorial: https://www.youtube.com/playlist?list=PLa9z1lCs1x9Lvsqbz-oTD6s6TysEVREpJ
• Juho’s Random AutoHotkey Stuff: https://www.youtube.com/playlist?list=PLa9z1lCs1x9JEEFS9vArkbg0p8D8hbArr

Background Music at the end: Ehrling — Lounge

#AutoHotkey #AHK #Automation #Programming #Coding #Course #Tutorial #AHK #Productivity #Efficiency #Office #Shortcut #Hotkey #Macro

--

--

Juho Lee
Juho Lee

Written by Juho Lee

Visit my YouTube channel for useful tech tips! 👇https://www.youtube.com/c/juholee_channel

No responses yet