Search found 105 matches

by manehscripts
28 May 2019, 12:01
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 193235

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

evilC wrote:
28 May 2019, 11:41
I don't really have the time to analyse what all the code is doing
https://autohotkey.com/docs/commands/RegExMatch.htm#Examples
3rd example shows how to use case-insensitive matching
Thank, but I dont know how able to adapt RegExMatch() to my code and I do not know how to do it the right way. :(
by manehscripts
28 May 2019, 11:38
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 193235

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

evilC wrote:
28 May 2019, 11:34
WRT FindText not being case-insensitive, at a glance it looks like the RegexMatch commands are not using case-insensitive mode

Add i) to the start of the match pattern
Where do I add? Could you please illustrate!
by manehscripts
28 May 2019, 11:32
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 193235

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

Pic() is missing HELLO! :D The function is the default this post. I edited the publication with the FindText() function! I'm formulating the letters with this script. The idea is to join the letters from A to Z and leave it as a library for when the person searches for any word, the program searche...
by manehscripts
28 May 2019, 11:20
Forum: Ask For Help
Topic: HELP: Problem with Choose Hotkey
Replies: 7
Views: 834

Re: HELP: Problem with Choose Hotkey

Your code is not working with modifiers, because you specifically coded it to NOT work with modifiers !?!? if (StrLen(HK)=1) { Hotkey, %HK%, Label1, On savedHK := HK } If you type ^a then StrLen(HK) is 2! This code also stops many other keys from working - F1, Space etc The problem was in the "=1" ...
by manehscripts
28 May 2019, 10:08
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 193235

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

Hello, I need help, please! The person types a name in Gui, presses the button and searches the name typed on the screen. What is going on: Conflict with uppercase and lowercase letters. The example below get the error when searching for the word " Soul Points ", because of S and s . Can anyone help...
by manehscripts
26 May 2019, 23:27
Forum: Ask For Help
Topic: ImageSearch with code hex
Replies: 0
Views: 390

ImageSearch with code hex

Hello guys! I'm thinking of removing all the image from my program, and based on the code below (which creates an image with its hexadecimal code), recognize the image by the code itself and use the ImageSearch feature to find the image of the code in the window. Can someone tell me if I can do this...
by manehscripts
25 May 2019, 18:56
Forum: AutoHotkey_H
Topic: HELP About Continuation section too long
Replies: 11
Views: 3436

Re: HELP About Continuation section too long

Sorry duplicate the post. But I would like to share that I have been able to solve my problem, after much study and attempts. Thanks to those who collaborated, you all are top! :dance: EDIT!!! I found myself thinking ... :think: I've been trying so hard to learn how to use Autohotkey.dll to make ind...
by manehscripts
24 May 2019, 21:49
Forum: AutoHotkey_H
Topic: HELP About Continuation section too long
Replies: 11
Views: 3436

Re: HELP About Continuation section too long

Hi swagfag . Thanks for the explanation!. I'm new to Autohotkey and I'm learning, and I started using SetTimer for repetitions, but as I increased my script, I realized I needed to create an independent loop, that's when I met Autohotkey.dll With this I needed to learn new functions and adapt, but m...
by manehscripts
24 May 2019, 19:12
Forum: AutoGUI
Topic: AHK_H v2
Replies: 3
Views: 3828

Re: AHK_H v2

Alguimist wrote:
30 Jan 2019, 22:39
AutoGUI is not compatible with AHK v2 (be it AHK_L or AHK_H) and it is not also meant to be used as a compiled script, since I've not made any adaptations in the script as for that.
Hi, are there any projects or forecasts for when it will support v2?
by manehscripts
24 May 2019, 11:19
Forum: AutoHotkey_H
Topic: HELP About Continuation section too long
Replies: 11
Views: 3436

Re: HELP About Continuation section too long

the 16k character limit has been violated u have one big continuation section in ur main script that contains 2 smaller, yet-to-become "continuation sections" each of which is 16k characters long therefore the combined length of the big continuation section then is ...? Sorry but I did not understa...
by manehscripts
24 May 2019, 10:41
Forum: AutoHotkey_H
Topic: HELP About Continuation section too long
Replies: 11
Views: 3436

Re: HELP About Continuation section too long

