Virtual Key Problems

General Macro Scheduler discussion

Moderators: Dorian (MJT support), JRL

Post Reply
-=DJ=-
Newbie
Posts: 18
Joined: Sun Mar 27, 2005 10:32 pm

Virtual Key Problems

Post by -=DJ=- » Thu Apr 21, 2005 1:16 pm

I'm using the latest version of M.S. and can't get the virtual key codes to actually wait, it works if I have it wait for a key on the keyboard to be pressed like this wkd>h or any other letter and number but not virtual key codes.
Here is what I want to have happen,
I want M.S. to wait for the left mouse button to be pressed.
Am I doing something wrong or is there a problem with the latest M.S. version?
Thanks

User avatar
JRL
Automation Wizard
Posts: 3526
Joined: Mon Jan 10, 2005 6:22 pm
Location: Iowa

Post by JRL » Thu Apr 21, 2005 2:59 pm

I could be wrong, its happened before, but I recall a discussion in this forum in which it was pointed out that the mouse virtual key codes do not work. I searched for this discussion and all I found was this:
http://www.mjtnet.com/usergroup/viewtop ... +mouse+key

I do know that I've never been able to get "WaitKeyDown" to work with the mouse related virtual codes. This sample script will not process on my WinXP Pro computer with Macro Scheduler 7.3.11.3. I will never see the "after left click" message.

MDL>before left click
WKD>VK1
MDL>after left click

Keyboard related virtual codes have always worked fine. I often use the function key virtual codes.

Hope this helps,
Dick

-=DJ=-
Newbie
Posts: 18
Joined: Sun Mar 27, 2005 10:32 pm

Post by -=DJ=- » Thu Apr 21, 2005 3:32 pm

Thanks Dick, I run XP pro as well and all keyboard related codes work but not mouse related codes.
Maybe I can track down a VB code that will do what I want.

Thanks for your fast reply,
-=DJ=-

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts