RButton:: if (A_ThisHotkey = A_PriorHotkey && A_TimeSincePriorHotkey < 500) { ;The sleep commands simulate something closer to human input and avoid keys being unprocessed from going too fast Sleep 150 Send {Ctrl Down} Sleep 150 Send {Home} Sleep 150 Send {Ctrl Up} Sleep 150 } Return