Win10 VM screen control

Technical support and scripting issues

Moderators: Dorian (MJT support), JRL

Post Reply
Jerryth31
Newbie
Posts: 19
Joined: Wed Jun 18, 2008 6:03 pm

Win10 VM screen control

Post by Jerryth31 » Fri Apr 27, 2018 10:07 pm

I have an application that runs on a regular PC with no issues but when I run on my VMs there is no screen control

Code: Select all

    
Let>RP_WAIT=0
MouseMove>100,100
Let>RP_WIN64PROCESS=1
Run>MAKEAUTOTEST_EXE
WaitWindowOpen>Test Form
Wait>2
MouseMove>1800,800
MDL>Test message
(MAKEAUTOTEST_EXE is defined as the full path to an EXE. It starts correctly)

The 1st mouse move works, the application opens, and then a couple seconds later I see the message.
But the 2nd mouse move never happens (regardless of how long a Wait I put in).

Are there known Mouse issues with VMs?

Jerryth31
Newbie
Posts: 19
Joined: Wed Jun 18, 2008 6:03 pm

Re: Win10 VM screen control

Post by Jerryth31 » Fri Apr 27, 2018 10:47 pm

I got this to work by using ExecuteFile to launch a batch file to launch the application.
Seems like more work than it should be.

Does "Run" cause issues?

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

Re: Win10 VM screen control

Post by Marcus Tettmar » Mon Apr 30, 2018 9:13 am

No known issues with VMs (Macro Scheduler doesn't care or know whether it's in a VM or not - it's still just Windows - makes no odds) and no known issues with Run. So I don't know why you have an issue with it. I guess you've only posted a snippet of your script since you refer to a second mouse move but there is only one.
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