i made the simple code but is make me feel sump

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
User avatar
VARUNCUPID
Posts: 1
Joined: 09 May 2024, 13:41

i made the simple code but is make me feel sump

09 May 2024, 13:49

Code: Select all

#Requires AutoHotkey v2.0

#IfWinActive, ahk_exe EXCEL.EXE

^Tab::^PgUp


error

Error: This line does not contain a recognized action.

Text: #IfWinActive, ahk_exe EXCEL.EXE
Line: 3
File: C:\Users\Dex\Documents\AutoHotkey\tab.ahk

The program will exit.


[Mod edit: Added [code][/code] tags. Please use them yourself when posting code.]
User avatar
boiler
Posts: 17206
Joined: 21 Dec 2014, 02:44

Re: i made the simple code but is make me feel sump

09 May 2024, 14:40

Your #IfWinActive line is v1 code. See #HotIf and WinActive.

Code: Select all

#Requires AutoHotkey v2.0

#HotIf WinActive('ahk_exe EXCEL.EXE')

^Tab::^PgUp

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: Rohwedder, Xeilous and 30 guests