Search found 140 matches

by feiyue
04 Feb 2019, 06:45
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 238
Views: 57754

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

Updated to 6.4 version - 2019/02/04 .... 1. Change the label name and function name to make it easier .... for “#Include” to be integrated into other scripts as libraries. .... 2. You can even open the tool directly by calling “Goto, ft_Start”. Note: If you want to compile and use it, you should put...
by feiyue
03 Feb 2019, 09:25
Forum: Gaming
Topic: Minecraft: Simple 2x4 Miner [Block Recognition]
Replies: 1
Views: 428

Re: Minecraft: Simple 2x4 Miner [Block Recognition]

Because the latest FindText() function makes some changes to the returned object, Joe Glines'code should be modified: ;***********Left click******************* FindText_Left_Click(Obj,X_Adj=0,Y_Adj=0,Move_Back=0){ CoordMode, Mouse MouseGetPos,Orig_X,Orig_Y x:=(obj.1.1+obj.1.3//2)+X_Adj y:=(obj.1.2+o...
by feiyue
29 Jan 2019, 18:37
Forum: Bug Reports
Topic: OnMessage() Cause temporary variables to empty
Replies: 3
Views: 240

OnMessage() Cause temporary variables to empty

When I used OnMessage ()+SetTimer, I found that the variables of the subroutine inside the function were confusing. Look at the following example. Why is the value of variable “i” empty? Gui, Show, w500 h300 OnMessage(0x200, "WM_MOUSEMOVE") return WM_MOUSEMOVE() { SetTimer, Test, -100 return Test: i...
by feiyue
24 Jan 2019, 09:24
Forum: 脚本函数
Topic: 浏览器添加左右键翻页
Replies: 0
Views: 180

浏览器添加左右键翻页

下面是我常用的浏览器添加左右键翻页的方法。 SetTitleMatchMode, 2 ;//匹配部分标题 GroupAdd, MyBrowser, ahk_class IEFrame GroupAdd, MyBrowser, 360安全浏览器 GroupAdd, MyBrowser, 360极速浏览器 GroupAdd, MyBrowser, 搜狗高速浏览器 GroupAdd, MyBrowser, 世界之窗浏览器 GroupAdd, MyBrowser, 2345加速浏览器 GroupAdd, MyBrowser, GreenBrowser GroupAdd, MyBrowser, Fire...
by feiyue
11 Jan 2019, 08:13
Forum: 脚本函数
Topic: 多进程代替多线程函数 Exec()
Replies: 0
Views: 137

多进程代替多线程函数 Exec()

多线程还是很有用的,尤其是在游戏中。这里是一个多进程代替多线程的实现: ;=========================================== ; 【多进程代替多线程函数】 Exec() By FeiYue ; ; 使用说明: ; 1、启动进程:Exec(代码,进程标记) ; 2、停止进程:Exec("",进程标记) ; 3、进程标记相同,后启动的进程会替换先启动的进程 ; 4、主脚本退出时,主脚本启动的所有进程都会被清理 ; ;=========================================== Exec(s, flag="Default") ; By F...
by feiyue
04 Jan 2019, 21:48
Forum: AutoHotkey v2 Development
Topic: DllCall description Topic is solved
Replies: 24
Views: 1155

Re: DllCall description Topic is solved

In my opinion, Data types are only useful in building data structures. It doesn't make much sense for the parameter type of DllCall. Because each parameter is aligned to A_PtrSize bytes when it is pushed into the stack. Just consider the 64-bit input and output values in 32-bit system, And consider ...
by feiyue
04 Jan 2019, 21:33
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 238
Views: 57754

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

@Lin,已修复了那个小问题。中文论坛总是沦陷,而且没有人气,所以中文版也没有兴趣更新了,目前没有改进的思路。 @evo88215, You need to fix it: Text:="|<606>*159$64.D900l001lktW403Y00A8Y42z8+Hn0UWkk94UZNA7m/t0YI2J40Ncca+Ek8qH0aWmD9n0XDA3lls0080000000001U0000000U" Text.="|<607>*159$64.D900l001lntW403Y00A8UY2z8+Hn0UW6k94UZNA7m8F0YI2J40NcW6+Ek8qH0aW8D9n0XDA3...
by feiyue
18 Dec 2018, 17:40
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 238
Views: 57754

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

MouseMove, MouseClick command execution should be no problem,
but we can not see the mouse trajectory when remote control,
so I added MouseTip() function for script debugging to prompt the mouse position.
What is the PixelSearch problem ?
by feiyue
18 Dec 2018, 13:50
Forum: 请求帮助
Topic: 如何自动导出excel档案
Replies: 1
Views: 219

Re: 如何自动导出excel档案

如果是导出网页系统的数据,新手可以半自动化(手动移动鼠标到目标位置再按热键), 下面是个模拟的例子,请举一反三,能用控件点击、发送、设置文本的就用控件方式: ~Ctrl:: ;-- 确保双击【Ctrl】热键执行 KeyWait, Ctrl if (!Time1) or (A_TickCount>Time1) { Time1:=A_TickCount+500 return } else Time1:="" ;-- 先把鼠标移动到【保存】的按钮上再开始自动执行 Click SetTitleMatchMode, 2 ;-- 出现第一个弹出窗口 WinWait, 来自网页的消息, 保存, 3 if E...
by feiyue
18 Dec 2018, 12:52
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 238
Views: 57754

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

I've actually figured out my problem. For some reason GetKeyState() doesn't work through teamviewer.... anyone have a work around? @itz4sking, I also encountered this problem when I was remotely controlling the computer. Now I have upgraded the script to solve this problem. :dance: Updated to 6.3 v...
by feiyue
14 Dec 2018, 10:48
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 238
Views: 57754

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

Hello, EvetsNalon, here is my reply: :D 1. MCode is a function written in C language code, then compiled by Gcc installed in mingw64-gcc, and then extracted the machine code. Friends discuss this issue mainly not to modify C language code themselves, but to manually try to compile MCode, so as to co...
by feiyue
07 Dec 2018, 20:44
Forum: 脚本函数
Topic: AHK源代码加密器 v2.7
Replies: 40
Views: 8770

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

Updated to 2.7 version - 2018/12/08
1. Add togetcode() function, It is used to contain the user's script itself.
2. The C source code of the machine code has been published.
by feiyue
07 Dec 2018, 12:51
Forum: Scripts and Functions
Topic: MCode4GCC -- C/C++ to MCode Generator
Replies: 70
Views: 11991

Re: MCode4GCC -- C/C++ to MCode Generator

quantum wrote:Did anybody try compiling something that has external calls? Such as this.

Code: Select all

#include <windows.h>
void main()
{
MessageBox(0, "Hello", "Welcome Message", 1);
}
You can refer to this:
https://autohotkey.com/boards/viewtopic ... 413#p89413
by feiyue
03 Dec 2018, 21:52
Forum: 脚本函数
Topic: AHK源代码加密器 v2.7
Replies: 40
Views: 8770

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

由于只是为了阻止菜鸟获取源代码,所以目前我没有继续改进的思路。 这种加密方法对于高手还是很容易破解的,建议还是使用AHK_H的加密方式。 Because it's just to prevent newbies from getting the source code, I don't have any ideas for further improvement at present. This encryption method is easy to crack for the master. It is suggested to use the encryption method of A...
by feiyue
26 Nov 2018, 03:25
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 238
Views: 57754

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

@ahkcrazy, You can do it like this: Loop { Text:="|<Auto>-*59$62.000000000003k000000001y0000A0000TU000700007w0003k0003z0000w0000zk3UQTsDk0SS0w7by7z07bUD1tzXzs1tw3kSDVwT0wD0w7XkS3kD3kD1swD0y7ky3kSD3k7VzzUw7Xkw1sTzwD1swD0SDzz3kyD3sDXk3kwDXkS3lw0yDbszbvwS07Xzy7szy7U1wTrVy7z00001k070C000000000008" if (o...
by feiyue
11 Nov 2018, 07:01
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 238
Views: 57754

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

Updated to the v6.2 version. :beer:
A parameter is added at the end of the function to allow the last screenshot to be used.
Of course, saving the last screenshot will take up a certain amount of memory.
In addition, ScreenShot() function is added, which can be used before the loop.
by feiyue
28 Oct 2018, 18:57
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 238
Views: 57754

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

@pk23, When search text in the game, 1. Because the background is transparent, it is best to use color mode, and the background character (_) fault tolerance set to 1 (100%). 2. when making a text template, you can check the Modify box to adjust all the text to be black and all the background to be ...
by feiyue
26 Oct 2018, 04:29
Forum: Scripts and Functions
Topic: On-Screen Keyboard —— OSK() v1.5
Replies: 4
Views: 524

On-Screen Keyboard —— OSK() v1.5

This is a small tool similar to the WinXP's On-Screen Keyboard. I hope you like it. :dance: /* -------------------------------- On-Screen Keyboard -- OSK() v1.5 By FeiYue This is a small tool similar to the WinXP's On-Screen Keyboard. Written in function form, easy to invoke in other scripts. ------...
by feiyue
26 Oct 2018, 00:30
Forum: 脚本函数
Topic: 屏幕键盘 v1.5
Replies: 0
Views: 664

屏幕键盘 v1.5

写了个简单的屏幕键盘,可以加入到开机启动脚本中,希望大家喜欢! /* -------------------------------- 屏幕键盘() v1.5 By FeiYue 这是一个类似 WinXP 屏幕键盘的小工具, 写成函数形式,便于在其他脚本中调用。 -------------------------------- */ 屏幕键盘() 屏幕键盘() { static NewName:={ "":"Space", Caps:"CapsLock" , App:"AppsKey", Psc:"PrintScreen", Slk:"ScrollLock" , "↑":"Up", "↓":"...
by feiyue
23 Oct 2018, 13:19
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 238
Views: 57754

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

@paulpma, FindTextOCR() is mainly used to identify validation codes. If you want to identify English words and match it with 100%, you can use 0.00001 instead of 0 as the fault-tolerant value, avoiding an automatic 10% second attempt. @iseahound, Updated to the v5.5 version, in order to identify a v...

Go to advanced search