How can I use this find the word SCRIPTS:
Code: Select all
F12::
Clipboard :="Recommended for new scripts due to its superior speed and reliability."
Text := StrSplit(clipboard,"/")
Find := StrSplit(Text.1,"due").1
Msgbox %Find%
return
And if anyone could help me to do the below in a better way as I can not use dates and formates to do it myself yet. So I do it the dumbs way
How to replace the code under with a better way to do it?
Code: Select all
Clipboard := "25.05.2022"
FindYear := StrSplit(clipboard,"/")
Year := StrSplit(FindYear.1,".").3
Msgbox, %Year%
SendInput, Clipboard
Sleep, 1000
Send, {End}
Sleep, 1000
Send, {Backspace 4}
SendInput, 2025 ;All this is doing is to turn the date in clipboard into 25.05.2025.
return