Jump to content
Sign in to follow this  

MouseGetPos - missing method?

Recommended Posts

Hi I'm trying to use the MouseGetPos function and running into some problems. Can someone point me to the right direction

I'm using AutoIT inside a ruby script. I was able to use to use MouseClick function without any problem, however when trying to use the MouseGetPos funtion, I'm getting "methond_missing": unknown property or method 'MouseGetPos" (WIN32OLERuntimeError)

Here is my code:

require 'win32ole'

a3 = WIN32OLE.new(AutoItX3.Control")



when I comment out the a3.MouseGetPos, the script runs and the MouseClick executes. Can someone point out what I'm doing wrong with the MouseGetPos. Thanks in advance.

Share this post

Link to post
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
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...