Jump to content

DonTutti

Members
  • Posts

    8
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

DonTutti's Achievements

Seeker

Seeker (1/7)

0

Reputation

  1. Hello, I have problem with Image search and saved ini config file. When I set manualy all checkboxes etc and start program image search work perfectly. When I save everything to ini file by comand: Global $INI_PATH = @DesktopDir & "\config.ini" Func Save() IniWrite($INI_PATH, "Config", "Name", GUICtrlRead($Input1)) IniWrite($INI_PATH, "Config", "Sex", GUICtrlRead($Radio1)) Endfunc Everything works great. But when I try to save config like that: Func Save() $INI_PATH = FileSaveDialog('Save File',@DesktopDir, '(*.ini)') IniWrite($INI_PATH, "Config", "Name", GUICtrlRead($Input1)) IniWrite($INI_PATH, "Config", "Sex", GUICtrlRead($Radio1)) Endfunc I have error in Imagesearch: "D:\AutoIt3\Include\ImageSearch.au3" (52) : ==> Subscript used on non-accessible variable.: if $result[0]="0" then return 0 if $result^ ERROR >Exit code: 1 Time: 9.527
  2. Hello, is there possible to create a button which will delete selected Item in combobox?
  3. Ehh if You think I'm doing some thing to game then ok I have only one question and You can close thread. When I use something like this: If $point = 3 Then $mark3 = PixelSearch(1199, 135, 1304, 27, $Point3) If IsArray($mark3) = 1 Then $reach3 = PixelSearch(1248, 80, 1254, 86, $Point3) If IsArray($reach3) = 0 Then MouseMove($mark3[0], $mark3[1], 0) MouseClick("primary") Sleep(250) EndIf Else $point = 1 ExitLoop EndIf Can I go back to line where $point = 1? I thought ExitLoop will work but it isnt ;/
  4. I dont want automate any application. I want to use it in browser map
  5. No no no, its not any automatization. When point is reached it is in central coordination $reach1 = PixelSearch(1248, 80, 1254, 86, $Point1)
  6. Can You please explain how to do loop with TimerInit? I readed many examples of it but I cant understound it ;/
  7. Hello, I have problem with script. My script click on point 1, wait 5 sec and click on point 2 etc. I want to search for point 1, when point 1 is visible click on them wait for reach and search for point 2, click on them, wait for reach etc. Is there any option to check if point is reached then go next? #include <Array.au3> HotKeySet("{HOME}", "START") HotKeySet("{END}", "_EXIT") While 1 Sleep(250) WEnd Func Start() $Point1 = 0x44CE57 $Point2 = 0x0F0FFF $Point3 = 0xF50000 While 1 $mark1 = PixelSearch(1199, 135, 1304, 27, $Point1) $reach1 = PixelSearch(1248, 80, 1254, 86, $Point1) If IsArray($mark1) = 1 And IsArray($reach1) = 0 Then MouseMove($mark1[0], $mark1[1], 0) MouseClick("primary") Sleep(5000) EndIf $mark2 = PixelSearch(1199, 135, 1304, 27, $Point2) $reach2 = PixelSearch(1248, 80, 1254, 86, $Point2) If IsArray($mark2) = 1 And IsArray($reach2) = 0 Then MouseMove($mark2[0], $mark2[1], 0) MouseClick("primary") Sleep(5000) EndIf $mark3 = PixelSearch(1199, 135, 1304, 27, $Point3) $reach3 = PixelSearch(1248, 80, 1254, 86, $Point3) If IsArray($mark3) = 1 And IsArray($reach3) = 0 Then MouseMove($mark3[0], $mark3[1], 0) MouseClick("primary") Sleep(5000) EndIf WEnd EndFunc Func _EXIT() Exit EndFunc
  8. Hello, im 25 years old and Im form Poland. I just started work with autoit. Im creating program which will help me in game. It might press some keys, use mouse etc. If its possible I would need help. Its my script: <snip>
×
×
  • Create New...