Search found 94 matches

by feiyue
19 Jun 2018, 23:49
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 62
Views: 14512

Re: Mouse And Keyboard Macro Recorder

Update to v4.6 version, Cancel the relative window selection box, all use relative screen coordinates, it looks troublesome, actually use is very simple. :dance: Let me be honest with you, I don't like screen coordinates and manual conversion by default at all. Sorry, I still prefer to use absolute ...
by feiyue
17 Jun 2018, 15:30
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 131
Views: 31059

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

@jt_kirk, It is more troublesome to generate a function to read a picture file and then convert it to two valued text. I see you say there are not many pictures that need to be converted. So a simple solution is to open these pictures directly, and then use my tool to capture screen images to genera...
by feiyue
17 Jun 2018, 15:16
Forum: 脚本函数
Topic: AHK源代码加密器 v2.2
Replies: 30
Views: 3046

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

Would you be interested in figuring out why your encryption messes with this script's encryption/decryption? Frankly your work is beyond my current comprehension and I barely have a grasp on Laszlo's work. Basically if I encrypt Laszlo's SW protection script with your script, I only get two unique ...
by feiyue
09 Jun 2018, 17:38
Forum: 脚本函数
Topic: AHK源代码加密器 v2.2
Replies: 30
Views: 3046

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

FluffyMrKitty wrote:Is there any way to have the encrypted script run without a tray icon?

add #NoTrayIcon
by feiyue
08 Jun 2018, 22:38
Forum: 脚本函数
Topic: AHK源代码加密器 v2.2
Replies: 30
Views: 3046

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

@alware, You can test a simple script encryption.

Code: [Select all]GeSHi © Codebox Plus

Msgbox, OK !
Esc::Reload()
by feiyue
08 Jun 2018, 14:31
Forum: 脚本函数
Topic: AHK源代码加密器 v2.2
Replies: 30
Views: 3046

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

@alware, You need to re-encrypt the script ! :wave: The initial working directory of the encrypted script (or compiled program) is the directory where the file is located. For example, your script is in the D:\ directory, and your picture is in the same directory D:\001.jpg. When you search for pict...
by feiyue
08 Jun 2018, 13:45
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 131
Views: 31059

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

I try to use GetDCEx and BitBlt to get background windows.
Unfortunately, it failed on Win7. :headwall:
by feiyue
07 Jun 2018, 17:14
Forum: Scripts and Functions
Topic: Simple script for selecting screen area
Replies: 5
Views: 315

Re: Simple script for selecting screen area

@guest3456, You're using another good script. :thumbup: @toralf, I add a background canvas that seems unnecessary, It's just for fun. :D The advantage of using background canvas is that it is easy to select the scope and then screenshots, so that the current static picture can be retained. The featu...
by feiyue
07 Jun 2018, 01:25
Forum: 脚本函数
Topic: AHK源代码加密器 v2.2
Replies: 30
Views: 3046

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

@AHKStudent, I fixed this problem, and now it can package the AHK main program into a separate program.

@alware, Because script runs through named pipes, A_ScriptDir is useless.
You should use dir:=A_WorkingDir to get the used directory of the compiled program.
by feiyue
07 Jun 2018, 01:02
Forum: Scripts and Functions
Topic: Simple script for selecting screen area
Replies: 5
Views: 315

Simple script for selecting screen area

This is a simple script for selecting screen area. You can try it. :dance: :beer: /* ------------------------------------------ Simple script for selecting screen area v1.8 By FeiYue Instructions: 1.Press the hotkey "F1" to start the LButton key to drag the selection range. Then you can us...
by feiyue
05 Jun 2018, 05:18
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 131
Views: 31059

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

guest26789 wrote:Is there a way to make it only search a certain window? (or coordinates in a window?)

WinGetPos, x, y, w, h, A
FindText(x+w//2,y+h//2,w//2,h//2,0,0,Text)
by feiyue
03 Jun 2018, 17:04
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 62
Views: 14512

Re: Mouse And Keyboard Macro Recorder

I have provided a useful function: WaitChange(x, y, w:=150, h:=1, timeout:=3) . It can greatly improve the reliability of automated scripts. :dance: My idea is to get a screenshot before any mouse clicks, After clicking, you can wait until a certain position of the screen changes. (just pres...
by feiyue
02 Jun 2018, 11:19
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 62
Views: 14512

Re: Mouse And Keyboard Macro Recorder

Also a MoveToPic Ctrl menu option would be nice addition as well. This is a good suggestion. I add a ClickPic option to the Ctrl menu. :bravo: This can reduce the trouble of setting the original image and changing the click coordinates to the relative origin. Of course, if there are many coordinate...
by feiyue
01 Jun 2018, 07:13
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 62
Views: 14512

Re: Mouse And Keyboard Macro Recorder

Update to v4.5 version, Add some functions. :superhappy: 1. Add the waiting picture function --> Using the FindText() function. 2. Add debug function. When the script is stuck, you can locate the current running line. 3. Add continue running by the current row from the edit box's cursor. Due to the ...
by feiyue
26 May 2018, 10:09
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 62
Views: 14512

Re: Mouse And Keyboard Macro Recorder

I've updated it to v4.0 to write more complex scripts, but it's more complex for use, and some private preferences are not suitable for everyone.
So I restored the previous version, only to achieve simple functions, to facilitate the use of novice.
by feiyue
18 May 2018, 05:49
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 131
Views: 31059

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

@jt_kirk, I think this is a relatively easy solution: :) ;---------------------------- ; Load Pictures to GUI ;---------------------------- Gui, +AlwaysOnTop +ToolWindow Gui, Color, DDEEFF Gui, Font, cRed s28 Gui, Add, Text,, Drag Pictures here to Load . `n`nPress Enter or Space to Clear. Gui, Show,...
by feiyue
29 Apr 2018, 02:53
Forum: 脚本函数
Topic: AHK源代码加密器 v2.2
Replies: 30
Views: 3046

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

Updated to the V2.0 version, Enhance the difficulty of cracking. :superhappy:
by feiyue
26 Apr 2018, 17:42
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 131
Views: 31059

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

I recompiled the machine code, using the optimization option: " -O2". :xmas:

So the operation efficiency is improved. The previous was not optimized. :headwall:
by feiyue
25 Apr 2018, 23:24
Forum: 脚本函数
Topic: AHK 机器码(MCode)的制作
Replies: 5
Views: 4887

Re: AHK 机器码(MCode)的制作

更新到 v1.6 版,不再需要 objcopy.exe 程序。现在可以使用小巧便携的TinyCC代替GCC,但它不能同时生成32位和64位版本。

Go to advanced search