Weekly open web page
I wish to weekly open a web page. I have a shortcut that works to open the web page. However I have not figured out how to make it open it on a weekly schedule.
Any help is appreciated.
Any help is appreciated.
For example, Type: Command
Similar:
viewtopic.php?t=2661
Code: Select all
settimer, Action, 36000000 ;1 hour
return
Action:
if (A_DDD="Sun") and (A_Hour=8)
{
Run, www.fastkeysautomation.com ;replace with your code
}
return
viewtopic.php?t=2661
I copied yours in and have this:
Code: Select all
settimer, Action, 36000000 ;1 hour
return
Action:
if (A_DDD="Sun") and (A_Hour=8)
{
Run, www.fastkeysautomation.com
}
return
It gives me this error:
Error at line 7.
Line Text: Code: Select all
Error: This line does not contain a recognized action.
The program will exit.
Sorry, I do not write much code. What am I doing wrong?
Code: Select all
settimer, Action, 36000000 ;1 hour
return
Action:
if (A_DDD="Sun") and (A_Hour=8)
{
Run, www.fastkeysautomation.com
}
return
It gives me this error:
Error at line 7.
Line Text: Code: Select all
Error: This line does not contain a recognized action.
The program will exit.
Sorry, I do not write much code. What am I doing wrong?
You need to remove “Select all” line.
That worked. Now I will wait to see if it runs.
Thanks
Rick
Thanks
Rick
The code is set to run the software each Sunday between 8.00 and 9.00. You can change this in the script. If you want more precise setting, shorten the timer frequency (ms).
- kensonplays
- Posts: 15
- Joined: May 12th, ’23, 16:08
Is this based on 12 hr or 24 hr time?Tom wrote: ↑Feb 18th, ’25, 19:06 For example, Type: CommandSimilar:Code: Select all
settimer, Action, 36000000 ;1 hour return Action: if (A_DDD="Sun") and (A_Hour=8) { Run, www.fastkeysautomation.com ;replace with your code } return
viewtopic.php?t=2661

A_Hour is a current 2-digit hour (00-23) in 24-hour time (for example, 17 is 5pm).
- kensonplays
- Posts: 15
- Joined: May 12th, ’23, 16:08