@title Remote shutter @param a Display on=1 off=0 @default a 1 if a=0 then click "display" sleep 400 :loop wait_click 1 is_key k "remote" if k=1 then shoot goto "loop" end