Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Run different variables accordingly
#8
Open the list file in notepad, place text cursor at the beginning of a line, and run this macro. Run this macro for each line. This macro gets the line, moves the cursor to the next line, parses, and calls Maxbear_1.

Code:
Copy      Help
key HSE
str s.getsel
s.rtrim
if(!s.len) ret
key HD
ARRAY(str) a
findrx s "(.+) (\d+) (\d+)" 0 0 a

;to see parsed values, uncomment (delete spaces) following 3 lines
;out a[1]
;out a[2]
;out a[3]


Maxbear_1 a[1] a[2] a[3]


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)