VB Script for Laptop Keep Awake - Automate F12 Key Press

Job ID: 39977145

Budget: $10 – $30 USD

I want a lightweight VBS utility for Windows 11 that quietly sends the F12 key every ten seconds. Each time the script starts it must open a small popup so I can pick a start and end date/time; that popup should appear on every run because I chose that option. When I hit OK, a message box must confirm the script has begun and tell me exactly how many hours and minutes remain until shutdown.

Once active, the script should:

• Keep Windows awake by pressing F12 every 10 s.
• Stop precisely at the chosen end time.
• Install without requiring administrator rights.
• Register itself to run at each user log-in through a non-elevated method such as the HKCU “Run” key.

Deliverables

1. shiftpress.vbs with clear inline comments.
2. I want to test the application for one week

I’ll consider the project complete when the script installs without elevation, pops up the scheduler each time, logs the chosen times to the parameter file, confirms its run time in a message box, presses Shift every ten seconds, and terminates itself on schedule.