Search found 260 matches
- 16 Jul 2020, 22:16
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240986
Re: FindText - Capture screen image into text and then find it Topic is solved
do someone know if is possible to search inside a pbitmap instead searching for the text on screen? i tried edit here, but did not work :cry: if (id) and !(w<1 or h<1) { ;hDC2:=DllCall("GetDCEx", Ptr,id, Ptr,0, "int",3, Ptr) ;hDC2 := Gdip_BitmapFromHWND(id) hDC2 := Gdip_CreateBitmapFromFile("C:\Use...
- 22 Jun 2020, 05:52
- Forum: 脚本函数
- Topic: AHK源代码加密器 v3.1
- Replies: 108
- Views: 54154
Re: AHK源代码加密器 v3.0
这种加密方式只能防止菜鸟使用者,对于高级程序员很容易破解。由于我本身也是业余人士,所以目前没有进一步的改进思路。 

- 19 Jun 2020, 23:54
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240986
Re: FindText - Capture screen image into text and then find it Topic is solved
If the background image cannot be found using "GetDCEx", But use "PrintWindow" to find the background image, You can modify it as follows: if (id) and !(w<1 or h<1) { /* hDC2:=DllCall("GetDCEx", Ptr,id, Ptr,0, "int",3, Ptr) DllCall("BitBlt",Ptr,mDC,"int",x-zx,"int",y-zy,"int",w,"int",h , Ptr,hDC2, "...
- 19 Jun 2020, 22:57
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240986
Re: FindText - Capture screen image into text and then find it Topic is solved
It's not very reliable to look for pictures in the background. Many windows can't get images in the background, which is why I haven't added this function for a long time. (in WinXP era, "PrintWindow()" can find pictures in the background, But it's not good to use now) Because many people ask, and I...
- 19 Jun 2020, 21:40
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240986
Re: FindText - Capture screen image into text and then find it Topic is solved
This is to find specific text directly: ; #Include <FindText> t1:=A_TickCount, X:=Y:="" Text:="|<150$71 00>*160$68.00200000000DXVlw80sQC631gU360PBamFkF80WU4G95WjYH08814WlEe968420FcwI+2F1V0U4G/52UYE8k814WFMe9g6826PBYmHQCD20VXVksM000U00000002" if (ok:=FindText(501-150000, 726-150000, 501+150000, 726+1...
- 19 Jun 2020, 19:52
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240986
Re: FindText - Capture screen image into text and then find it Topic is solved
Combination search is to use some individual numbers to splice into a string of ID numbers, or some individual letters to splice into a string of words. The offset of the height of each letter is not big, and the interval between each letter is not big, which is similar to generating a dynamic image...
- 17 Jun 2020, 18:19
- Forum: 脚本函数
- Topic: AHK源代码加密器 v3.1
- Replies: 108
- Views: 54154
Re: AHK源代码加密器 v3.0
更新到 v3.0 版本,稍微提高了破解的难度。 
小技巧:可以打造自己的私人AutoHotkey.exe主程序,
比如用Copy /b a+b的方法在主程序末尾添加另一文件的内容,
从而限定了必须使用编译后程序释放出来的主程序才能运行。

小技巧:可以打造自己的私人AutoHotkey.exe主程序,
比如用Copy /b a+b的方法在主程序末尾添加另一文件的内容,
从而限定了必须使用编译后程序释放出来的主程序才能运行。
- 16 Jun 2020, 19:07
- Forum: 脚本函数
- Topic: AHK源代码加密器 v3.1
- Replies: 108
- Views: 54154
Re: AHK源代码加密器 v3.0
加密前可以改动主程序,加密时计算了主程序的哈希值,所以打包前不要再改动主程序。之后编译得到的程序可以改图标,不会影响释放出来的主程序。
- 13 Jun 2020, 11:02
- Forum: 脚本函数
- Topic: AHK源代码加密器 v3.1
- Replies: 108
- Views: 54154
Re: AHK源代码加密器 v2.8
SirSocks Changing the name does not change the contents of the file. It doesn't matter if you encrypt the script after you change the icon of the main program (Main program means Autohotkey.exe). If you are using Ahk2Exe to add a program icon when packaging, This does not change the content of the ...
- 12 Jun 2020, 23:25
- Forum: 脚本函数
- Topic: AHK源代码加密器 v3.1
- Replies: 108
- Views: 54154
Re: AHK源代码加密器 v2.8
@R0nya
Don't use A_ScriptDir variable. Or use A_ScriptDir2 variable:
@norths1
You are a master. Please test the new version.
If it's still easy to crack, can you send me a private message
to give me some suggestions for improvement ?
Don't use A_ScriptDir variable. Or use A_ScriptDir2 variable:
Code: Select all
Global A_ScriptDir2 := A_WorkingDir
You are a master. Please test the new version.
If it's still easy to crack, can you send me a private message
to give me some suggestions for improvement ?
- 12 Jun 2020, 23:15
- Forum: 脚本函数
- Topic: AHK源代码加密器 v3.1
- Replies: 108
- Views: 54154
Re: AHK源代码加密器 v2.8
Updated to 2.8 version - 2020/06/13
1. Command line arguments are now supported.
2. The hash value of the released AHK main program is calculated,
... so that only the released main program can be run.
3. The encryption algorithm is modified to make it more difficult to crack.


1. Command line arguments are now supported.
2. The hash value of the released AHK main program is calculated,
... so that only the released main program can be run.
3. The encryption algorithm is modified to make it more difficult to crack.
- 06 Jun 2020, 18:35
- Forum: 请求帮助
- Topic: 随机不重复数组的提问
- Replies: 4
- Views: 5168
Re: 随机不重复数组的提问
有位网友提出一种交换数组的方法来提取随机项目也很不错。 min:=1, max:=230000, num:=160000 F3:: SetBatchLines, % (-1, bch:=A_BatchLines) t:=A_TickCount s:="", i:=min loop, % max-min+1 s.=(i++) "," s:=SubStr(s, 1, -1) Sort, s, Random D, a:=StrSplit(s, ",") msgbox, % A_TickCount-t t:=A_TickCount a:=[], i:=min loop, % all:=max-min+...
- 12 May 2020, 11:40
- Forum: Bug Reports
- Topic: Tab3 vs TAB2 control has some defect
- Replies: 1
- Views: 593
Tab3 vs TAB2 control has some defect
When I use Tab3 control to attach to another Tab3 (or Tab2) control, it is easy to cause program stuck, but when I use TAB2 control to attach to another Tab3 (or Tab2) control, it will not cause stuck. Is it a bug ? :xmas: Gui, Add, Tab3,, 1|2 Gui, Add, Text, w500 h500 +Hwnd_hMyTab2 Gui, Tab Gui, Sh...
- 10 Apr 2020, 12:28
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240986
Re: FindText - Capture screen image into text and then find it Topic is solved
Updated to 7.5 version - 2020/04/13 :dance: .... 1. Add: the button to get the range has been added, ....... You can select a range on the screen with the left mouse button, ....... The range coordinates are copied to the clipboard, ....... And the search scope of FindText() function in the code wil...
- 29 Mar 2020, 13:15
- Forum: 脚本函数
- Topic: AHK源代码加密器 v3.1
- Replies: 108
- Views: 54154
Re: AHK源代码加密器 v2.7
If you need to include files that are not confidential, you can continue to use the #include command:
#Include %A_AhkPath%\..\Lib\Gdip.ahk
Otherwise, copy the contents of the library file to your script.
如果需要包含的文件不用保密,你可以继续使用#Include命令,否则请自己复制库文件的内容到脚本中。
#Include %A_AhkPath%\..\Lib\Gdip.ahk
Otherwise, copy the contents of the library file to your script.
如果需要包含的文件不用保密,你可以继续使用#Include命令,否则请自己复制库文件的内容到脚本中。
- 18 Mar 2020, 14:44
- Forum: Ask For Help
- Topic: How to stop script when a new instance is run
- Replies: 4
- Views: 632
Re: How to stop script when a new instance is run
Add the following functions anywhere in your script. :beer: OnlyOne() { local static init:=OnlyOne() Gui, __ForClose__: Show, Hide, <<%A_ScriptName%>> Gui, __ForClose__: +Hwndmyid dhw:=A_DetectHiddenWindows DetectHiddenWindows, On WinGet, list, List, <<%A_ScriptName%>> ahk_class AutoHotkeyGUI Loop, ...
- 18 Mar 2020, 10:58
- Forum: Scripts and Functions
- Topic: Online MCode Generator(Beta, Tool)
- Replies: 22
- Views: 3531
Re: Online MCode Generator(Beta, Tool)
Code: Select all
somasoma(a,b)
{
static _Function:=""
if (!_Function)
{
MCode := "2,x64:VUiJ5YlNEIlVGLgDAAAAXcOQkJCQ,x86:VYnluAMAAABdww=="
_Function := BentschiMCode(MCode)
}
E := DllCall( _Function, "int", a, "int", b, "cdecl int") ; Don't use &_Function
return E
}
- 11 Mar 2020, 23:24
- Forum: Scripts and Functions
- Topic: Mouse And Keyboard Macro Recorder
- Replies: 105
- Views: 84801
Re: Mouse And Keyboard Macro Recorder
Updated to 2.1 version - 2020/03/12 1. Put the record file in the temporary folder to avoid that some computers cannot generate the record file. 2. Record the actual delay instead of a uniform delay of 0.5 seconds. ... Note: if the actual delay is large, please modify the record file yourself. 3. I ...
- 27 Feb 2020, 22:06
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240986
Re: FindText - Capture screen image into text and then find it Topic is solved
tobsto occupied For using FindText() to find an image, the first is to make sure that the Text string of the image is correct, The second is to make sure that the image is included in the lookup scope. For novices, full screen search is enough. For example: FindText(0, 0, 150000, 150000,...) If you...
- 26 Feb 2020, 15:15
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 644
- Views: 240986
Re: FindText - Capture screen image into text and then find it Topic is solved
You can easily view the last screenshot (if you only capture a small range of images, because it will be superimposed on the old image, so the full screen image is still displayed here): F2:: FindText_Gui("ShowScreenShot", onoff:=!onoff) Here is a quick way to generate the FindText call script: F1::...