Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Edit Control
#1
High i was just wondering.
If i have an edit box and the number in it is 25. can i make a macro run a different code if the number in the edit box is higher then 25?
So macro calls to see if the number is Higher then 25, and if it Calls another string?
#2
Macro
Code:
Copy      Help
int hwnd=id(1156 win("Options" "#32770")) ;;get edit control handle
str s; int i
s.getwintext(hwnd)
i=val(s)
if(i>25)
,out 1
else
,out 2


Forum Jump:


Users browsing this thread: 1 Guest(s)