ankit.tayal560 has asked for the wisdom of the Perl Monks concerning the following question:

I want to emaluate mouse operations through perl script. ex. if I want to right click on a specific area of my laptop screen without touching my mouse using only perl script .how can I do it ? P.S. I am not providing any code because I don't have a certain idea about how to do this. Thanks!

  • Comment on How to emulate Mouse operations through Perl

Replies are listed 'Best First'.
Re: How to emulate Mouse operations through Perl
by afoken (Chancellor) on Sep 15, 2016 at 12:17 UTC
    I want to emaluate mouse operations through perl script

    Which GUI are you using?

    Alexander

    --
    Today I will gladly share my knowledge and experience, for there are no sweeter words than "I told you so". ;-)

      I am using Win32::GuiTest module for that purpose

        Then look at the documentation. The second function listed is SendMouse( ... ).


        With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
        Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
        "Science is about questioning the status quo. Questioning authority". I knew I was on the right track :)
        In the absence of evidence, opinion is indistinguishable from prejudice.