I used this code in Auto hot key for that but i need same objective for Autoit to run. Kindly help me out.  F8::Suspend, Toggle SetKeyDelay, 0, 30 ;it does not need to be in the loop  $q::  While GetKeyState("q","P")  {  Send, q  Sleep, 10 }