Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
about pixel()
#1
Hi~ Gintaras~!!

When I use pixel() like this

int w=win("ABC" "ABC")
str T.F"0x{pixel 150 205 w 0x1000} "
out T

if the answer is "0x0AFFFF", T is "0xAFFFF"
what could I do to make result "0x0AFFFF" ?

Thanks Always..
#2
Macro Macro2754
Code:
Copy      Help
int color=0x0AFFFF
str T=F"0x{color%%06X}"
out T

;it is the same as
T.format("0x%06X" color)
out T
#3
Thank you Gintaras~!


Forum Jump:


Users browsing this thread: 1 Guest(s)