Search found 106 matches
- 28 May 2019, 12:38
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 625
- Views: 229611
Re: FindText - Capture screen image into text and then find it Topic is solved
Dude... it's 2000 lines of code! If you cannot boil your problem down to less code, or at the very least say "when line X executes, I am expecting Y to happen but Z happens", I simply cannot be bothered... exemple.gif My code has 34 rows. The rest are FindText functions. Idk if you know how FindTex...
- 28 May 2019, 12:01
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 625
- Views: 229611
Re: FindText - Capture screen image into text and then find it Topic is solved
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.evilC wrote: ↑28 May 2019, 11:41I 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

- 28 May 2019, 11:38
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 625
- Views: 229611
- 28 May 2019, 11:32
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 625
- Views: 229611
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...
- 28 May 2019, 11:20
- Forum: Ask For Help
- Topic: HELP: Problem with Choose Hotkey
- Replies: 7
- Views: 853
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" ...
- 28 May 2019, 10:08
- Forum: Scripts and Functions
- Topic: FindText - Capture screen image into text and then find it Topic is solved
- Replies: 625
- Views: 229611
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...
- 26 May 2019, 23:27
- Forum: Ask For Help
- Topic: ImageSearch with code hex
- Replies: 0
- Views: 1450
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...
- 25 May 2019, 18:56
- Forum: AutoHotkey_H
- Topic: HELP About Continuation section too long
- Replies: 11
- Views: 3833
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...
- 24 May 2019, 21:49
- Forum: AutoHotkey_H
- Topic: HELP About Continuation section too long
- Replies: 11
- Views: 3833
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...
- 24 May 2019, 11:19
- Forum: AutoHotkey_H
- Topic: HELP About Continuation section too long
- Replies: 11
- Views: 3833
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...
- 24 May 2019, 10:41
- Forum: AutoHotkey_H
- Topic: HELP About Continuation section too long
- Replies: 11
- Views: 3833
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...
- 24 May 2019, 09:12
- Forum: AutoHotkey_H
- Topic: HELP About Continuation section too long
- Replies: 11
- Views: 3833
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...
- 24 May 2019, 08:16
- Forum: AutoHotkey_H
- Topic: HELP About Continuation section too long
- Replies: 11
- Views: 3833
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: " "
- 24 May 2019, 01:54
- Forum: AutoHotkey_H
- Topic: HELP About Continuation section too long
- Replies: 11
- Views: 3833
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, %...
- 23 May 2019, 15:08
- Forum: Ask For Help
- Topic: GuiControl and ahkgetvar with AutoHotkey.dll
- Replies: 2
- Views: 462
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:...
- 23 May 2019, 04:55
- Forum: Ask For Help
- Topic: GuiControl and ahkgetvar with AutoHotkey.dll
- Replies: 2
- Views: 462
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...
- 21 May 2019, 22:19
- Forum: Ask For Help
- Topic: Multiple worker processes in a single .exe
- Replies: 0
- Views: 295
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...
- 18 May 2019, 18:08
- Forum: Ask For Help
- Topic: About Performance SetTimer Topic is solved
- Replies: 2
- Views: 334
- 18 May 2019, 14:42
- Forum: Ask For Help
- Topic: About Performance SetTimer Topic is solved
- Replies: 2
- Views: 334
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...