04-15-2008, 05:21 PM
top is a label in the example to make it go to a specific line right about the line create a label then use a goto statement and use label u created
;top <-----this is a label
ifa "Notepad" ;;If Notepad is active
,out "Notepad is active."
else
,goto next ;;<----this is how u make it skip to the label
;some code..
;more code..
;next <-------this is also label
;this is how code should look in qm
;top
ifa "Notepad" ;;If Notepad is active
,out "Notepad is active."
else
,goto next
;some code..
;more code..
;next
out "Notepad is not active"
;to paste into qm copy here and use paste escaped(it can be found either in the edit menu under other formats or by right clicking the code area in qm)