Jump to content

Recommended Posts

Does anyone here have experience using AutoIt on virtual Windows machines like in VirtualBox or Cloudify? I'm trying to write some AutoIt scripts but even the basic WinZip tutorial .au3 does not work on either a Windows 10 VM in VirtualBox (running over MacOS X) or on a Windows Server 2012 VM running on Cloudify/OpenStack. The Run("winzip90.exe") command works and launches the installer, but nothing I've tried to click the "Setup" button does anything. I've tried using "Send()" as documented in the tutorial, "ControlClick()", and even "MouseClick()" with coordinates but none of them seem to be clicking the button and making the install proceed.

I've found some posts here that refer to using AutoIt on AWS and VMware, so I suspect there might just be something I'd need to configure somewhere, though I can't figure out what it would be.

Link to comment
Share on other sites

  • Moderators

I've run plenty of scripts on VirtualBox and VMware, though never on Cloudify. You are talking about running the script inside the VM, not from the host trying to control the VM, right?

"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Link to comment
Share on other sites

@edwick I have been successfully using VirtualBox to demo my scripts, they work just as well in VMs ;). If your setup was normal, everything should go fine!

EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time)

DcodingTheWeb Forum - Follow for updates and Join for discussion

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...