Jump to content

razer_anthom

Members
  • Posts

    4
  • Joined

  • Last visited

razer_anthom's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. It is a C question, dont declare e POINTER to POINT (LPPOINT), but a POINT then pass the reference as parameter... Try: #include <windows.h> #include <AutoIt3.h> #include <stdio.h> int main() { POINT point; // <===== HERE AU3_PixelSearch(10,10,1000,1000, 0xFF0000, 0, 1, &point); // <===== AND HERE printf("%d", point->x); return 0; }
  2. But I want just one click at that position... and with my code, I taking more .
  3. Hello All... I am making a script to send clicks to a window. Well, I am using MouseClick like this: Func cliclar($m, $x, $y) MouseClick($m, $x, $y, 1, 1) EndFunc $m is the button ("right") $x and $y are calculated. Well, this code are sending more than one CLICK to that position. I tried This code too: Func cliclar($m, $x, $y) MouseMove($x, $y, 0) Sleep(200) MouseDown($m) MouseUp($m) EndFunc and the same effect There are a peace of code like this: clicar("right", 50, 700) Sleep(5000) And in this Sleep, it continues to click Do you have some suggestion? Thanks for your attention. Razer PS.: I put this code on top of script: AutoItSetOption("MouseClickDelay", 3) AutoItSetOption("MouseClickDownDelay", 2)
  4. Hi man... I saw in others forums that u need to run the script, then the Mu, then minimize MU to start script.... But, i dont know any minimizer trustable... If anyone knows how to make autoit works without minimize MU, plz, post ;-))) Tnx in advance.... razer
×
×
  • Create New...