Jump to content

Non Optional Params in AutoItx dll calls


bshoenhair
 Share

Recommended Posts

Seems that when calling functions directly from the AutoItx dll, you must enter all of the params, even though they are optional in AutoIt.

I'm hoping someone please help me on the following

AU3_ControlCommand("Replace", "Character formatting", "Button1” "IsChecked", "", Result, nBufSize) = 1

I’m not sure what to add in the last 2 params Result, nBufSize. Can someone please help me ?

AU3_WinWait("Replace", "Character formatting", Timeout)

Would the last param Timeout be infinite if set to 0 ?

AU3_ControlClick("Replace", "Character formatting", "Button9", “Left”, X, Y)

I just need to do a standard click on the button not specific to any location. What would I enter as the last 2 params for X, Y ?

Edited by bshoenhair
Link to comment
Share on other sites

Seems the following will work.

 

AU3_ControlCommand - for ResultnBufSize a stringbuilder needs to be created with a length of 2 for this scenario.

AU3_WinWait - yes, setting the Timeout to 0 is infinite loop.

AU3_ControlClick - set XY as  AU3_INTDEFAULT = -2147483647

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