login vsi company logo login vsi company logo 250x40
header-01.jpg

Custom AutoIT script failing mouse click on object

  • abooth
  • abooth's Avatar Topic Author
11 Apr 2012 10:12 #162

We are using loginVSI to test our custom application that is delivered via VMWare. I have created a short AutoIT script to try things out. The first try the script clicks on a desktop icon to launch that application. You can see the cursor move to the icon and it is highlighted but the mouse click fails. I modified the script to launch the app with the "Run" command and the app launches fine but the first mouse click in the app now fails. I played around with different commands in AutoIT for focus but still no luck. Then during the test run I disabled kid-keylock on the fly in each of the two target VM's that were launched and the mouse clicks now work. What is the best way to get around this problem? Is there a way to disable kid-keylock from the AutoIT script or does it need to be removed from the target VM's profile? Or is there something else that needs to be done so that the mouse clicks work?

Please Log in to join the conversation.

More
12 Apr 2012 00:50 #167

You can completely remove the start of kidkeylock from the locallogon.cmd file that can be found in the programfiles\Login Consultants\VSI\Files folder on your target machine. If you remove this line (twice) it should be OK:

Start "" "%programfiles%\100dof_kidkeylock\bin\kidkeylock.exe"

Please Log in to join the conversation.

Start Delivering the Best End User Experience Today

Request a Demo

Login VSI, Inc.

3945 Freedom Circle
Suite 670
Santa Clara, CA 95054

Phone: +1 408 899 7418

Login VSI B.V.

De Entree 85
1101 BH Amsterdam
The Netherlands

Phone: +31 20 705 1200