Jump to content
Sign in to follow this  
mohanad4egy

can ControlClick send a click in a game - (Locked)

Recommended Posts

I dont see this code doesnt cliclk where it's suppose to

 

test()

Func test()
     Local $hWnd = WinActivate("Dungeon Hunter Champions")

  ControlClick("$hWnd", "left", 1841, 96)
EndFunc

Autoi Info

>>>> Window <<<<
Title:    Dungeon Hunter Champions
Class:    ApplicationFrameWindow
Position:    -8, -8
Size:    1936, 1056
Style:    0x95CF0000
ExStyle:    0x00200100
Handle:    0x00000000001508BC

>>>> Control <<<<
Class:    ApplicationFrameInputSinkWindow
Instance:    1
ClassnameNN:    ApplicationFrameInputSinkWindow1
Name:    
Advanced (Class):    [CLASS:ApplicationFrameInputSinkWindow; INSTANCE:1]
ID:    
Text:    
Position:    0, 40
Size:    1920, 1008
ControlClick Coords:    677, 474
Style:    0x50000000
ExStyle:    0x00280000
Handle:    0x00000000001608CC

>>>> Mouse <<<<
Position:    677, 506
Cursor ID:    0
Color:    0xA04C20

>>>> StatusBar <<<<

>>>> ToolsBar <<<<

>>>> Visible Text <<<<
Dungeon Hunter Champions
CoreInput


>>>> Hidden Text <<<<

 

Share this post


Link to post
Share on other sites

Welcome to the AutoIt forum.

Unfortunately you appear to have missed the Forum rules on your way in. Please read them now - particularly the bit about not discussing game automation - and then you will understand why you will get no help and this thread will now be locked.

See you soon with a legitimate question I hope.

The Moderation team


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites

@mohanad4egy I see this is the second thread you have had locked, so I am going to say this a simply as possible - you will not receive help on game related topics on this forum. Post another and you will be shown the door.


"Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball

How to get your question answered on this forum!

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...