Jump to content

Help me with autoit


Recommended Posts

Hi all ...

I just want to make a simple scipt that clicks on the green play button ... I have tried this with this code : Controlclick ( "Qemu Manager 7.0", "", 1771530 [, left [, 1 [, 70 [, 10 ]]]] )

I have used the ID for ControlID and ControlClick Coords for X and Y but it dosent work ? Whats wrong ?

Posted Image

Link to comment
Share on other sites

Try without the optional brackets

Controlclick ( "Qemu Manager 7.0", "", 1771530 , left , 1 , 70 , 10 )

My Contributions: Unix Timestamp: Calculate Unix time, or seconds since Epoch, accounting for your local timezone and daylight savings time. RegEdit Jumper: A Small & Simple interface based on Yashied's Reg Jumper Function, for searching Hives in your registry. 

Link to comment
Share on other sites

  • Developers

What about you open the Helpfile and check the proper syntax in stead of this trial and error approach? :blink:

.. and what are these coordinates on the function supposed to represent? the position on the screen, window or Control?

Edited by Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

I have QEMU Manager 6 on my system and this appears to work.

#RequireAdmin
ControlClick("Qemu Manager","","TToolBar1","Left",1,63,18)

The #RequireAdmin is needed because QEMU Manager runs as administrator and a non admin script can not execute clicks on admin app.

HKTunes:Softpedia | GoogleCodeLyricToy:Softpedia | GoogleCodeRCTunes:Softpedia | GoogleCodeMichtaToolsProgrammer n. - An ingenious device that turns caffeine into code.
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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...