Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Capturing Image & Time
#2
Macro Macro2739
Code:
Copy      Help
RECT r
if(scan("resource:<Macro1>image:h1B7A5E0B" win() r 16|128 250))
,CaptureImageOnScreen r.left r.top r.right-r.left r.bottom-r.top

Use functions of class DateTime. It can get time, parse time string etc.
Macro Macro2740
Code:
Copy      Help
DateTime t1.FromComputerTime
DateTime t2.FromStr("2016-04-06 16:30:15")
if(t2>t1) out "t2 is later"
else out "t2 is earlier"


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)