Put this on the first line of your code, this is what I use...

$ = SENDKEYS("~{tab}")

Thanks...