Jump to content

Recommended Posts

Posted

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

Posted

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. 

Posted (edited)

Try without the optional brackets

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

No that dossent work either, i get the same error ...

I get this error:

Posted Image

Edited by mijaysen
Posted (edited)

"Left"

with the quotes

Still same error ... Hmmm... This is getting really annoying ...

Heres the error when i run with " on left:

Posted Image

Edited by mijaysen
  • Developers
Posted (edited)

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.
  :)

Posted

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.
Posted

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.

U are a GOD ... That worked perfectly ... Thanks mann ...

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
×
×
  • Create New...