What's wrong with this?

Get help with using AutoHotkey and its commands and hotkeys
TigerYT

What's wrong with this?

12 Aug 2018, 13:25

Code: [Select all] [Expand] [Download] (Untitled.ahk)GeSHi © Codebox Plus


https://cdn.discordapp.com/attachments/ ... nknown.png
Alibaba
Posts: 471
Joined: 29 Sep 2013, 16:15
Location: Germany

Re: What's wrong with this?

12 Aug 2018, 14:01

Braces -> Blocks, and use == for checking equality. If you are checking Boolean values (true, false) however, you don’t even check for “== 1”, if will evaluate the variable itself:

Code: [Select all] [Expand] [Download] (Untitled.ahk)GeSHi © Codebox Plus

"Nothing is quieter than a loaded gun." - Heinrich Heine

Return to “Ask For Help”

Who is online

Users browsing this forum: Google [Bot], Scr1pter and 51 guests