Search found 186 matches

by scriptors
15 Oct 2019, 04:34
Forum: Gaming
Topic: ImageSearch
Replies: 9
Views: 267

Re: ImageSearch

1. you must verify if coordinate were "search" are relative screen desktop or bluestack window (read ImageSearch help) 2. set CoodMode to "screen" if bluestack are not active every time you use macro 3. "click" are also relative to active windows .. so ... change coordmode or put, into your macro, c...
by scriptors
04 Oct 2019, 07:50
Forum: Ask For Help
Topic: Issues with MouseMove, MouseClick, PixelSearch when using TeamViewer
Replies: 3
Views: 333

Re: Issues with MouseMove, MouseClick, PixelSearch when using TeamViewer

for me, with TW all work ok :thumbup: .. only one/two "stupid" thing .. i must NOT have other ahk macro (with same macro) running on the PC used for connection and, more important, before use remote macro i must "click" to activate TW window ... if i NOT activate TW vindows macro work on PC and NOT ...
by scriptors
29 Aug 2019, 04:41
Forum: Ask For Help
Topic: ControlClick makes an inactive window active
Replies: 9
Views: 629

Re: ControlClick makes an inactive window active

in my macros I have always learned to put this before each controlclick:

SetControlDelay -1
ControlClick, ..., ...,,,, NA

like write into help

ps. use window title of popup if you know it
by scriptors
25 Jul 2019, 06:16
Forum: Ask For Help
Topic: how to solve ControlClick problem
Replies: 3
Views: 810

Re: how to solve ControlClick problem

I forgot to update ... I solved by use every time SetControlDelay -1 before every ControlClick

Code: Select all

SetControlDelay -1
ControlClick, , ,,,, NA   ;  first click

SetControlDelay -1
ControlClick, , ,,,, NA   ;  second click

SetControlDelay -1
ControlClick, , ,,,, NA   ;  other click
by scriptors
24 Jul 2019, 05:19
Forum: Ask For Help
Topic: Best way to initiate a script
Replies: 5
Views: 269

Re: Best way to initiate a script

or, i think other use

Code: Select all

#Persistent

SetTimer, Alert1, 500 ;check time every half second.

return

Alert1:
;your code executed every half second
IF ...
	{
		...
	}
Return
by scriptors
24 Jul 2019, 05:14
Forum: Ask For Help
Topic: Best way to initiate a script
Replies: 5
Views: 269

Re: Best way to initiate a script

why "reload" your script to execute it ? reload are ok only if you make some changes and must apply it ... for me you use HotKey to start script ? for example: ;#################################################################################### ;######## find active window position ################...
by scriptors
11 Jul 2019, 03:46
Forum: Ask For Help
Topic: Help to improve ImageSearch OR ImageSearch OR ...
Replies: 5
Views: 382

Re: Help to improve ImageSearch OR ImageSearch OR ...

solved :oops: to test only the correct functioning of the script I used an empty .bmp file, replacing with a file containing a small image I now have the correct answer "NOT FOUND" (i'm not on the final computer, at my home, were the script must work) I didn't think that Searchimage verified the fil...
by scriptors
10 Jul 2019, 05:12
Forum: Ask For Help
Topic: Help to improve ImageSearch OR ImageSearch OR ...
Replies: 5
Views: 382

Re: Help to improve ImageSearch OR ImageSearch OR ...

NOw i have problem with ImageSearch and don't know why :? ... i have ErrorLevel = 2 Process, Priority, , High #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ;#Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new ...
by scriptors
19 Jun 2019, 09:08
Forum: Ask For Help
Topic: image search
Replies: 1
Views: 178

Re: image search

Try with use of CoordMode

Code: Select all

CoordMode, Pixel, Screen
ImageSearch, foundX, foundY, 0, 0, %A_ScreenWidth%, %A_ScreenHeight%, file.png
by scriptors
19 Jun 2019, 04:37
Forum: Ask For Help
Topic: Scripts Consisting Of Thousands Of Lines
Replies: 5
Views: 489

Re: Scripts Consisting Of Thousands Of Lines

Good idea #Include :thumbup: I usually have similar "separator" like other up ;) ; ############################################################################################################### ; ########################################### -> DESCRIPTION OF SCRIPT <- ###############################...
by scriptors
19 Jun 2019, 03:10
Forum: Ask For Help
Topic: How to build a Panic button on a Loop? Topic is solved
Replies: 5
Views: 472

Re: How to build a Panic button on a Loop? Topic is solved

Simply way are to insert one "Reload button" so you can reset script. I use this in all my script (of course change it if you have more script in execution)

Code: Select all

^!+Space::Reload
;)
by scriptors
11 Jun 2019, 07:23
Forum: Gaming
Topic: simulate swipe with controlclick on Ldplayer(emulator)
Replies: 3
Views: 466

