Jump to content

Why does the controlclick not working? - (Moved)


Recommended Posts

Hello, i try to make a skript which should click on the right side of the window by controlclick.

Wenn the window below appears than the Value "VORDERWAGEN AUSSEN" ist maked!

i want klick to the right side in the windows  vor Example: to the Value "LED-SCHEINWERFER"

i want send a control click to the right side to the Window below. the window controls are in the Autoit Window on the left side. i try to make a code to klick in one of the Values on the right side of the window.

the title of the window is "SDII:FI - Grafische Erfassung (KFIEMD02) [101321422]     Ausgabe 12.20"

my skript is longer than the code below. But my problem is in this part of the script.

 

#RequireAdmin
#include <WinAPI.au3>
AutoItSetOption('MouseCoordMode', 0)
AutoItSetOption("WinTitleMatchMode", 1)

Sleep(3000)

ControlClick("SDII:FI - Grafische Erfassung (KFIEMD02) [101321422]     Ausgabe 12.20","","[CLASS:SVWORK; INSTANCE:6]","left",1,905, 13)
Sleep(1000)

Whe i run the script, the script focus the window and dont click to the position.

The ID:90 is for the hole window on the right side.  When i use the Finder tool to ckeck the values in this window, than only the controlclick coords changes.

i ty many thiks to find out how to click in the rihgt side of the window.

 

I have the feeling that i need a focus click or somthink like this.

Regards

 

794098098_autoitrequest.thumb.png.380b0d5b6f651f9cde0b55a8e553de20.png

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