Jump to content

Whips87

Members
  • Posts

    4
  • Joined

  • Last visited

Whips87's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hello! im trying to figure how can i make a script that will not '' Loop '' so acutaly when i press 1 i want it send 5 time 1 1 1 1 1 so acutaly when i press 2 i want it send 5 time 2 2 2 2 2 so acutaly when i press 3 i want it send 5 time 3 3 3 3 3 im stuck on .. the beggin so just figured how to do a HotKeySet("{1}", "Key1") atm my script look like that but .. nothing work lol HotKeySet("{1}", "Key1") HotKeySet("{2}", "Key2") HotKeySet("{3}", "Key3") ;--------------------------------------- While 1 Sleep(1500) Key1() Key2() Key3() WEnd Func Key1() Send("1") Sleep(150) Send("1") Sleep(150) Send("1") EndFunc Func Key2() Send(2) Sleep(150) Send(2) Sleep(150) Send(2) EndFunc Func Key3() Send(3) Sleep(150) Send(3) Sleep(150) Send(3) EndFunc Whats going on ?
  2. excuse me kidney what you mean by your .au3 file? on my desktop i have a folder with ImageSearch.au3 ImageSearchDLL.dll and my picture is a small one ( witch is randomly a icon on my desktop ) witch its a Bnp format when i start my script i have no error! but .. nothing work i mean nothing happen i have no idee what i do wrong .. this is my script #RequireAdmin #include <Imagesearch.au3> |||| the imagesearch is write in red? would that be a error? i dont know.. |||| $x=0 $y=0 $directory = C:UsersFrederic GirardDesktopimagesearch test while 1 Sleep(5000) $Search = _ImageSearch("test.bmp", 0, $X, $Y, 0) |||| the "test.bmp" is write in red.. i have no idee if its a error to or its just the autoit color.. help me ;/ if $search = 1 Then mousemove($X, $Y, 10) sleep(500) EndIf WEnd also the image is no more bigger then |---- this size its a part of book of ( winrar )
  3. im still getting the line 40 error anyone founded the issue to fix it? here is my script #include <ImageSearch.au3> $x=0 $y=0 while 1 Sleep(5000) $Search = _ImageSearch('ImageTest.Bmp', 0, $X, $Y, 0) if $search = 1 Then mousemove($X, $Y, 10) sleep(500) EndIf WEnd
  4. ive been trying for a couple day to fix imagesearch.. cant get it work ive put the imagesearch dll on c//windows i have a image, my script and the imagesearch.au3 file on my deskup when i start my script i get no error but nothing happen.. whats going on? my english isnt verry good doing best as i can ! help me let me know your trick #include <ImageSearch.au3> Hotkeyset("S", "Start") $x=0 $y=0 Func Start() $Search = _ImageSearch('Search.Bmp', 0, $X, $Y, 0) if $search = 1 Then mousemove($X, $Y, 10) EndIf EndFunc while 1 Sleep(100) WEnd this is my simple script.. what im doing wrong ?
×
×
  • Create New...