Search found 72 matches

by feiyue
22 Apr 2018, 23:47
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 110
Views: 26119

Re: FindText - Capture screen image into text and then find it Topic is solved

I think you can do it like this : #NoEnv #Persistent CoordMode, Mouse pic1:="|<default>..." pic2:="|<higher1>..." pic3:="|<higher2>..." pic4:="|<higher3>..." AllText:=pic1 . pic2 . pic3 . pic4 SetTimer, Check, 5000 return Check: if (ok:=FindText(448, 605, 100,...
by feiyue
21 Apr 2018, 15:51
Forum: 脚本函数
Topic: AHK源代码加密器 v1.7
Replies: 13
Views: 1429

Re: AHK源代码加密器 v1.7

Updated to the V1.7 version, made some improvements to avoid being easily cracked.
Thank you very much for Helgef ! :bravo:
by feiyue
20 Apr 2018, 10:26
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 110
Views: 26119

Re: FindText - Capture screen image into text and then find it Topic is solved

I think you want to cycle check the text in the chat window to automatically reply. This can be achieved in this way: pic1:="|<send1>..." pic2:="|<send2>..." pic3:="|<send3>..." send1:="Hello Everyone!" send2:="Go Go Go!" send3:="You're Too Bad!...
by feiyue
08 Mar 2018, 22:40
Forum: 脚本函数
Topic: AHK源代码加密器 v1.7
Replies: 13
Views: 1429

Re: AHK源代码加密器 v1.6

