Search found 237 matches

by feiyue
24 Oct 2020, 20:42
Forum: 脚本函数
Topic: 简单可视化鼠标手势 v1.5
Replies: 0
Views: 81

简单可视化鼠标手势 v1.5

这是一个与360浏览器中的鼠标手势类似的功能,鼠标手势的轨迹可视化,也许有人需要。 :dance: :beer: ;------------------------------------ ; 简单可视化鼠标手势 v1.5 By FeiYue ;------------------------------------ #NoEnv #SingleInstance, force SetWinDelay -1 SetBatchLines, -1 CoordMode, Mouse CoordMode, ToolTip 生成画板() tip:= { 0 : 0 , "上" : "上翻页" , "下" ...
by feiyue
21 Oct 2020, 21:15
Forum: 脚本函数
Topic: AHK源代码加密器 v3.1
Replies: 102
Views: 47330

Re: AHK源代码加密器 v3.1

If you use a continuation section larger than 16,383 characters,
an error message will appear: "Continuation section too long"

Code: Select all

fs=
(` %
...... too long > 16,383
)
It can be modified as follows: :dance:

Code: Select all

fs=
(` %
...... not too long < 16,383
)
fs=%fs%
(` %
...... not too long < 16,383
)
by feiyue
21 Oct 2020, 10:15
Forum: 脚本函数
Topic: AHK源代码加密器 v3.1
Replies: 102
Views: 47330

Re: AHK源代码加密器 v3.1

@djuga You still haven't made it clear. You should publish some of your code.
You see, there is no problem using FileInstall here, Why can't you?
FileInstall, AutoHotkey.exe, %Ahk%
by feiyue
21 Oct 2020, 01:16
Forum: 脚本函数
Topic: AHK源代码加密器 v3.1
Replies: 102
Views: 47330

Re: AHK源代码加密器 v3.1

djuga wrote:
11 Oct 2020, 16:23
How to fileinstall? Continuation section too long :(
Your questions are puzzling. You should be more specific and put in the code so that others can help you. :beer:
by feiyue
14 Oct 2020, 05:49
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 579
Views: 215071

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

@JavierBO You can do this:

Code: Select all

#Include <FindText>

^RButton::
w:=10, h:=6
CoordMode, Mouse
MouseGetPos, x, y
KeyWait, RButton
s:=GetTextFromScreen(x-w,y-h,x+w,y+h)
Clipboard=if (ok:=FindText(0,0,150000,150000,0,0,"%s%"))
MsgBox, 4096,, Copy OK !, 0.5
return
by feiyue
13 Oct 2020, 11:09
Forum: Scripts and Functions
Topic: Disable all keyboard buttons
Replies: 18
Views: 11282

Re: Disable all keyboard buttons

I don't mind. :D
by feiyue
13 Oct 2020, 09:39
Forum: 脚本函数
Topic: AHK源代码加密器 v3.1
Replies: 102
Views: 47330

Re: AHK源代码加密器 v3.1

最近的版本会读取AutoHotkey.exe主程序的数据计算Hash值,用于源代码加密,
这样确实提高了破解难度,但是如果主程序被病毒修改,会导致源代码无法解密,
可能造成无法挽回的结果,所以我又放弃了这种绑定主程序数据的做法。 :xmas:

其实对于高手而言,再怎么加密都没用,对于菜鸟而言,这样加密已经够了。 :dance:
by feiyue
03 Sep 2020, 04:54
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 579
Views: 215071

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

Error: Functions cannot contain functions.
eg:
a() {

b() {
}

; or #Include <FindText>

}
by feiyue
03 Sep 2020, 04:45
Forum: 脚本函数
Topic: AHK源代码加密器 v3.1
Replies: 102
Views: 47330

Re: AHK源代码加密器 v3.1

@gandalfgarfield You can start the script with "Listlines, Off" ,
And don't use the "Listlines" command anywhere else in the script.
by feiyue
23 Aug 2020, 21:09
Forum: 脚本函数
Topic: AHK源代码加密器 v3.1
Replies: 102
Views: 47330

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

目前,脚本加密会使用AHK主程序的数据,所以脚本和AHK主程序必须一起复制给其他人, 或者将脚本编译成程序再复制给其他人使用,单独发布脚本是不可靠的。 :dance: :beer: At present, script encryption will use the data of AHK main program, so the script and AHK main program must be copied to other people together, or the script must be compiled into a program and then copied to...
by feiyue
17 Aug 2020, 05:50
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 579
Views: 215071

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

Please try the latest version. Recently, I fixed a small bug, but there is no updated version. This bug is about the virtual screen of the system, it may not start from (0,0), as in your case.. :beer: DllCall("BitBlt",Ptr,mDC,"int",x-zx,"int",y-zy,"int",w,"int",h , Ptr,hDC, "int",x, "int",y, "uint",...
by feiyue
11 Aug 2020, 10:47
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 579
Views: 215071

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

You just need to debug to find the problem.

Code: Select all

  x:=Round(x), y:=Round(y), w:=Round(Active_width)  h:=Round(Active_height)
  ; MsgBox, % w  ; Debug w --> w:=Round(Active_width), h:=Round(Active_height)
by feiyue
09 Aug 2020, 22:37
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 579
Views: 215071

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

I think the default comparison threshold is too large. You can set it smaller. I recommend that the range used to detect screen changes is as small as possible. #Include <FindText> WinGetPos, x, y, w, h, A pic1:=GetPicArr(x, y+50, w, h-50) Loop { Sleep, 500 WinGetPos, x, y, w, h, A pic2:=GetPicArr(x...
by feiyue
07 Aug 2020, 21:05
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 579
Views: 215071

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

Updated to 7.5 version - 2020/04/13 .... 2. Modify: in order to reduce the conflict of function names, ....... Use "FindText_" as the function prefix. However, this creates some incompatibility. ....... For example: MouseTip() must be changed to FindText_MouseTip() GetPicArr(x, y, w, h) { ListLines...
by feiyue
04 Aug 2020, 22:00
Forum: 脚本函数
Topic: AHK源代码加密器 v3.1
Replies: 102
Views: 47330

Re: AHK源代码加密器 v3.1

更新到 v3.1 版本: :dance: :beer:
1、新增了 Thread() 函数,利用多线程的方式防止主程序的命名管道卡住。
2、更新了 OnlyOne() 函数,利用 CreateMutex 生成互斥体对象,更好地防止重复运行。
by feiyue
29 Jul 2020, 15:12
Forum: 脚本函数
Topic: AHK源代码加密器 v3.1
Replies: 102
Views: 47330

Re: AHK源代码加密器 v3.0

Show your code for debug.
by feiyue
16 Jul 2020, 22:16
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 579
Views: 215071

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...
by feiyue
22 Jun 2020, 05:52
Forum: 脚本函数
Topic: AHK源代码加密器 v3.1
Replies: 102
Views: 47330

Re: AHK源代码加密器 v3.0

这种加密方式只能防止菜鸟使用者,对于高级程序员很容易破解。由于我本身也是业余人士,所以目前没有进一步的改进思路。 :dance:
by feiyue
19 Jun 2020, 23:54
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 579
Views: 215071

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, "...

Go to advanced search