Home Automation

Morning Routine on Autopilot: Launch Apps and Clean Downloads Automatically

Your morning computer routine probably takes 3-5 minutes of clicking and waiting. Here's how to collapse it into a single F8 press.

What We'll Build

A single macro that runs when you sit down in the morning and handles everything:

  • Launch music player (Spotify, VLC, or any app)
  • Open browser with 4 specific tabs (Gmail, calendar, news, work dashboard)
  • Open email client
  • Move files older than 7 days from Downloads to an archive folder
  • Open your task manager or to-do app

Total time: approx 90 seconds, fully unattended. You press F8, then make coffee.

Launching Applications

Repio's post-script action type can run any executable. For launching apps at the start of the macro:

action_type,button,x,y,delay_ms,comment
script,,,,"C:\Program Files\Spotify\Spotify.exe",Launch Spotify
wait,,,,2000,Wait for Spotify to open
script,,,,powershell -c "Start-Process outlook",Launch Outlook
wait,,,,3000,Wait for Outlook

You can also use Win+R then type the app name then Enter as an alternative if you prefer purely keyboard-based actions. Both approaches work reliably.

Opening Browser Tabs

The most reliable way to open specific URLs in a browser from a macro:

script,,,,powershell -c "Start-Process 'https://mail.google.com'",Open Gmail
wait,,,,1500,
script,,,,powershell -c "Start-Process 'https://calendar.google.com'",Open Calendar
wait,,,,500,
script,,,,powershell -c "Start-Process 'https://news.ycombinator.com'",Open HN

Each URL opens as a new tab in your default browser. The 500ms delay prevents the browser from merging rapid opens into a single tab.

Cleaning Downloads

Use a PowerShell script as a post-script action to move old files to an archive folder. This moves (not deletes) files older than 7 days into a _archive subfolder. Safe, reversible, and takes under 1 second.

Prefer move over delete: Archiving files is safer than deleting them. If you accidentally moved something important, it's still in _archive. Set a monthly reminder to review and clean the archive folder.

Running on Login

In Repio settings (gear icon, General tab), enable Launch on login and Start minimized. Then set your morning routine macro as an autoplay macro - it will run automatically when Repio starts.

Alternatively, use Windows Task Scheduler to trigger Repio with a specific CSV file as argument at login time, giving you more control over scheduling.

Tips and Variations

  • Day-specific routines: Build Monday/Friday variants using separate CSV files and a batch script that selects which one to run based on the day of week.
  • Handles slow startup: Add generous wait times (2-3 seconds) after launching apps. Repio waits patiently - no need to time it perfectly.
  • Screen layout: Add window positioning actions to snap apps to specific monitor positions using Win+Left, Win+Right shortcuts.
  • Shutdown routine: Build a mirror macro for end-of-day: save open documents, close apps in order, lock screen. Same principle in reverse.

Ready to automate your morning routine?

Download Repio free and set up your first morning macro in 15 minutes.

Download Repio Free