I'm collecting data from a website by a procedure similar to this: select all, copy, paste in notepad, then searching for a static word that always is 3 rows above the value I want.
Code: Select all
Send, ^a^c
ClipWait
Run, Notepad.exe
WinWaitActive, Notepad ; btw, is this the best way to ensure that next row doesn't execute too early?
Send, ^v
sleep 100
clipboard =
Send, ^{Home}^f
Sleep, 100
Send, static word{Enter}!{F4}
Sleep, 100
Send, {Home}{Down 3}^{Right}^+{Left}^c ; this right-then-left-thing is to avoid an initial tab. Guess I could Trim it instead.
ClipWait
var1 := clipboard
clipboard =