Code: Select all
#SingleInstance,Force
0::
Send #r
Send timedate.cpl
Send {Enter}
return
and physically type timedate
is there any way to hide all thoose typings and see final result { which is the date time dialouge box }
thank u
Code: Select all
#SingleInstance,Force
0::
Send #r
Send timedate.cpl
Send {Enter}
return
Code: Select all
Run, timedate.cpl
Code: Select all
send {Hello world }
Code: Select all
Clipboard := "", Clipboard := "timedate.cpl"
ClipWait, 0
If ErrorLevel {
MsgBox, 48, Error, An error occurred while waiting for the clipboard. Aborting.
Return
} Else Send #r
WinWaitActive, Run ahk_class #32770 ahk_exe explorer.exe,, 4
If ErrorLevel
MsgBox, 48, Error, An error occurred while waiting for the window. Aborting.
Else Send ^v
Users browsing this forum: bobstoner289 and 269 guests