Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 06/22/2018 in all areas

  1. Thanks for your answer jdelaney. Unfortunately I don't want to use Autologon with registry. I just want to avoid writing my username/password 20 times to 20 computers in a classroom each time I need to connect to my domain. Finally I found what I was looking for. I use paexec to launch Autoit Windows Info on the logon screen (screenshot). And this piece of code to send the username and password : $hdle1 = ControlGetHandle("Ouverture de session Windows", "", "[CLASS:Edit; INSTANCE:1]") $hdle2 = ControlGetHandle("Ouverture de session Windows", "", "[CLASS:Edit; INSTANCE:2]") ToolTip("$hdle1="&$hdle1 & " $hdle2="& $hdle2) ; debug ControlSetText("Ouverture de session Windows", "", $hdle1, "username") ControlSetText("Ouverture de session Windows", "", $hdle2, "password") The ControlSend function is not reliable at all. Sometimes it works sometimes it doesn't. The last thing I would like to do is doing this without the help of Paexec.exe. So implementing it in Autoit in my client App running as system on the client computer. Unfortunately my knowlegde in C++ is too low for translating from the Paexec open source code session 0 interactive part to Autoit.
    1 point
  2. Nice snippet. But do you have any question ?
    1 point
  3. jdelaney

    Mouseclick

    MouseClickDrag ( "button", x1, y1, x2, y2 [, speed = 10] ) AutoItSetOption ( "option" [, param] ) MouseClickDownDelay Alters the length a click is held down before release. Time in milliseconds to pause (default=10). MouseClickDragDelay Alters the length of the brief pause at the start and end of a mouse drag operation. Time in milliseconds to pause (default=250). you can create your own loop for time, and do MouseDown ( "button" ) MouseUp ( "button" )
    1 point
×
×
  • Create New...