Because the decoded code is not saved to the disk, it is sent directly to the AutoHotkey.exe to execute. No source files lead to: 1. Only one is allowed to run at the same time (#SingleInstance force), is invalid. Solution: Use a hidden GUI as the unique tag to prevent conflicts. 2, Reload is invali...
by feiyue
07 Mar 2018, 13:27
Forum: 脚本函数
Topic: AHK源代码加密器 v1.7
Replies: 13
Views: 1429

Re: AHK源代码加密器 v1.5

AHK master program is AutoHotkey.exe.
If AutoHotkey.exe is renamed abc.exe, Please modify Ahk=%A_ScriptDir%\abc.exe
by feiyue
07 Mar 2018, 12:33
Forum: 脚本函数
Topic: AHK源代码加密器 v1.7
Replies: 13
Views: 1429

Re: AHK源代码加密器 v1.5

@SpeedMaster,
Because it is calling the AHK master program to run dynamically,
There must be a AHK master program in the same directory.
by feiyue
07 Mar 2018, 11:18
Forum: 脚本函数
Topic: AHK源代码加密器 v1.7
Replies: 13
Views: 1429

Re: AHK源代码加密器 v1.5

@guest3456, I've changed the script to English, but I don't want to repeat it to the "Scripts And Functions" forum.
If I provide the C source code for the machine code, the Encryptor is cracked. :beer:
by feiyue
16 Feb 2018, 16:36
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 110
Views: 26119

Re: FindText - Capture screen image into text and then find it Topic is solved

Updated to the v5.7 version, I changed the way to capture, Before, click the left button of the mouse, and then move the mouse out of 100 pixels. Now, press down the right button of the mouse, and then move a certain distance and release the right button. In addition, I updated the "Capture Ima...
by feiyue
06 Jan 2018, 17:33
Forum: 脚本函数
Topic: AHK源代码加密器 v1.7
Replies: 13
Views: 1429

AHK源代码加密器 v1.7

在利用AHK解决实际问题时,有时想保护自己的劳动成果,不想直接给其他人看到。 但是当前的Ahk2Exe不能加密,源代码是明文附加在程序末尾的,起不到保护源代码的作用, 所以我制作了一个简单的AHK源代码加密器,可以防止小白,对高手没有什么作用。 /* ;------------------------------- AHK source code Encryptor v1.7 By FeiYue 1. This tool can encrypt the AHK script into a self decode script. 2. Then you can use ahk2exe to c...
by feiyue
06 Dec 2017, 04:51
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 110
Views: 26119

Re: FindText - Capture screen image into text and then find it Topic is solved

Would it somehow be possible to make it work on dynamic text (Taking the text to find from a file) My idea is somehow to generate the image to find. First I capture all the letters in the alphabet, based on the text and captured letters I then generate the image. Pseudo code: LetterA.="|<A>*14...
by feiyue
23 Nov 2017, 10:30
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 110
Views: 26119

Re: FindText - Capture screen image into text and then find it Topic is solved

Updated to the v5.5 version, in order to identify a variety of color verification code, I improved the color model, now it can adapt to various colors. :D
by feiyue
03 Nov 2017, 04:35
Forum: Scripts and Functions
Topic: ImageSearch useful functions
Replies: 5
Views: 435

Re: ImageSearch useful functions

@vamzicool This is a good idea absolute: use Try...Catch to manually jump out of an infinite loop. :thumbup: :thumbup: :thumbup: I've made some improvements to your code. :dance: ; The timeout parameter uses seconds instead of milliseconds imageWait(imagePath, timeout=10, click=0, offsetX=10, offset...
by feiyue
22 Oct 2017, 06:42
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 110
Views: 26119

Re: FindText - Capture screen image into text and then find it Topic is solved

I've made some minor improvements, and the generated code is easier to copy and use.
by feiyue
05 Oct 2017, 07:57
Forum: Gaming
Topic: My take on Snake
Replies: 36
Views: 2438

Re: My take on Snake

@maestrith Your realization is wonderful! The code is so streamlined. :thumbup: :thumbup:
It contains many advanced applications of AHK, and I can learn a lot. Thank you for sharing!
by feiyue
05 Oct 2017, 06:59
Forum: Bug Reports
Topic: A little Bug about NumPut
Replies: 11
Views: 559

Re: A little Bug about NumPut

By default, all numbers are cached as Int64 or Double. Only pure integers without leading zeroes are not additionally stored as passed in the variable's string buffer. @just me Thank you for your explanation. I finally got it. My guess is wrong, "MyVar=12345678" is not written directly in...
by feiyue
04 Oct 2017, 14:04
Forum: Bug Reports
Topic: A little Bug about NumPut
Replies: 11
Views: 559

Re: A little Bug about NumPut

I guess "MyVar=12345678" has placed the string in the variable address, It seems that for NumGet, the use of MyVar is equivalent to "&MyVar", But for NumPut, the use of MyVar does not necessarily mean "&MyVar" ( When MyVar is a pure digital ). I thought I could ...
by feiyue
03 Oct 2017, 22:54
Forum: Bug Reports
Topic: A little Bug about NumPut
Replies: 11
Views: 559

A little Bug about NumPut

I ran into a confusing place when I was using "NumPut", the help file said: If VarOrAddress is a variable such as MyVar, the address of the variable's string buffer is used. But the following code doesn't work as much as I want. a=12345678 MsgBox, % Varsetcapacity(a) ;-->0 , I want >=4 Num...
by feiyue
03 Oct 2017, 04:47
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 110
Views: 26119

Re: FindText - Capture screen image into text and then find it Topic is solved

I was wondering if it was possible to have the function find and return data for multiple instances of the same image. For example, if the user's screen contains two identical pictures that are being searched for, could the function return info on both of them? Updated to the v5.4 version, Realized...
by feiyue
29 Sep 2017, 11:41
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 110
Views: 26119

Re: FindText - Capture screen image into text and then find it Topic is solved

Upgrade to version 5.3, changing the returned value of the object. Previously, when looking for multiple images, it would be difficult to extract each matching information if multiple images were found. Now, a two level array is used to improve the situation. :beer: But the original: X:=ok.1, Y:=ok....
by feiyue
27 Aug 2017, 22:50
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 49
Views: 11021

Re: Mouse And Keyboard Macro Recorder v4.5

but I have a hard time understanding how to use Wait image function. Does it works like findtext() ? findtext() function has a capture interface and i don't see any capture interface.... :think: @SpeedMaster, Please refer to the following usage: 1. In the process of recording, if you want to insert...

Go to advanced search