MsgBox not working

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
sbrady19
Posts: 344
Joined: 12 Apr 2018, 05:22
Location: Central Florida
Contact:

MsgBox not working

Post by sbrady19 » 22 Apr 2024, 11:45

here is a message I get with I run some code.
it used to work, what am I doing wrong.


Critical Error: Invalid memory read/write.

937: {
939: result := MsgBox("Yes=Feat No=NEWS",,"YesNo")
▶ 940: If result = "Yes"
941: {
943: Loop Files A_Clipboard '\*.xmp'

RussF
Posts: 1298
Joined: 05 Aug 2021, 06:36

Re: MsgBox not working

Post by RussF » 22 Apr 2024, 13:25

Try:

Code: Select all

If (result = "Yes")
Russ

Post Reply

Return to “Ask for Help (v2)”