![Smile :-)](./images/smilies/icon_e_smile.gif)
Search found 172 matches
- 10 Jun 2015, 02:01
- Forum: Ask for Help (v1)
- Topic: Simple search and replace doesn't function
- Replies: 18
- Views: 9600
Re: Simple search and replace doesn't function
I will try again and will post the results later this morning. Must get some sleep.
Thanks lexikos.
![Smile :-)](./images/smilies/icon_e_smile.gif)
- 10 Jun 2015, 00:44
- Forum: Ask for Help (v1)
- Topic: Simple search and replace doesn't function
- Replies: 18
- Views: 9600
Re: Simple search and replace doesn't function
Thanks berban for the suggestion. Initially the output container was a variable, and I was surprised that the script operates directly on the clipboard's contents. Unless your concern is about lost data, (that was my concern), the original text is still preserved. As for speed, the amount of text is...
- 09 Jun 2015, 17:03
- Forum: Ask for Help (v1)
- Topic: Simple search and replace doesn't function
- Replies: 18
- Views: 9600
Re: Simple search and replace doesn't function
Yes, it's definitely UTF-8, I have the following code pages: ANSI, DOS, UTF-8, Unicode or Binary. The file type selection can be PC, UNIX, Mac, Netscape or Unknown, I have PC selected.
- 09 Jun 2015, 14:48
- Forum: Ask for Help (v1)
- Topic: Simple search and replace doesn't function
- Replies: 18
- Views: 9600
Re: Simple search and replace doesn't function
In two instances I had to use Clipwait, 1 because it kept missing a simple text replacement. Thanks to you both, I am almost up and running. I resolved all Regexp searches and everything is working fine except the following: The mdash is the only search and replace that I couldn't resolve {u+x2014} ...
- 08 Jun 2015, 20:05
- Forum: Ask for Help (v1)
- Topic: Simple search and replace doesn't function
- Replies: 18
- Views: 9600
Re: Simple search and replace doesn't function
Many thanks gilliduck. It works great. Assigning the values to variables and operating on the variables humbles me.
- 08 Jun 2015, 15:35
- Forum: Ask for Help (v1)
- Topic: Simple search and replace doesn't function
- Replies: 18
- Views: 9600
Re: Simple search and replace doesn't function
Thanks again for the reply and the Regex code to clean the text. It was my stupidity for inserting the spaces between the equal sign here on the forum for clearer readability (for myself) and that caused the confusion. I learned a valuable lesson and the actual code has no spaces. (See current code ...
- 08 Jun 2015, 03:00
- Forum: Ask for Help (v1)
- Topic: Simple search and replace doesn't function
- Replies: 18
- Views: 9600
Re: Simple search and replace doesn't function
Thanks for your reply but I already tried the following: Text: = RegexReplace(Text,"m) "," ") Text: = StrReplace(Text," "," ") Text = StrReplace(Text," "," ") Text: = StrReplace(%Text%," "," ") Text = StrReplace(Text," ",A_Space) and other as well, like StringReplace, OutputVar, InputVar, SearchText...
- 08 Jun 2015, 01:32
- Forum: Ask for Help (v1)
- Topic: Simple search and replace doesn't function
- Replies: 18
- Views: 9600
Simple search and replace doesn't function
I am trying to replace two spaces with one space in a block of text and it doesn't work. Can someone please look at this code and correct the mistake? ;Win+z Test #z:: Text:="" Clipboard:="" SendInput, ^a SendInput, ^c Text:=Clipboard Clipboard:="" ;two spaces Text:=StrReplace(Text, "m) "," ") Clipb...
- 05 Jun 2015, 12:40
- Forum: Ask for Help (v1)
- Topic: Help is asked for search and replace
- Replies: 4
- Views: 1266
Re: Help is asked for search and replace
Many thanks for your advice, whoever you are. I really appreciate it. By way of explanation, I wasn't sure if such a long code can be posted here, and as for the inefficient programming, it's a carry over from a very very old programming requirement (16bit) where the focus/cursor position had to be ...
- 03 Jun 2015, 23:44
- Forum: Ask for Help (v1)
- Topic: Help is asked for search and replace
- Replies: 4
- Views: 1266
Re: Help is asked for search and replace
I used "clipwait, 2" for the delay, but I also noticed elsewhere that there is "sleep, 1" delay. I will read up about the differences, and check if they are placed at the right point in the code. . . thanks for glancing at it and any comment is most welcome.
- 03 Jun 2015, 16:07
- Forum: Ask for Help (v1)
- Topic: Help is asked for search and replace
- Replies: 4
- Views: 1266
Help is asked for search and replace
I created a procedure to perform a series of simple search and replace actions, tied to the ;Win+z keyboard key, but it doesn't work. The code is posted at pastebin: http://pastebin.com/XFbP4tgz The purpose is to clean up a block of OCR text of about 450-900 words. At the conclusion of each search a...
- 17 Sep 2014, 17:52
- Forum: Ask for Help (v1)
- Topic: Windows 7 and Win key limitations
- Replies: 3
- Views: 1744
Windows 7 and Win key limitations
I am using version 1.1.16.03 in Windows 7 which resolved macros which generated text strings containing the letter "l" or "L". But, I cannot use Win+l, because it locks me out. Is there a way I can block Win+l completely?