I'm new to autohotkey.
I can't figure out how to run my ahk at a specific time on daily basis
could you please tell me what to add in my script to run this at 1 am every day?
Here is the ahk script that I have so far:
Code: Select all
#SingleInstance,Force
#Persistent
Run PowerShell.exe
Sleep, 3000 ;3 Seconds
Send,
(
& "C:\Users\MyUserName\OneDrive - For Business\Company\PowerShell\Update-Data.ps1"
Sleep -Seconds 5
Exit
)
Send, {Enter}
ExitApp
Thank you in advance for your help