AhkThread(" ( var := "" ( """"text"""" `)"" var .= ""``n ( more """"text"""" `)"" MsgBox % var )") MsgBox OK to close everything it would be easier if u loaded the scripts as files or wrote it in ahk_h v2 otherwise u have to learn the subtle differences between legacy-mode and expression-mode conti...
by manehscripts
24 May 2019, 09:12
Forum: AutoHotkey_H
Topic: HELP About Continuation section too long
Replies: 11
Views: 3436

Re: HELP About Continuation section too long

Are you escaping all the %? can you show us the code that goes inside the continuation section? Hello, thanks. I did some tests and got to do read numbers, letters he does not recognize (can someone tell me why?) And another detail, even partitioning, continues to present the error Continuation sec...
by manehscripts
24 May 2019, 08:16
Forum: AutoHotkey_H
Topic: HELP About Continuation section too long
Replies: 11
Views: 3436

Re: HELP About Continuation section too long

Try var.=" ( ... )" Hello, thanks for answering! I tried: var=" ( ... 150lines )" var.=" ( ... +150lines )" var.=" ( ... +150lines )" And: var.=" ( ... 150lines )" var.=" ( ... +150lines )" var.=" ( ... +150lines )" And show error: The following variable name contains an illegal character: " "
by manehscripts
24 May 2019, 01:54
Forum: AutoHotkey_H
Topic: HELP About Continuation section too long
Replies: 11
Views: 3436

HELP About Continuation section too long

Hello! Please, somebody help me! I'm following this tutorial but I can not get results. Splitting a Long Line into a Series of Shorter Ones: https://www.autohotkey.com/docs/Scripts.htm Var = ( ... ) Var = %Var%`n ; Add more text to the variable via another continuation section. ( ... ) FileAppend, %...
by manehscripts
23 May 2019, 15:08
Forum: Ask For Help
Topic: GuiControl and ahkgetvar with AutoHotkey.dll
Replies: 2
Views: 450

Re: GuiControl and ahkgetvar with AutoHotkey.dll

Hi, I able to do change the GuiControl using ahkReady() But would there be another way I can add this change inside the Loop? AhkThread := AhkDllThread("AutoHotkey.dll") Gui, Add, Edit, r4 ReadOnly w200 vChangeInfo, STOPPED! Gui, Add, Button, vStart gStart, START! Gui, Show return toggle := 0 Start:...
by manehscripts
23 May 2019, 04:55
Forum: Ask For Help
Topic: GuiControl and ahkgetvar with AutoHotkey.dll
Replies: 2
Views: 450

GuiControl and ahkgetvar with AutoHotkey.dll

Hi guys! The script below runs a loop using Autohotkey.dll, my question is about the GuiControl system that changes the Gui information . It is not working inside ahktextdll ("(LTrim ...)") Note that just above I made a resemblance out of this condition and it works. Can someone help me? I started m...
by manehscripts
21 May 2019, 22:19
Forum: Ask For Help
Topic: Multiple worker processes in a single .exe
Replies: 0
Views: 281

Multiple worker processes in a single .exe

Hello guy, Every script process comes from reading row by line, and when the script gets very crowded, at some point it starts to slow down (even if I put a SetTimer 1 for some Labels, for example). Is there any way to create multiple worker processes in a single .exe? I thought about creating exter...
by manehscripts
18 May 2019, 18:08
Forum: Ask For Help
Topic: About Performance SetTimer Topic is solved
Replies: 2
Views: 322

Re: About Performance SetTimer Topic is solved

swagfag wrote:
18 May 2019, 16:05
SetTimer, label, On runs it every 250ms
what u want is to define a shorter Period
SetTimer, label, 50 etc
Thank you!
by manehscripts
18 May 2019, 14:42
Forum: Ask For Help
Topic: About Performance SetTimer Topic is solved
Replies: 2
Views: 322

About Performance SetTimer Topic is solved

Hello guys, I was running some performance tests, because my current Script is very extensive with several SetTimer and I realized that the process is getting a bit slow and confusing by the system. Based on this test model I did, I wondered if there was any way to optimize the checks and maybe incr...
by manehscripts
18 May 2019, 00:00
Forum: Scripts and Functions
Topic: FindText - Capture screen image into text and then find it Topic is solved
Replies: 537
Views: 193235

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

Hello, is it possible to implement a Hex code of an image for your system to find? Or you know some code that does an ImageSearch in the active window, searching for the image of the hex code that is in the script. Example: if (found_hex_code) { MouseMove, x, y } Hex code of a image: Screenshot_1.jpg

Go to advanced search