02-16-2011, 04:58 AM
i guess last time i asked this question i didn't explain it to well, i need help getting win text from two different static texts on a dialog and subtracting one of those text from the other text,
Thanks For Any Help Added
str a.getwintext(id(3 "Dialog"))
str b.getwintext(id(4 "Dialog"))
;;then subtract id(4 "Dialog"))
;;from id(3 "Dialog"))
;; say id(3 "Dialog")) has an amount of 1000
;; and id(4 "Dialog")) has an amount of 250
;; subtract 250 from 1000 would = 750 so that would break
;; if id(4 "dialog")) has an amount of 500 subtract that from id(3 "Dialog")) that would = 500 then out ret
;;if = 500 out
ret
else, break