Search found 27 matches

by thebbandit
20 Feb 2020, 15:15
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

ok , got a real problem as of lately over here thats been bugging the hell out of my noob mind, ive been tinkering with a script to autolaunch my games that use game launchers , which have buttons like > Play< or > Launch Game< this is what ive gotten to work with from chunjee> these are my coords>...
by thebbandit
08 Feb 2020, 17:57
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

Bearvius Inside the GUI function, you can add a line to reset the hotkey "conditions" maybe you have changed them? inside the capture section you can put this line near the top, and it may fix your issue. Maybe you have put other conditional hotkeys into your script and it is affecting this library...
by thebbandit
29 Jan 2020, 15:32
Forum: Scripts and Functions
Topic: A needless class to turn a progress bar into a slider (colorful gui sliders)
Replies: 12
Views: 1996

Re: A needless class to turn a progress bar into a slider (colorful gui sliders)

Your right, I did some modifications for my own script since the testbench I built it in. Ahh I found the difference, in this testbench I was trying out inserting into another window as a parent. Its kinda strange. Thats why there is that empty "" in the third parameter. Here is the unaltered base t...
by thebbandit
27 Jan 2020, 22:52
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

This weekend I spent some time learning how to use classes in AHK, and I have come up with a tool designed for FindText that I thought I should share. ; PanelManager - This class manages every gamestate within one place ; ------------------------------------------------------------------------------...
by thebbandit
27 Jan 2020, 22:33
Forum: Scripts and Functions
Topic: A needless class to turn a progress bar into a slider (colorful gui sliders)
Replies: 12
Views: 1996

Re: A needless class to turn a progress bar into a slider (colorful gui sliders)

I took the code you built and as a learning exercise I built another class to create the color selection sliders to make a color picker. Its pretty awesome how it works once you figure out classes, I was always so timid to try using them because they seemed confusing. Here is what I came up with, ma...
by thebbandit
26 Jan 2020, 15:09
Forum: Scripts and Functions
Topic: Color Picker
Replies: 21
Views: 3493

Re: Color Picker

Wow, you never cease to amaze. Thank you for your continued efforts with AHK, you are doing a great service to the community.
by thebbandit
26 Jan 2020, 00:16
Forum: Tutorials
Topic: Classes in AHK, Basic tutorial.
Replies: 26
Views: 54995

Re: Classes in AHK, Basic tutorial.

Thank you for the time you put into this demonstration. It was very helpful.
by thebbandit
25 Jan 2020, 23:13
Forum: Scripts and Functions
Topic: Color Picker
Replies: 21
Views: 3493

Re: Color Picker

Hellbent Your work has been inspiring me to give GDIP a try, I have found your button class videos and the complimenting code to be very useful in learning how to use GDIP as a class to simplify the organization of all the repetative code. I am still in the process of learning how you did your togg...
by thebbandit
24 Jan 2020, 03:19
Forum: Ask For Help
Topic: Help with RegionGetColor
Replies: 0
Views: 147

Help with RegionGetColor

I am asking if others are still able to use the RegionGetColor function. I have tried to find any way to get this function working, since I have written a function to average the pixel area unique colors. But its so slow gathering all the pixel information, it can take minutes for a very very large ...
by thebbandit
10 Jan 2020, 18:48
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

@xoabc
This in including a library file, and you may not have followed the instruction to place the file into a library folder. Make the file and place it into Documents\Autohotkey\Lib\FindText.ahk
by thebbandit
27 Dec 2019, 14:57
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

Hello and happy holidays. Admittedly I am not an AHK veteran but I cannot seen to get this to work after reading all of the tutorials and every page of this thread. The popup window that activates the script and asks the user to select the text/image to search for works fine, but after "test" runs,...
by thebbandit
17 Dec 2019, 11:51
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

@feiyue OMG THANK YOU that fixes the flicker, even at 15ms refresh.
by thebbandit
16 Dec 2019, 22:28
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

Thank you for fixing that issue :bravo: , I can confirm that has resolved the crash that was occuring. I recreated the same if, else if situation and it now works. :dance: The issue remains though regarding the mouse flickering with the screenshot() function. When doing FindText() rapidly you will n...
by thebbandit
15 Dec 2019, 17:25
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

the process exits and the icon shows in the tray, until i mouse over it. The image is being found, but possibly too rapidly in sequence from the previous search? If I combine the two searches into one by appending them onto the end of it, it will work. But if I try do the same search in a new Else I...
by thebbandit
15 Dec 2019, 04:32
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

feiyue Thanks for the reply, I will play with that and see if I can make something more flexible :) I found a critical bug as well, related to using findtext function. If I place two back to back findtext expressions it seems to randomly crash my script. if (ok:=FindText(x,y,xx,yy,0,0,text)) { } el...
by thebbandit
14 Dec 2019, 23:57
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

I was playing with this again, and built a wrapper to automatically create a few squares from a hex color. I imagine you would be able to create something MUCH MUCH more robust than this. This function accepts either individual hex colors, or an array of colors. It then allows for the colors to be R...
by thebbandit
12 Dec 2019, 21:08
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

Paul H 81 Ok so lets start with the basics. For simplicity, You should create a file within the autohotkey Lib folder and place this library file within it. You should end up with a file like so: C:\YourUserName\Documents\AutoHotKey\Lib\FindText.ahk Create the file and paste the entire contents of ...
by thebbandit
09 Dec 2019, 16:04
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

This tool is so amazing, I keep playing with it and finding ways to help you improve it. One thing is to actually find the edges of the screen instead of adding or subtracting 150000. So I added a new subfunction to the ft_Gui called Edges which creates local variables for use in the script template...
by thebbandit
07 Dec 2019, 01:57
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 474
Views: 149097

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

feiyue Pretty cool, that is a much more direct way of getting it displayed :) I mentioned moving the cursor of the editbox, because you are using the cursor location for AddAll. So if the user captures a string, and then goes straight to another capture, the input will actually end up at the top of...

Go to advanced search