MyVar1=0 INS:: if MyVar1 = 0 { MsgBox, Einfügen AN. Send, {Ins} MyVar=1 } if MyVar1 = 1 { MsgBox, Einfügen AUS. Send, {Ins} MyVar=0 } Return