I have a text file which has quite a bit of text that I have to check on a regular basis. I was wondering if there was a way of using autohotkey to create a script that will search the text for a specific word and then copy the text that is right next to it?
I know the basics of scripting and have gone through the tutorials, and I think I would be able to get the copied data where I need to use it.
For example I would like to be able to find and copy to clipboard the license # from the following example,
Quote:
Dog license number registered to Jane Doe
Burmington California
2 warnings given, has following dog tags recorded.
Jane Doe, Dog Name Scruffy, License#1 abcd1234
123 roadname st.
Burmington, CA. 33124
Record # 92211LG
I want to create a script that would search out "License#1" but then copy and paste the actual license # listed just to the right of that, in this example it's abcd1234. Because the license number will always change I don't think I can have it search for that, I need to have this script search for License#1 as that doesn't change, but it is the license number adjacent to that (abcd1234) that I DO need copied to clipboard.
Thank you very much for any help[/quote]