Search found 168 matches

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: 39

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: 333

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...
by scriptors
11 Apr 2019, 08:48
Forum: Ask For Help
Topic: Pixelsearch based script double sends key
Replies: 2
Views: 53

Re: Pixelsearch based script double sends key

Try CoordMode, Pixel, Screen f1:: active := 1 while (active) { pixelSearchIcon() } return End:: active := 0 return pixelSearchIcon() { PixelSearch, , , 290, 117, 492, 158, 0x00ff00, 10, Fast if (!ErrorLevel) { active := 0 ; stop While ######################################## send z setkeydelay, % ra...
by scriptors
09 Apr 2019, 03:56
Forum: Gaming
Topic: ControlSend and Nox App Player
Replies: 1
Views: 248

Re: ControlSend and Nox App Player

Try use "AutoHotkey_H", so you have, one or more, thread for nox and continue to use PC for other ... of course it's different usage and you change somethings of your script

ps, for ControlClick remember to use:

Code: Select all

SetControlDelay -1
ControlClick, ..., ...,,,, NA
by scriptors
01 Apr 2019, 05:26
Forum: Ask For Help
Topic: ImageSearch for Image1 OR Image2
Replies: 9
Views: 266

Re: ImageSearch for Image1 OR Image2

i'm not best "programmer" :oops: but try ... olso tray by remove ; and last Goto, GoFurther : While found != 1 { ImageSearch ... image 1 if ErrorLevel = 1 ; NOT found { ImageSearch ... second image if ErrorLevel = 1 ; NOT found { MsgBox nothing found } if ErrorLevel = 0 ; FOUND image 2 { found := 1 ...
by scriptors
01 Apr 2019, 03:36
Forum: Ask For Help
Topic: ImageSearch for Image1 OR Image2
Replies: 9
Views: 266

Re: ImageSearch for Image1 OR Image2

I have similar "problem" and solve with this (you can modify) ... i like easy script ImageSearch ... image 1 if ErrorLevel = 1 ; NOT found { ImageSearch ... second image if ErrorLevel = 1 ; NOT found { MsgBox nothing found } if ErrorLevel = 0 ; FOUND image 2 { Goto, GoFurther } if ErrorLevel = 0 ; F...
by scriptors
28 Mar 2019, 06:35
Forum: Ask For Help
Topic: Remove duplicates from HUGE listing Topic is solved
Replies: 10
Views: 493

Re: Remove duplicates from HUGE listing Topic is solved

Thanks again, i see HELP into "Variables and Expressions" ... must memorize this "shorthand" :thumbup:
by scriptors
28 Mar 2019, 05:42
Forum: Ask For Help
Topic: Remove duplicates from HUGE listing Topic is solved
Replies: 10
Views: 493

Re: Remove duplicates from HUGE listing Topic is solved

Thanks, it work ;)

... but i must study more about, not know/understand

Code: Select all

   List .= (List ? "`r`n" : "") . SubStr(Color, 2) ; remove the leading X
by scriptors
28 Mar 2019, 03:49
Forum: Ask For Help
Topic: Remove duplicates from HUGE listing Topic is solved
Replies: 10
Views: 493

Re: Remove duplicates from HUGE listing Topic is solved

I not understand how to remove duplicate :oops: this my code: +!^F9:: ; Find all color variations ;InputBox, XXX, XXX ;InputBox, YYY, YYY XXX := 200 ; fixed for test YYY := 123 ; fixed for test Sleep 100 a := 0 ColorArray := [] While a < 600 ; 1 minute test { PixelGetColor, Res, %XXX%, %YYY%, RGB ; ...
by scriptors
22 Mar 2019, 06:58
Forum: Ask For Help
Topic: Need Help for catch all colour list on unknow color variation
Replies: 2
Views: 141

Re: Need Help for catch all colour list on unknow color variation

easy (dark) way, write to a file and after use Excel to delete duplicate :shifty: +!^BS:: ; Trova colore alle coordinate indicate InputBox, XXX, XXX InputBox, YYY, YYY Sleep 100 a := 0 While a < 600 { PixelGetColor, Res, %XXX%, %YYY%, RGB FileAppend, %Res%`n, C:\Users\Color_Loop.txt sleep 100 a := a...
by scriptors
22 Mar 2019, 06:25
Forum: Ask For Help
Topic: Need Help for catch all colour list on unknow color variation
Replies: 2
Views: 141

Need Help for catch all colour list on unknow color variation

Try to explain about ... usually i have one PixelGetColor to break one loop: Missioni_GG: ToolTip , Loop Gerente/Gilda, 5, 5 Loop { PixelGetColor, Res, 435, 160, RGB ; Gets the colour at the coordinates (x, y) in the active window if(Res = 0x3F4D5D or Res = 0x394B58 or Res = 0x3F4D5C or Res = 0x4555...
by scriptors
12 Mar 2019, 04:50
Forum: Gaming
Topic: "read" the chat box in order to interact with certain phrases?
Replies: 0
Views: 149

"read" the chat box in order to interact with certain phrases?

I have a game (Lords Mobile) that also has a chat box, do you think it is possible in some way to "read" the chat box in order to interact with certain phrases? I use the game under a NOX emulator, so I don't know if it is possible to read certain memory locations. Another idea could be "search" pre...
by scriptors
08 Mar 2019, 05:57
Forum: Ask For Help
Topic: I want to use < as key input! Topic is solved
Replies: 10
Views: 460

Re: I want to use < as key input! Topic is solved

I'm not sure but: <^<:: it's the error try only with: ^<:: if you need some other key ( SHIFT for example) to have the < caracter it NOT must to be included into hotkey for example, in my keyboard ^>:: msgbox work_OK return i need to press CRTL + SHIFT + < because, for have > i must type SHIFT + <
by scriptors
06 Mar 2019, 09:26
Forum: Ask For Help
Topic: I want to use < as key input! Topic is solved
Replies: 10
Views: 460

Re: I want to use < as key input! Topic is solved

Italian keyboard don't need the SHIFT key ;)

Code: Select all

^<::
Send >>>
Return
work for me
by scriptors
22 Feb 2019, 11:34
Forum: Ask For Help
Topic: It's possible one ControlClickDrag
Replies: 0
Views: 124

It's possible one ControlClickDrag

I use Autohotkey_H and need to make somethings like "Control"ClickDrag to put into one thread function: MouseClickDrag, left, 320+wX, 396+wY, 334+wX, 396+wY, 50 try: SendEvent {Click 320+wX, 396+wY, down}{click 334+wX, 396+wY, up} but not work try ControlClick, x320 y396, " wName ",,,, D, NA Sleep 5...
by scriptors
28 Jan 2019, 11:04
Forum: Ask For Help
Topic: Loop for a Function ?
Replies: 0
Views: 144

Loop for a Function ?

probably i missing some "return" or other mistake :think: I have this and it work (for one time like necessary): ^!t:: MissioniGildaGerente(500,180,0x3F4E5E,"1") MissioniGildaGerente(500,180,0x3F4E5E,"2") MissioniGildaGerente(500,180,0x3F4E5E,"3") MissioniGildaGerente(500,180,0x3F4E5E,"4") MissioniG...
by scriptors
19 Dec 2018, 10:21
Forum: Gaming
Topic: Auto farming lords mobile
Replies: 21
Views: 8315

Re: Auto farming lords mobile

simply use small picture with no shades ... and no snow like now :lol:

Goal are to have one image (.bmp for me are best) with "0 shades" so you are 100% correct finding ... use MS_Paint and extrude portion of image with NO variation BUT more variation inside to easy identify ;)
by scriptors
15 Nov 2018, 05:51
Forum: Ask For Help
Topic: Add different SplashImage to web page only if Active and have specific address
Replies: 4
Views: 338

Re: Add different SplashImage to web page only if Active and have specific address

Other example but it work only for first IE Tab https://autohotkey.com/board/topic/103398-ie-com-get-active-window-url/ #w:: if(wb := GetActiveExplorer()) MsgBox, % wb.LocationURL ; http://msdn.microsoft.com/en-us/library/aa752084 return ; http://msdn.microsoft.com/en-us/library/bb774094 GetActiveEx...
by scriptors
13 Nov 2018, 06:37
Forum: Ask For Help
Topic: Add different SplashImage to web page only if Active and have specific address
Replies: 4
Views: 338

Re: Add different SplashImage to web page by his address

Now working ... problem are when i have two IE tab with same "IE Name" ... but work in progress Process, Priority, , High #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. #P...
by scriptors
08 Nov 2018, 04:19
Forum: Ask For Help
Topic: Add different SplashImage to web page only if Active and have specific address
Replies: 4
Views: 338

Re: Change logo of web page by his address

working but it's not good ... blinking effect :cry: Process, Priority, , High #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. SendMode Input ; Recommended for new scripts due to its superior speed and reliability. #Persistent SetTimer, Logo_Alert, 500 return L...

Go to advanced search