lclick problems in vmware

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
destroyer55
Newbie
Posts: 3
Joined: Sun Jan 13, 2013 1:20 am

lclick problems in vmware

Post by destroyer55 » Sun Jan 13, 2013 1:57 am

has anybody else found instances where vmware does not accept a lclick command and found a useful workaround?

Script finds image, selects it using ldown/lup (this was the first place it wouldn't recognize a click hence ldown), selects some options which work fine, then tries to place objects at 4 different sets of coordinates, mousemove gets all 4 locations fine but there is no lclick at any. then selects another option which works fine, goes back into the graphic area and misses all its clicks again.

I've tried ldown/lup, double clicking. cycling the ctrl button (which sometimes screws w/ vmware) cycling alt button, rclicking, clicking else where on screen first then moving on, all to no avail.

I think it may have to do with the graphics area, it may be flash not sure.

Any Ideas would be greatly appreciated.

EDIT** If i manually click as macro cycles through position, the item is placed, however no subsequent macro clicks are made.


here is a portion of my script:

If>NumFound>0
MouseMove>XArr_0,YArr_0
wait>1
LDown
wait>.5
LUp
wait>1
//xxxxx button
mousemove>1490,230
wait>1
lclick
//xxxxx button
wait>1
mousemove>1520,445
wait>1
lclick
wait>1
//xxxxx button
mousemove>1520,280
wait>1
lclick
wait>1
//position 4,3,2,1
mousemove>275,415
wait>1
lclick ------------------this is the click that fails yet mousemove continues on
wait>1
.....

User avatar
Marcus Tettmar
Site Admin
Posts: 7395
Joined: Thu Sep 19, 2002 3:00 pm
Location: Dorset, UK
Contact:

Post by Marcus Tettmar » Tue Jan 15, 2013 8:59 am

Not sure what the problem is here, but don't think it's a general vmware thing.

Have you tried re-focusing the vmware window before the click, and also try sending a second lclick after a delay?
Marcus Tettmar
http://mjtnet.com/blog/ | http://twitter.com/marcustettmar

Did you know we are now offering affordable monthly subscriptions for Macro Scheduler Standard?

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