Weekly open web page

Discussion, questions and support.
Post Reply
rltidd27
Posts: 20
Joined: Sep 14th, ’20, 01:05

Post by rltidd27 » Feb 18th, ’25, 16:33

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.
User avatar
Tom
Posts: 897
Joined: Nov 24th, ’15, 23:39

Post by Tom » Feb 18th, ’25, 19:06

For example, Type: Command

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
Similar:
viewtopic.php?t=2661
rltidd27
Posts: 20
Joined: Sep 14th, ’20, 01:05

Post by rltidd27 » Feb 19th, ’25, 01:33

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?
User avatar
Tom
Posts: 897
Joined: Nov 24th, ’15, 23:39

Post by Tom » Feb 19th, ’25, 07:10

You need to remove “Select all” line.
rltidd27
Posts: 20
Joined: Sep 14th, ’20, 01:05

Post by rltidd27 » Feb 19th, ’25, 10:39

That worked. Now I will wait to see if it runs.
Thanks
Rick
User avatar
Tom
Posts: 897
Joined: Nov 24th, ’15, 23:39

Post by Tom » Feb 19th, ’25, 17:24

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).
User avatar
kensonplays
Posts: 15
Joined: May 12th, ’23, 16:08

Post by kensonplays » Mar 25th, ’25, 03:41

Tom wrote: Feb 18th, ’25, 19:06 For example, Type: Command

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
Similar:
viewtopic.php?t=2661
Is this based on 12 hr or 24 hr time?
Image
User avatar
Tom
Posts: 897
Joined: Nov 24th, ’15, 23:39

Post by Tom » Mar 25th, ’25, 06:27

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

Post by kensonplays » Mar 27th, ’25, 02:30

Tom wrote: Mar 25th, ’25, 06:27 A_Hour is a current 2-digit hour (00-23) in 24-hour time (for example, 17 is 5pm).
I prefer 12 hr time, is there a way to do it with that?
Image
Post Reply