Re: simulate swipe with controlclick on Ldplayer(emulator)

ControlClick = click_down + click_up (and you not need to activate windows, just "set" window name) ... i use it for multi thread macro on many windows Other possibilities are to Send[Raw|Input|Play|Event]: Send Keys & Clicks but it work only in Active windows ... but if you work on Active windows s...
by scriptors
11 Jun 2019, 04:20
Forum: Gaming
Topic: simulate swipe with controlclick on Ldplayer(emulator)
Replies: 3
Views: 466

Re: simulate swipe with controlclick on Ldplayer(emulator)

Unfortunately it is not possible to make "ControlClickDrag"
by scriptors
10 Jun 2019, 10:01
Forum: Ask For Help
Topic: Were to put internal Function inside AhkThread ?
Replies: 2
Views: 397

Re: Were to put internal Function inside AhkThread ?

thanks so much ... i have "hard" work to do (for me of course) and need to "Think about the best way" before start :thumbup:
by scriptors
10 Jun 2019, 09:45
Forum: Ask For Help
Topic: Were to put internal Function inside AhkThread ?
Replies: 2
Views: 397

Were to put internal Function inside AhkThread ?

Sorry for stupid question, i'm not at PC now this are ok or need other "grammatical" sequences ? ^!t:: MyFunction_H(1,2,3) MyFunction_H(4,5,6) MyFunction_H(7,8,9) Return MyFunction_H(data_1,data_2,data_3) { return AhkThread(" ( ;... ;do the work Function_test(10,11,12) ;... Function_test(13,14,15) ;...
by scriptors
08 Jun 2019, 10:39
Forum: Ask For Help
Topic: Help to improve ImageSearch OR ImageSearch OR ...
Replies: 5
Views: 382

Re: Help to improve ImageSearch OR ImageSearch OR ...

good idea … i'm study more about :thumbup:

i need good "routine" because use it with AutoHotkey_H and with 10 (or more) session :crazy: .. so i need to make one good things ;)
by scriptors
07 Jun 2019, 06:24
Forum: Ask For Help
Topic: Help to improve ImageSearch OR ImageSearch OR ...
Replies: 5
Views: 382

Help to improve ImageSearch OR ImageSearch OR ...

I want to make ONE script usable for more situation ... i have different type, of similar image, but they are different in color so, "search" for one of it and, if present do nothing, if NOT present make some script to put it were i need ... search again for one of this picture and click on it .. so...
by scriptors
05 Jun 2019, 08:54
Forum: Ask For Help
Topic: strange thing of PixelGetColor
Replies: 3
Views: 281

Re: strange thing of PixelGetColor

Try with this and see difference ;) 1:: CoordMode , Pixel , Screen PixelGetColor, color, 384, 316, RGB MsgBox, %color% CoordMode , Pixel , Window PixelGetColor, color, 384, 316, RGB MsgBox, %color% CoordMode , Pixel , Client PixelGetColor, color, 384, 316, RGB MsgBox, %color% CoordMode , Pixel return
by scriptors
14 May 2019, 10:04
Forum: Ask For Help
Topic: Easy way to find X1, Y1, X2, Y2 for ImageSearch
Replies: 0
Views: 183

Easy way to find X1, Y1, X2, Y2 for ImageSearch

I need to find three type of image, and the same image, on multiple position, for have more speed-search, make more ImageSearch function into "probably" area (find it into all 2 monitor desktop it' really time consuming) So i write little "tool" for have easy coords to use for my function ... but i ...
by scriptors
17 Apr 2019, 06:16
Forum: Ask For Help
Topic: [SOLVED] HOTKEY PRESS COUNTER - saving variable value to ini & zero error Topic is solved
Replies: 14
Views: 918

Re: saving variable value to ini Topic is solved

just little portion of my script, try and modify xx1 - yy1 - color1 are variable xx - yy - color are section (but now i not remember exactly) IniWrite, %xx%, C:\Users\AP42\Desktop\Eroi.ini, %title%, xx1 IniWrite, %yy%, C:\Users\AP42\Desktop\Eroi.ini, %title%, yy1 IniWrite, %color%, C:\Users\AP42\Des...

Go to advanced search