Jump to content

MASKED

Members
  • Posts

    10
  • Joined

  • Last visited

Everything posted by MASKED

  1. im using a imagesearch dll. the real question : how can i use imagesearch dll in c#. i tried add "imagesearch.dll" to references but i got error : Could not add reference to 'C:\Users\Burhan\Desktop\AutoIt ve CSharp\_Image_Search.dll'. Make sure the file is accessible and is a valid assembly or COM component. In the tutorial video, the guy just explained how to add autoitx3.dll. I want to add and use imagesearch.dll file
  2. hi everyone. im new at autoit. can someone explain step by step me how i can use autoit dll's with c#. thanks
  3. hi guys i am using imagesearch2015 library. (used another one before) but transparency parameter doesn't working. how i can solve this problem. here's my code #include "ImageSearch2015.au3" #include <Date.au3> ; Script Start - Add your code below here Global $x = 0 Global $y = 0 HotKeySet("{UP}","hey") HotKeySet("{DOWN}","heyo") Func hey() $balikcisaniye = _Date_Time_GetTickCount() $array = _ImageSearchArea("bul.bmp", 1, 0, 0, @DesktopWidth, @DesktopHeight, $x, $y, 2,0x000000) if($array = True) Then $balikcisaniye1 = _Date_Time_GetTickCount() MouseMove($x,$y) MsgBox(1,"","Found." & $x & "-" & $y & " / " & $balikcisaniye1-$balikcisaniye) Else MsgBox(1,"","Not Found.") EndIf EndFunc Func heyo() exit EndFunc while 1 WEnd when i disable transparency parameter, it work normal. but with parameter, this function is always returning false. please help. here's library i use :
  4. a game called "Metin2". https://gameforge.com/tr-TR/play/metin2
  5. The script should scan the screen and if there is not one of the images I want, click on a place I have determined beforehand.
  6. hi dear friends. i need to use search transparent image on screen. i tried some librarys. but those are not working as my want. help me. how i can done this #include "ImageSearch2015.au3" #include <Date.au3> Global $x = 0 Global $y = 0 HotKeySet("{UP}","hey") HotKeySet("{DOWN}","heyo") Func hey() $balikcisaniye = _Date_Time_GetTickCount() $array = _ImageSearchArea("bul.bmp", 1, 0, 0, @DesktopWidth/2, @DesktopHeight/2, $x, $y, 2,0x000000) if($array = True) Then $balikcisaniye1 = _Date_Time_GetTickCount() MouseMove($x,$y) MsgBox(1,"","Found." & $x & "-" & $y & " / " & $balikcisaniye1-$balikcisaniye) Else MsgBox(1,"","Not Found.") EndIf EndFunc Func heyo() exit EndFunc while 1 WEnd the library used on this script : (KutayAltinoklu)
  7. thanks dear friend. "Eval" does my job. thanks a lot ^^
  8. in autohotkey "%" character is using for revert variable to string. also this character can be use with variables.for example in AHK: variable1 := 1 variable2 := 2 Loop{ tmp := variable%A_Index% msgbox , %tmp% if(A_Index = 2){ Break } } Exit this script print "1" and "2" on the screen. then exit is there a thing in autoit what do same work ? help me please and sorry 4 bad english
  9. i want to create txt document on my google drive. is there a way to do it by http request
  10. @GokAy sana ulaşabilir miyim acaba. ben de scriptte bi txt dosyası oluşturmak istiyorum. oluşturup driveda depolamak istiyorum tabi. veya driveda olan bi txt dosyasının içeriğini değiştirmek istiyorum
×
×
  • Create New...