Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
getprop and setprop
#4
example
attaches a number to notepad window and later gets the number
Macro
Code:
Copy      Help
int w1=win("Untitled - Notepad" "Notepad")
SetProp(w1 "myluckynumber" 13)
;...
w1=win("Untitled - Notepad" "Notepad")
int i=GetProp(w1 "myluckynumber")
out i


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)