I am trying to use Sendkeys to automate my application but in a way whereby it is visible to the user what is happening. I can do this using Sendkeys but it all happens to fast and all my attempts to implement delays have been unsuccessful.
As an example, I'd like to send the Alt key (SendKeys "%")alone to activate the MDIForm's drop down menu bar then move along two menus (SendKeys "{RIGHT}" x 2) then down three options on the menu (SendKeys "{DOWN}" x 3) then select that option (SendKeys "{ENTER}"). All at a speed that the user can see each movement (e.g. half a second between each movement.
I have tried using the sendkeys wait parameter, Doevents plus enforced delays (using Sleep API call) all to no avail.
Any suggesions?
Thanks in advance.
As an example, I'd like to send the Alt key (SendKeys "%")alone to activate the MDIForm's drop down menu bar then move along two menus (SendKeys "{RIGHT}" x 2) then down three options on the menu (SendKeys "{DOWN}" x 3) then select that option (SendKeys "{ENTER}"). All at a speed that the user can see each movement (e.g. half a second between each movement.
I have tried using the sendkeys wait parameter, Doevents plus enforced delays (using Sleep API call) all to no avail.
Any suggesions?
Thanks in advance.