compare copied date

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

compare copied date

28 Jan 2021, 08:53

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

;Run, %C:\Program Files(x86)\update.exe
settitlematchmode, 2
winactivate, watch_ro
sleep, 200
Send, !1
sleep, 100
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%
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.
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!? :) (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