I need to be able to find 3 different texts on a webpage and make them variables.
The strings are as follows: a 8 digit line that always starts with "11", a 10 digit line that always begins with either "39" or "59" and a 6 digit line that always starts with "13".
When I was looking for a solution I found this topic : https://autohotkey.com/board/topic/8033 ... clipboard/
Code: Select all
^F9::
Send,^a
Send,^c
ClipWait,2
clip = %clipboard%
JBLen := 8
if pos := Instr(clip,"11-")
{
StringMid,JobStr,clip,pos,JBLen
MsgBox, 4160, , Job code is - %JobStr%
}
else MsgBox, 4112, , Did not find job string
return
Thank you in advance for any assistance.