I have commands:
MainWindow := H
SecWindow := S
Next command is:
MsgBox, 0, Info, Main: %Mainwindow%`nI and Sec: %SecWindow%`n
Shows nothing (empty in the messagebox) for both variables (they are earlier defined as globals: global MainWindow and global SecWindow).
What could be wrong? MainWindow should show H and SecWindow S of course. Quotes needed?
Many thanks.
--=kallera=--
Command xx := A??
Re: Command xx := A??
See the help file -> AutoHotkey.chm
Variables and Expressions section
Variables and Expressions section
Would have saved yourself a lot of typing, let alone the wait, if you had tried your last suggestion."By contrast, the expression method uses the colon-equal operator (:=) to store numbers, quoted strings, and other types of expressions."
hunter99"What could be wrong? MainWindow should show H and SecWindow S of course. Quotes needed?"
Re: Command xx := A??
Ah, ok.
Should have searched the help files. Or at least tested. *facepalm*
Thank you very much.
--=kallera?--
Should have searched the help files. Or at least tested. *facepalm*
Thank you very much.
--=kallera?--
Who is online
Users browsing this forum: No registered users and 89 guests