
comment: if using spaces at start, use either allSpaces or allTabs -> this is for if blocks
comment: max 10vars each string/double: $str,$str1,..., $dbl,$dbl1,...
comment: numbers: &02=hex &#010=bin
comment: string: "string" or 'string' - note that for now variables must be in quotes,eg '$var'
comment: max 10 vars each str/dbl: $var $var1...$var9,   $dbl $dbl1 dbl2 ... $dbl9
comment:   and $res <= returned when eg runwait it'll return result in it or plugin msgboxyesno, etc

comment: for sendkeys use sendkeys:"string/commands",msDelayCharacer,msDelayAfterSendKeys	<=available keys are in note.txt
comment:   note that defaults are maintainded by last value set, eg set 1st and 2nd/3rd can be called without last 2nd/3rd arguments

comment: run/runwait: 1st cmd is always hidden - if you want just execute hidden cmd use run/runwait:"cmd /c program.exe", for runwait res is stored in $res
comment:   to execute notepad use: run:"cmd /c notepad"

comment: set:"$dbl",-16.9
comment: set:"$str","some text ",-20.6," more text"
comment: set:"$str","some text ",-20.6," more text" <=1st 'value' param specifies if it's number or string

comment: set msgbox msgboxqtf print println <=these has varargs

comment: focuswnd:"startingTextMatch",2000	<=wait max 2sec to find it, def=nowait when no 2ndparm specified. $res can be used for status("1"=ok,"0"=notFound)

comment: input:"$str","title","short textile text\ndescription!"

comment: inc/dec:"$dbl" or inc/dec:"$dbl",4

comment: setgetwindowmode:'asexename'(default)Or'astitlename'	<= this is used in any ..window.. functions.
comment:   Note that asexename always uses 'correct version' let's say for Notepad, even if running on non-english windows edition,
comment:   while when in 'astitlename' mode, german edition may return some other - german name, but 'asexename' will always be notepad
comment:   When using 'asexename', use lowercase always,eg notepad. extension .exe is auto appended

comment:	if/while:"text-optional-$vars"OrDigit,"==|!=|<|<=|>=|>","text-optional-$vars"OrDigit, may be just if:'$dbl' or if:'$str'
comment:		cmd1
comment:		cmd2
comment:		if:...
comment:			cmd...
comment:			if:...
comment:				cmd...
comment:				cmd...
comment:	cmd...

comment: note - this script is for english or non-english type of windows ver(setgetwindowmode asexename)

comment: all cmds: sendkeys,msgbox,msgboxqtf,runwait,run,set,input,dblfromstr,focuswnd,placewindow,positionwindow,sleep,showwindow,exit,
comment: if,while,inc,dec,setgetwindowmode,print,println,wndorexeprocexist <=this can be used instead in-window function wait, except positionwindow which has wait opt somewhere in between
comment:   plus plugins...


msgboxqtf:"[_* Sample qtf message]&&{{1~a16/50o [$w_R3> hollay&lanolay]&[$yC4 test]& {{1~a12/50o [= @@iml:140*140`CtrlImg:exclamation`] & inside round}}  Round border}}"


comment: === demo =====
runwait:'cmd /c simmxtools -test'
msgbox:'$res'

set:"$str","2.4"
dblfromstr:"$dbl","$str"
set:"$str","var dbl=","$dbl"
msgbox:"$str"

run:"cmd /c notepad"
sleep:200
showwindow:"notepad",9,1000
if:"$res","==","0"
	exit:"notepad not found",-1
sleep:400
positionwindow:"notepad",0,300,400,500,400
sleep:700
placewindow:"notepad",0
sleep:1200

set:"$dbl",1
while:"$dbl","<",9
	placewindow:"notepad","$dbl"
	inc:"$dbl"
	sleep:1200

sendkeys:'demo{SPACE}finished!'

sleep:2000


comment: === plugin test ====
msgbox:'Now, for plugin test\n  it'll try yesnodlg and write 'createdwithplugin.txt' file!'
msgboxyesno:'Press Yes or No'
msgbox:'1=yes/0=no\nYou pressed ','$res'
filewrite:'createdwithplugin.txt','some text\ntextile texting string!',1
msgbox:"Note:\n run again to see dialog asking you to confirm file re-write!\n\nThe last line of this script is on line $line'