Search found 1652 matches

by JoeWinograd
05 Sep 2014, 00:07
Forum: Ask For Help
Topic: Boolean Search - AND, OR, NOT
Replies: 6
Views: 2642

Re: Boolean Search - AND, OR, NOT

Thanks, meimyself, and to everyone else who replied earlier, but I think that RegEx isn't going to work out for this requirement. I've decided to try a different approach, so please take a look at my new topic. Thanks, Joe
by JoeWinograd
05 Sep 2014, 00:04
Forum: Ask For Help
Topic: Boolean Search as the needle searching a haystack
Replies: 52
Views: 11315

Boolean Search as the needle searching a haystack

I'm writing a program that has a component where the user can specify a file and a search string, and the program will take certain actions if the file contains the search string. The code for this is very simple - it just uses StringReplace with the last parameter of UseErrorLevel. The search strin...
by JoeWinograd
04 Sep 2014, 19:29
Forum: Ask For Help
Topic: Boolean Search - AND, OR, NOT
Replies: 6
Views: 2642

Re: Boolean Search - AND, OR, NOT

Morpheus, Ah, I missed that. As I already mentioned, I'm not a RegEx expert myself, so I'll need some help here. I get that "|" is OR (the gray|grey example at the AHK RegEx QuickRef ). How would I use subpatterns to implement AND? How about NOT? An example would be helpful. Let's say the user is se...
by JoeWinograd
04 Sep 2014, 14:45
Forum: Ask For Help
Topic: Boolean Search - AND, OR, NOT
Replies: 6
Views: 2642

Re: Boolean Search - AND, OR, NOT

Hi meimyself, Thanks for the reply. Yes, I understand that it's doable with RegEx, which is an extremely powerful search technique, but based on lots of experience with lots of "typical" users, RegEx just isn't going to fly. My experience is that they feel comfortable with Boolean searches using AND...
by JoeWinograd
04 Sep 2014, 02:27
Forum: Ask For Help
Topic: CHR codes from 128 to 159 decimal not working
Replies: 13
Views: 4160

Re: CHR codes from 128 to 159 decimal not working

Hi just me,
Great stuff! Thanks, Joe
by JoeWinograd
04 Sep 2014, 02:19
Forum: Ask For Help
Topic: CHR codes from 128 to 159 decimal not working
Replies: 13
Views: 4160

Re: CHR codes from 128 to 159 decimal not working

Thanks, kon, worked a charm! Any thoughts on my Boolean search issue?
by JoeWinograd
03 Sep 2014, 21:11
Forum: Ask For Help
Topic: CHR codes from 128 to 159 decimal not working
Replies: 13
Views: 4160

Re: CHR codes from 128 to 159 decimal not working

Thanks, lexikos, very helpful. Now if I can just figure out the Boolean search...
by JoeWinograd
03 Sep 2014, 17:58
Forum: Ask For Help
Topic: CHR codes from 128 to 159 decimal not working
Replies: 13
Views: 4160

Re: CHR codes from 128 to 159 decimal not working

kon,
Thanks for that explanation - I do have the ANSI 32-bit EXE in ProgFiles, and running your script with it does, indeed, show the 128-159 symbols that I was expecting. Well done! Thanks very much, Joe
by JoeWinograd
03 Sep 2014, 17:03
Forum: Ask For Help
Topic: CHR codes from 128 to 159 decimal not working
Replies: 13
Views: 4160

Re: CHR codes from 128 to 159 decimal not working

guest3456,
Thanks for the reply - much appreciated. Regards, Joe
by JoeWinograd
03 Sep 2014, 17:02
Forum: Ask For Help
Topic: CHR codes from 128 to 159 decimal not working
Replies: 13
Views: 4160

Re: CHR codes from 128 to 159 decimal not working

Thanks for the reply, Kon. I ran it on my Unicode install and it does not show 128-159. I don't have an ANSI install to test it on (and I'd rather not do an uninstall/reinstall...twice), but I see your point. Regards, Joe
by JoeWinograd
03 Sep 2014, 16:07
Forum: Ask For Help
Topic: CHR codes from 128 to 159 decimal not working
Replies: 13
Views: 4160

CHR codes from 128 to 159 decimal not working

Version 1.1.14.03 on W7 Seems that AHK does not handle CHR codes from 128 to 159 decimal. I started out wanting to put the trademark symbol (153) in a message box (and a text file) and it showed up as a blank. But the copyright symbol (169) and registered trademark symbol (174) both worked fine. So ...
by JoeWinograd
03 Sep 2014, 15:25
Forum: Ask For Help
Topic: Boolean Search - AND, OR, NOT
Replies: 6
Views: 2642

Boolean Search - AND, OR, NOT

Hi AutoHotkey Experts, I wrote an AHK program that searches for a string in plain text files. It offers what I call a "Simple" search that searches for an entire phrase (either case sensitive or case insensitive) and also offers a RegEx search. It uses StringReplace to determine the number of occurr...

Go to advanced search