Good time please help to set the flag parameter = 1 by default equal to 0 I don’t know how to write this in the code?

here is my code:

var handle = AutoItX.WinGetHandle("NoxPlayer"); AutoItX.WinActivate(handle); var button1 = AutoItX.ControlGetHandle(handle, "[CLASS:subWin; INSTANCE:1]"); AutoItX.ControlClick(handle, button1); AutoItX.MouseClick("LEFT", 851, 517); AutoItX.Send ("My contact here"); 

the parameter that you want to set

    1 answer 1

    If the optional parameter is not specified in the call, its default value is used. To use some of your own, you need to specify it manually.

     AutoItX.Send("My contact here", 1); 

    1 - the value of the optional flag parameter