compare copied date

Get help with using AutoHotkey and its commands and hotkeys
deanosh8855
Posts: 20
Joined: 28 Jan 2021, 04:37

compare copied date

28 Jan 2021, 08:53

hey
i have a copied date from a program i used
i need to compare it to real time as i have in my computer
and tell me how much time has been passed between them

Code: Select all

^5::
;send,
;Run, %C:\Program Files(x86)\update.exe
settitlematchmode, 2
winactivate, watch_ro
sleep, 200
Send, !1
sleep, 100
Mousemove,80,150
Click, left
;Send, {down 2}
sleep, 100
Send, {AppsKey}
sleep, 100
send, {Down}{right}{enter}
sleep, 100
FormatTime, TimeString
MsgBox %ClipBoard% (time first) is %TimeString%
return
i dont know how to make the script compare
thank you all
Last edited by BoBo on 28 Jan 2021, 11:21, edited 1 time in total.
Reason: Added [code][/code]-tags.
BoBo
Posts: 4366
Joined: 13 May 2014, 17:15

Re: compare copied date

28 Jan 2021, 11:25

Would make sense to see the format of the time stamp you wanna compare!? :)
https://www.autohotkey.com/docs/commands/EnvSub.htm#ExDate (change example 2 to your liking).

Return to “Ask For Help”

Who is online

Users browsing this forum: AHKStudent, albertocv, Bing [Bot], boiler, braunbaer, Google [Bot], roysubs, Xeo786 and 59 guests