Friday, 15 January 2010

AutoHotKey infinite while loop -



AutoHotKey infinite while loop -

is there way create in autohotkey?

bool isready = false; while (!isready) { // here isready = true; }

i tried experiment while loop, ended 1 loop regardless of status give program. using version 1.0.47.06.

i read documentation here: http://www.autohotkey.com/docs/commands/while.htm tried give while loop value of true. executed once. (i expecting loop forever, until terminate script).

condition := true while (condition) { msgbox, status } while (true) { msgbox, true }

your code correct, while command requires version 1.0.48+.

you should update latest version of ahk here - http://ahkscript.org/download/

autohotkey

No comments:

Post a Comment