Search found 59 matches

by feiyue
05 Oct 2017, 07:57
Forum: Gaming
Topic: My take on Snake
Replies: 36
Views: 1223

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

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

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

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
Replies: 81
Views: 14867

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

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
Replies: 81
Views: 14867

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

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: 47
Views: 4155

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...
by feiyue
26 Aug 2017, 02:10
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it
Replies: 81
Views: 14867

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

The following code is for your reference. CoordMode, Mouse Loop { ;-- Find more pictures at a time if ok:=FindText(27,1061,150000,150000,0,0,Pic("pic3a|pic3b|pic3c")) { Loop, % ok.MaxIndex()//5 { i:=(A_Index-1)*5, X:=ok[i+1], Y:=ok[i+2] W:=ok[i+3], H:=ok[i+4], Comment:=ok[i+5], X+=W//2, Y+...
by feiyue
16 Aug 2017, 14:38
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 47
Views: 4155

Re: Mouse And Keyboard Macro Recorder v4.0

In the beginning, I posted it as a simple tool for novices, Because the function is too simple, I do not use it myself. When I'm trying to use it to do a full automatic web page operation, I found out that more features needed to be added. So I made extensive improvements for writing complex automat...
by feiyue
15 Aug 2017, 08:32
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 47
Views: 4155

Re: Mouse And Keyboard Macro Recorder v3.6

I updated the script to v4.0, Added some features:
Wait for the window, wait for the mouse cursor type, wait for the A_CaretX/Y,
wait for the color, wait for the image, wait for change, etc.
by feiyue
07 Aug 2017, 22:09
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 47
Views: 4155

Re: Mouse And Keyboard Macro Recorder v3.5

The unofficial version is only experimental but I hope that the find text tool will be also incorporated in the official version. :thumbup: I know, for advanced users, image search is a very important function, but the number of FindText() code is larger, if integrated in this script is too big, so...
by feiyue
03 Aug 2017, 17:35
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 47
Views: 4155

Re: Mouse And Keyboard Macro Recorder v3.5

I updated the script to v3.5, added a lot of code. :D
Now it can automatically generate ImageSearch code and Coordinate relative image origin code.
Additionally, the Debug button is added to the GUI interface to debug stuck rows.
by feiyue
02 Aug 2017, 23:59
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 47
Views: 4155

Re: Mouse And Keyboard Macro Recorder v3.0

This tool is just for beginners to automatically generate code, for the master, it may not have much effect. :D Another tool I release, FindText() , is a very good tool for writing automated scripts, which implements the search for images and text, and does not generate additional picture files. It'...
by feiyue
29 Jul 2017, 07:18
Forum: Gaming
Topic: Multiple hotkeys switch freely, no Stuck and Failure
Replies: 0
Views: 230

Multiple hotkeys switch freely, no Stuck and Failure

Hello, everybody, I found quick and simultaneous use of multiple hotkeys in the game, It can easily cause stuck and failure. :headwall: So I've come up with a good solution to share with you, hope you like it. :D /* ------------------------------------------- Multiple hotkeys switch freely, no Stuck...
by feiyue
27 Jul 2017, 00:01
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 47
Views: 4155

Re: Macro Record for Mouse and Keyboard v3.0

I updated the script to v3.0, the actual delay is no longer recorded,
and the function of the Ctrl key generation code is enhanced.
However, this also increases the difficulty of novices' use. :D
by feiyue
23 Jul 2017, 15:44
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 47
Views: 4155

Re: Macro Record for Mouse and Keyboard v2.9

@CAH9t, Thank you for your advice. :angel: I updated the script, some adjustments were made for 4, 6, and 8. For advice 3, I think that moving relative to the mouse position is easily affected by user actions, and playback is not accurate enough. In addition, the ControlClick coordinate mode will au...
by feiyue
19 Jul 2017, 13:45
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 47
Views: 4155

Re: Macro Record of Mouse and Keyboard v2.6

@CAH9t Hello, thank you very much for your advice on using SC to record keyboard actions. :thumbup: I haven't tried input from other countries before, Therefore, I do not know the keyboard layout of different countries Entering the same key may produce different characters. Now I updated the script ...
by feiyue
17 Jul 2017, 07:05
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 47
Views: 4155

Re: Macro Record of Mouse and Keyboard v2.5

I updated the script to v2.5, It can be edited in the middle of the recording, but it also increases the difficulty of beginners. :D Because my English is not very good, so some sentences I understand are difficult, my replies are using automatic translation, there must be a lot of inaccurate expres...
by feiyue
17 Jul 2017, 00:53
Forum: Scripts and Functions
Topic: VBS Inspired Input Box
Replies: 8
Views: 621

Re: VBS Inspired Input Box

I think our function should be like a black box, to do so: 1. the internal processing is not affected by the outside world. For example, these two lines are likely to be affected by the outside world. When an external window starts with the same Title, the following statement falls into a dead loop....
by feiyue
16 Jul 2017, 05:26
Forum: Scripts and Functions
Topic: VBS Inspired Input Box
Replies: 8
Views: 621

Re: VBS Inspired Input Box

I recommend that don't change the lastfound window of the current thread. InputBox(Text := "Continue?", Title := "", Default := "", Owner := "") { OutPut:="", Title:=Title ? Title : A_ScriptName Gui, IN:Destroy Gui, IN:+AlWaysOnTop -MinimizeBox +Owne...

Go to advanced search