228 blocks
Every block you can build a routine from
Triggers start a routine, steps do the work and conditions decide what happens next. Search them all, or browse by area.
228 of 228 blocks
- Close appClose app shuts down the programs you pick, or every open app except the ones you want to keep. People put it at the end of a work session, before a game, or anywhere a cluttered taskbar gets in the way.step·Apps
- Open appOpen app starts a program, a Store app, a shortcut or a game from your library. It is the first step of most setup routines, from a morning work session to a full streaming setup.step·Apps
- Run as administratorRun as administrator starts a program or shortcut with elevated rights, the same as right-clicking it and choosing "Run as administrator". It is handy for tools that only work elevated, like some system utilities or hardware control panels.step·Apps
- Restart appRestart app closes a program and opens it again in a single step. It is made for apps that misbehave after the PC wakes from sleep, after a headset or dock change, or after running for a long time.step·Apps
- Mute an appMute an app silences one program, such as Spotify, Discord or a browser, without touching the master volume. People use it to quiet music when a call starts, or to silence a noisy app while something else keeps playing.step·Audio
- App volumeApp volume sets how loud one program is, separate from the master volume. It is handy for keeping music low while you talk, or bringing a game's sound back up after a call.step·Audio
- Set default audio deviceSet default audio device makes a playback or recording device the one Windows uses. People run it to move sound to a headset when gaming or a call starts, and back to speakers afterwards.step·Audio
- Mute or unmuteMute or unmute silences or restores the master output, the default microphone, an app or one specific device. It is the go-to block for a system-wide mic mute key or for silencing the PC at night.step·Audio
- Set volumeSet volume changes the level of the master output, the microphone, one device or one app. Use it to set a quiet level at night, a louder level for speakers, or a steady mic level before you record.step·Audio
- Open URLsOpen URLs opens one or more web pages in your default browser, or in a chosen browser and profile. It is the quickest way to bring up the same set of pages every time, such as your work dashboards or a game's guides.step·Browser
- Get clipboardGet clipboard reads what is on the clipboard so later steps can use it. Choose text, copied files, or an image, which is saved as a PNG file you name.step·Clipboard
- Set clipboardSet clipboard puts text, files or an image on the clipboard, or empties it. Use it to prepare something for pasting, hand files to a folder, or clear sensitive data after a while.step·Clipboard
- App or window in frontApp or window in front is a condition that checks whether a chosen app is the active window right now. It keeps a routine from doing something in the wrong place, for example only sending keys when your editor has focus.condition·Apps
- Full-screen app in frontFull-screen app in front is true while a full-screen app or game is in the foreground. People use it to keep routines quiet during games, movies and presentations.condition·Apps
- App is readyApp is ready waits until an app has truly finished starting, not just until its process exists. It is what makes "open it, then arrange it" routines reliable for slow apps with splash screens.condition·Apps
- App is runningApp is running is a condition that is true while a chosen app or game is open. It's the simplest way to make a routine skip a step, or wait, based on what you have running.condition·Apps
- Audio device connectedAudio device connected is a condition that is true while a chosen headset, speaker or microphone is plugged in or paired. Routines use it to decide which device to switch to, or to pause until a headset is ready.condition·Audio
- Audio device is the defaultAudio device is the default is true when a chosen device is connected and Windows uses it as a default. It is the condition behind toggles that flip between headset and speakers with one key.condition·Audio
- Mic or camera in useMic or camera in use is a condition that is true while an app is using your microphone, your camera, or either one. It's a simple way for a routine to know you're on a call.condition·Devices
- Clipboard containsClipboard contains checks what kind of thing is on the clipboard, and optionally whether its text matches a pattern. It lets one routine handle links, images and plain text in different ways.condition·Clipboard
- Compare valuesCompare values is the everyday yes-or-no check in KeyRoutines. You put a value on the left, pick a test, and put a value on the right, so an If can branch on things like a battery level, a window title or a number an earlier step worked out.condition·Flow and routines
- Device connectedDevice connected is a condition that is true while a particular USB or Bluetooth device is connected. Use it so a routine behaves differently at your desk with the dock plugged in than on the go.condition·Devices
- Expression is trueExpression is true is the power-user condition. Instead of filling in a form, you type a short expression, for example a counter of at least 3 and Visual Studio Code in front, and the routine treats the result as yes or no.condition·Flow and routines
- File or folder existsFile or folder exists is a condition that answers one question: is this path there right now, and does it look the way you expect? People use it to skip a step when a file is missing, or to hold a routine until an export or render has finished saving.condition·Files
- Protected game runningProtected game running is true while a game protected by anti-cheat is running, which is when KeyRoutines' game-safe mode is active. Use it to skip steps that would be refused anyway, or to hold back a banner until you stop playing.condition·Games
- Game is readyGame is ready is App is ready with settings tuned for games. It waits for the real game window, a responsive game and settled CPU, so the rest of your gaming setup runs when the game has actually loaded.condition·Apps
- Idle forIdle for is true when nobody has touched the keyboard or mouse for at least the time you set. It's the check for "only do this if I've stepped away".condition·System
- Key or button heldKey or button held is true while a key, a combination or a mouse button is being held down. Its favourite use is a "hold Shift for the other version" variant of a hotkey routine.condition·Hotkeys
- Media is playingMedia is playing is true while a player is actively playing. Check any player or one in particular, such as Spotify, so a routine can pause music only when there is music to pause.condition·Media
- Remembered value isRemembered value is reads a value saved by Remember or Toggle and answers a simple question about it. It's how a single hotkey knows whether to switch something on or put it back.condition·Flow and routines
- Mode is onMode is on tells a routine whether one of your modes is currently switched on. Use it to keep other routines quiet during Gaming mode, or to pick different steps when Work mode is active. Modes need KeyRoutines Pro.condition·ModesPro
- Monitor connectedMonitor connected checks whether a particular monitor, such as your desk display or the living-room TV, is plugged in right now. Routines use it to choose between a docked setup and a laptop-only one.condition·Windows
- Monitor countMonitor count compares the number of monitors that are on with a number you choose. It is the quick way to tell a single-screen laptop from a multi-monitor desk without naming specific displays.condition·Windows
- Main monitorMain monitor checks whether a chosen monitor is the one Windows treats as the main display, where the taskbar and new windows usually go. It's useful for setups that switch between a desk monitor and a TV or projector.condition·Windows
- Internet availableInternet available is true when Windows says the PC has internet access. Put it in front of anything that needs to go online.condition·Devices
- Host reachableHost reachable checks whether a specific computer, server or web address answers. It's useful for home servers, NAS boxes, game servers and sites your routine depends on.condition·Devices
- VPN connectedVPN connected is true while a VPN connection is up. Leave the name empty for any VPN, or type part of a connection's name to look for one in particular.condition·Devices
- On Wi-Fi networkOn Wi-Fi network is true while the PC is connected to the Wi-Fi network you name, or to any Wi-Fi if you leave the name empty. It lets the same routine act differently at home, at work and on the move.condition·Devices
- OBS is connectedOBS is connected is a condition that is true when KeyRoutines can talk to OBS Studio. Its most common job is sitting right after Open app OBS, holding the routine until OBS is ready to take commands.condition·OBS Studio
- OBS scene isOBS scene is checks whether OBS's program scene, the one viewers see, is the one you name. It lets a routine behave differently on your Gameplay scene than on Just Chatting or Be Right Back.condition·OBS Studio
- OBS is recordingOBS is recording is a condition that is true while OBS has a recording running. A paused recording still counts, and the reason tells you it's paused.condition·OBS Studio
- OBS is streamingOBS is streaming is true while OBS is sending a live stream. Use it to keep certain steps for when you're on air, or to stop a routine from doing something disruptive mid-stream.condition·OBS Studio
- Desktop icons are showingDesktop icons are showing is a condition that answers whether the icons on your desktop are visible or hidden. It is useful when one routine should behave differently depending on how your desktop looks right now.condition·Display
- Dark mode is onDark mode is on is a condition that tells a routine whether apps, or Windows' own taskbar and Start, are using dark or light mode. Use it to keep other things, such as your wallpaper, in step with the theme.condition·Display
- Battery levelBattery level passes when your battery is at least the percentage you choose. Routines use it to skip or delay power-hungry steps when the laptop is running low.condition·System
- Plugged in or on batteryPlugged in or on battery checks whether the PC is running on mains power or on its battery right now. It lets one routine choose between a full-power and a battery-saving setup.condition·System
- Routine is runningRoutine is running checks whether a routine you pick has a run going right now. People use it to avoid starting a long job twice or to wait for one routine before another one changes the same things.condition·Flow and routines
- Script resultScript result looks at what an earlier script step gave back and answers true or false. It needs KeyRoutines Pro and turns script output into a simple decision, so the rest of the routine can stay script-free.condition·ScriptsPro
- PC is unlockedPC is unlocked is true while you're signed in and the lock screen isn't showing. Put it in front of anything that needs you at the PC, like sounds, prompts or keystrokes.condition·System
- Step succeededStep succeeded looks back at a step earlier in the same routine and tells you if it worked. It's most useful after a step that's allowed to fail, so you can try a backup plan instead of stopping.condition·Flow and routines
- Time and dayTime and day is true between two times on the days you choose, and optionally only within a date range. It answers questions like 'is it working hours?' so a routine does the right thing for the time of day.condition·Schedule
- Started by triggerStarted by trigger checks which of a routine's own triggers began this run. That lets one routine react a little differently to a hotkey, a schedule or an app opening without keeping separate copies.condition·Flow and routines
- Window existsWindow exists is true while a window that matches your description is open. Use it to wait for a dialog, a specific document or a browser window before a routine carries on.condition·Windows
- Add to dateAdd to date moves a date forward by an amount you choose, from seconds up to years. Leave the date empty and it starts from right now, which makes "one week from today" a single step.step·Data and variables
- Time between datesTime between dates measures the gap from one date to another in the unit you pick. Leave the later date empty to measure up to now, which is how you ask "how long since" or "how long until".step·Data and variables
- Format dateFormat date writes a date as text in the layout you choose. It's the step behind dated file names, readable times in messages and timestamps in log files.step·Data and variables
- Read dateRead date turns text that holds a date into a real date the other date steps understand. It also hands you its parts, so you can check the weekday or month on their own.step·Data and variables
- Subtract from dateSubtract from date moves a date back in time by an amount you choose. With the date left empty it counts back from now, so "30 days ago" takes one step.step·Data and variables
- Count dictionary entriesCount dictionary entries tells you how many named entries a dictionary has. It also gives you separate lists of the names and the values, which is handy for going through them one by one.step·Data and variables
- Get dictionary valueGet dictionary value looks up one entry by its name. It's how you take a single setting or field out of a dictionary your routine built or received.step·Data and variables
- Remove dictionary keyRemove dictionary key gives you a copy of a dictionary without one entry. The original stays as it was, so earlier steps' results never change under you.step·Data and variables
- Set dictionary valueSet dictionary value adds an entry to a dictionary or replaces one with the same name. Leave the dictionary empty to start a fresh one, which is a simple way to bundle related values.step·Data and variables
- Discord: deafenDiscord: deafen turns Discord's deafen on or off, or flips it, straight from a routine. It needs KeyRoutines Pro and is handy for stepping away from a call or blocking out voice chat during a tense moment.step·DiscordPro
- Discord: join voice channelDiscord: join voice channel connects you to a voice channel you choose. It needs KeyRoutines Pro and fits routines that set up a gaming session, so you land in your squad's channel as soon as you are ready.step·DiscordPro
- Discord: leave voice channelDiscord: leave voice channel hangs up from whatever voice channel you are in. It needs KeyRoutines Pro and is the natural last step of a gaming or meeting routine.step·DiscordPro
- Discord: muteDiscord: mute turns your Discord microphone mute on, off, or to the opposite. It needs KeyRoutines Pro and is the reliable way to mute Discord from a hotkey or a trigger.step·DiscordPro
- Discord: push-to-talk modeDiscord: push-to-talk mode switches Discord's input mode between Push to Talk and Voice Activity, or flips it. It needs KeyRoutines Pro and suits people who want open mic in small calls and push to talk everywhere else.step·DiscordPro
- Discord: input deviceDiscord: input device sets which microphone Discord uses. It needs KeyRoutines Pro and is the only way a routine can move Discord to a specific mic, because Discord has no keybind for its devices.step·DiscordPro
- Discord: output deviceDiscord: output device chooses where Discord plays voices: your headset, your speakers or Default. It needs KeyRoutines Pro, and since Discord has no keybind for its devices, it's how a routine moves Discord's sound to one particular device.step·DiscordPro
- Discord: user volumeDiscord: user volume sets how loud one person sounds to you, using Discord's own per-user slider. It needs KeyRoutines Pro and helps when one friend is always too quiet or too loud.step·DiscordPro
- Set brightnessSet brightness changes how bright a screen is, from 0 to 100. It works with laptop and tablet panels and with external monitors that accept brightness commands, so you can dim everything at night or brighten up for daytime work.step·Display
- HDR on/offHDR on/off turns high dynamic range on, off, or to the opposite state on one monitor. It needs KeyRoutines Pro and is popular in gaming routines that enable HDR when a game starts and disable it afterwards.step·DisplayPro
- Set display modeSet display mode changes a monitor's resolution and refresh rate. It needs KeyRoutines Pro and is made for routines that switch to the highest refresh rate for games and back to a calmer mode for work.step·DisplayPro
- Set Elgato lightSet Elgato light sets how bright your Elgato light is and how warm or cool it looks. It needs KeyRoutines Pro and works with Key Light, Key Light Air, Key Light Mini and Ring Light on your home network.step·Elgato lightsPro
- Turn Elgato light on or offTurn Elgato light on or off switches one Elgato light, or all of them, on, off, or the other way round. It needs KeyRoutines Pro and fits naturally into routines that start and end calls or streams.step·Elgato lightsPro
- Add text to fileAdd text to file writes new text at the end of a text file without touching what is already there. It is the easy way to keep a running log, a journal entry per day, or a list of things a routine has handled.step·Files
- Get file infoGet file info reads the details of one file or folder and hands them to the rest of your routine. It is handy when a later step needs the extension, the size or the date a file last changed.step·Files
- List filesList files collects the files in a folder that match your filters and gives you the list to work with. It is usually paired with For each so a routine can deal with many files one at a time.step·Files
- Move or copy fileMove or copy file puts a file or folder somewhere else, either moving it or leaving the original and making a copy. It is the workhorse behind download sorting, archiving and backup routines.step·Files
- Open file or folderOpen file or folder opens something on your PC as part of a routine. Use it to bring up today's notes, a project folder, or the file a trigger just found.step·Files
- Read JSON valueRead JSON value opens a JSON file and picks out a single value by its path, or the whole document if you leave the path empty. It lets a routine use settings you keep in a small config file.step·Files
- Read text fileRead text file loads what is written in a text file so later steps can use it. People use it to check a log for a word, show a note on screen, or work through a list one line at a time.step·Files
- Delete to Recycle BinDelete to Recycle Bin removes one item, or every item in a folder that matches a name pattern, by putting it in the Recycle Bin. It is the safe way to automate clean-ups because nothing is gone for good.step·Files
- Rename fileRename file changes a file or folder's name without moving it. You can write a whole new name, or find and replace part of the current one.step·Files
- Unzip fileUnzip file extracts a zip archive into a folder. Leave the destination empty and it creates a folder named after the zip, right next to it.step·Files
- Write JSON valueWrite JSON value sets one value inside a JSON file and leaves the rest of the document as it was. Use it to save a counter, a last-run date, or a setting another tool reads.step·Files
- Write text fileWrite text file saves text into a file. It can replace whatever the file held, or only write when the file doesn't exist yet so nothing is ever overwritten.step·Files
- Zip filesZip files puts several files and folders into a single zip archive. It suits quick backups, sharing a batch of files, or archiving a finished project.step·Files
- Stop repeatingStop repeating ends the Repeat it's inside and carries on with whatever comes after it. Use it when you've found the item you were looking for or a check says there's no point going round again.step·Flow and routines
- CommentComment is a note you drop between steps. It does nothing when the routine runs; it's there so you remember why a step exists or what a section of the routine is for.step·Flow and routines
- Next roundNext round jumps straight to the next round of the Repeat it's in, skipping the steps left in this one. It's handy for passing over files, lines or items that don't need any work.step·Flow and routines
- DelayDelay pauses the routine for a time you choose before the next step runs. People add it after opening an app, between key presses, or anywhere a program needs a moment to react.step·Flow and routines
- Finish routineFinish routine ends the whole routine successfully on the spot and hands back the outputs you fill in. It's the way a small helper routine returns an answer to the routine that started it.step·Flow and routines
- Stop routineStop routine ends the current run right there. You choose how it should be recorded and can add a short message, which makes the run history easy to read later.step·Flow and routines
- Create folderCreate folder makes a folder, including any folders above it that don't exist yet. It is often the first step before moving or saving files into a dated location.step·Files
- Organize folderOrganize folder tidies a folder by moving its files into subfolders. It is the one-step answer to a cluttered Downloads folder or Desktop.step·Files
- Open game pageOpen game page opens a game's own page in its launcher, its Steam store page, the Steam library, or Steam Big Picture. It is a quick way to check updates or news without clicking through the launcher.step·Games
- HTTP requestHTTP request calls a web API and hands the answer to your routine. It needs KeyRoutines Pro and connects routines to smart home hubs, status pages, to-do services and anything else with a REST API.step·WebPro
- Click in appClick in app presses a point inside a window that isn't in front, without moving your pointer or bringing that window forward. It needs KeyRoutines Pro and is meant for classic desktop apps with ordinary buttons, check boxes and lists.step·Keys and mousePro
- MouseMouse clicks, scrolls, drags or moves the pointer in the app in front. Points are picked relative to a window or a monitor rather than fixed screen pixels, so a routine keeps working when windows move or your monitors change.step·Keys and mouse
- Press keysPress keys sends a key combination or a whole sequence, such as Ctrl+C, wait 300, Ctrl+V, to the app in front or to a chosen app. It is the simplest way to use an app's own shortcuts from a routine.step·Keys and mouse
- Send text to appSend text to app types or inserts text into an app that isn't in front, and leaves that app where it is. It needs KeyRoutines Pro and is useful for filling in a desktop tool or chat while you carry on with something else.step·Keys and mousePro
- Type textType text writes text into the window in front, either key by key or by pasting it. People use it for signatures, standard replies, and filling in fields with values from earlier steps.step·Keys and mouse
- Add to listAdd to list puts one item into a list. It's how a routine collects things as it goes, like file names found in a loop or answers to several questions.step·Data and variables
- Count list itemsCount list items tells you how long a list is and whether it's empty. It's the quick check before a loop, or the number you show at the end.step·Data and variables
- Get list itemGet list item takes one item from a list by its position. Use it to grab the first search result, the last line of a file, or a random pick from a list.step·Data and variables
- Remove from listRemove from list takes items out of a list, either by matching a value or by position. You get a new list back and the original stays untouched.step·Data and variables
- Sort listSort list puts the items of a list in order, A to Z or Z to A. For lists of dictionaries, like file details, you can sort by one field such as name or size.step·Data and variables
- Remove duplicatesRemove duplicates keeps one copy of each value in a list and drops the repeats. It's the tidy-up step after collecting things from several places.step·Data and variables
- CalculateCalculate works out a formula you type, like a price times 1.2 or a volume minus 10. Values from other steps go straight into the formula, so you can do real maths without a separate tool.step·Data and variables
- Random numberRandom number picks a number between a smallest and largest value. By default it's a whole number from 1 to 100, like a dice with a hundred sides.step·Data and variables
- Round numberRound number tidies a number to the decimals you want. Choose nearest, always up or always down, for neat display or for steps that need whole numbers.step·Data and variables
- Media controlMedia control sends play, pause, next, previous or stop to whatever is playing, or to a player you name. People use it to pause music for calls, resume it after games, and give keyboards without media keys a set of their own.step·Media
- Get now playingGet now playing reads what a player is playing right now: the title, the artist and the app. Use it to show the current song, log what you listened to, or decide what a routine should do next.step·Media
- Toggle modeToggle mode switches a mode the other way from how it is now. It's the step behind one-key modes such as AFK mode, where the same hotkey turns it on and later restores everything. Modes need KeyRoutines Pro.step·ModesPro
- Turn mode offTurn mode off ends a mode that's on and, by default, puts back what that mode changed. Use it at the end of a game, a stream or a work session to return the PC to how it was. Modes need KeyRoutines Pro.step·ModesPro
- Turn mode onTurn mode on switches on one of your modes, such as Gaming mode or Work mode, from inside another routine. The mode remembers what it changes so it can put things back later. Modes need KeyRoutines Pro.step·ModesPro
- Ask for inputAsk for input pops up a question with a text box and waits for your answer. Use it when a routine needs something only you know, like a project name, a note, or a search term.step·Notifications
- Ask with buttonsAsk with buttons shows a Windows notification with up to three buttons and waits for a click. It's the lightest way to let a routine ask you something, even while you're in a game.step·Notifications
- Show bannerShow banner puts a large text message on screen for a set time. Unlike a Windows notification, it still shows when a borderless full-screen app is in front, and it never takes the mouse or keyboard.step·Notifications
- Add to bellAdd to bell writes a silent entry into KeyRoutines' bell, the list of notices in the app. Nothing pops up and nothing plays, so it's the polite way for a routine to report back.step·Notifications
- Choose from a listChoose from a list shows a question with a list of answers and waits for you to pick one. It lets one routine cover several variations, such as different projects, games or layouts.step·Notifications
- Ask Yes or NoAsk Yes or No asks a simple question and waits for an answer. It's the safety catch before steps you don't always want, like closing apps or shutting down.step·Notifications
- Show progressShow progress puts a progress bar on screen for a routine that takes a while. Later steps can update it with a new line of text or a new percentage, then close it.step·Notifications
- Play soundPlay sound plays one of Windows' own sounds or a sound file you choose. It's a quick audible cue that a routine finished, started, or needs you.step·Notifications
- Speak textSpeak text reads a sentence aloud using a voice installed in Windows. It's ideal for updates you want to hear rather than see, like "Stream is live" in your headset.step·Notifications
- Show notificationShow notification pops up a regular Windows notification from KeyRoutines and copies it to the bell. A typical use is the last step of a setup routine, like telling you a game is ready.step·Notifications
- OBS: record / stream / replayOBS: record / stream / replay controls OBS's outputs from a routine: recording, the live stream, the replay buffer and the virtual camera. Gaming routines often use it to start the replay buffer when a game launches.step·OBS Studio
- OBS: filter on or offOBS: filter on or off flips one filter on a source or scene. Think mic noise suppression, a webcam colour correction, or a blur you add over the screen. This step needs KeyRoutines Pro.step·OBS StudioPro
- OBS: mute or unmuteOBS: mute or unmute changes the mute on one of OBS's audio sources, such as Mic/Aux or Desktop Audio. It works through OBS's own mixer, so only the stream and recording are affected. This step needs KeyRoutines Pro.step·OBS StudioPro
- OBS: set volumeOBS: set volume changes the level of one OBS audio source, using the same decibel scale as OBS's mixer. This step needs KeyRoutines Pro.step·OBS StudioPro
- OBS: switch profileOBS: switch profile changes which OBS profile is loaded, with its own stream and output settings. Handy if you keep one profile for streaming and another for local recording. This step needs KeyRoutines Pro.step·OBS StudioPro
- OBS: switch sceneOBS: switch scene changes the scene OBS shows to viewers. It's free and needs no setup beyond turning on OBS's WebSocket server.step·OBS Studio
- OBS: switch scene collectionOBS: switch scene collection loads another set of scenes and sources in OBS. Streamers who keep separate collections for different games or shows use it to swap everything at once. This step needs KeyRoutines Pro.step·OBS StudioPro
- OBS: show or hide a sourceOBS: show or hide a source turns a source in a scene visible or invisible, the same as clicking its eye icon in OBS. This step needs KeyRoutines Pro.step·OBS StudioPro
- OBS: studio modeOBS: studio mode turns OBS's studio mode on or off, or sends the preview scene to the live program. It suits streamers who like to prepare a scene before showing it. This step needs KeyRoutines Pro.step·OBS StudioPro
- OBS: press an OBS hotkeyOBS: press an OBS hotkey runs one of OBS's built-in hotkey actions directly, without needing a key bound inside OBS. Use it for OBS features KeyRoutines has no dedicated step for. This step needs KeyRoutines Pro.step·OBS StudioPro
- Show or hide desktop iconsShow or hide desktop icons does the same as right-clicking the desktop and choosing View ▸ Show desktop icons. People use it before streaming, recording or presenting so the desktop looks clean.step·Display
- Switch keyboard layoutSwitch keyboard layout changes the active input language to a layout you name, as the language switcher on the taskbar does. Multilingual users run it when they open a specific app, so they start typing in the right language.step·Display
- Dark or light modeDark or light mode switches Windows 11 between dark and light themes for apps, for Windows itself, or both. It is a favourite for schedules that go dark in the evening and light again in the morning.step·Display
- Set wallpaperSet wallpaper changes the desktop background to a picture you choose, on one monitor or on every monitor. Use it to give work, gaming and streaming their own look, or to rotate backgrounds through the day.step·Display
- Wi-Fi or Bluetooth on/offWi-Fi or Bluetooth on/off switches one of your PC's radios, just like the buttons in Quick Settings. It's handy for focus time, saving battery, or making sure Bluetooth is ready for your headphones.step·Devices
- Cancel routineCancel routine stops the runs of a routine you pick. It's useful as an emergency hotkey or to end a long job when something else takes priority.step·Flow and routines
- Send routine eventSend routine event broadcasts a named signal from this routine. Other routines that listen with the Routine event trigger start when it's sent, so you can chain routines without them knowing about each other.step·Flow and routines
- Run routineRun routine starts another routine from inside the current one. You can hand it inputs, wait for it to finish and use its outputs, or just start it and keep going.step·Flow and routines
- Turn routine on or offTurn routine on or off enables or disables another routine. A disabled routine's triggers stop listening until it's turned back on, which is a neat way to pause automations for a while.step·Flow and routines
- Take screenshotTake screenshot captures a window, a part of the screen, one monitor or all of them. Save it as a file, copy it to the clipboard, or keep it just for the next steps of the routine.step·Screen
- Run commandRun command runs batch commands for cmd, or starts a program with a list of arguments, out of sight. It needs KeyRoutines Pro and is the bridge to command-line tools like git or your own .bat files.step·ScriptsPro
- Run JavaScriptRun JavaScript runs a short piece of JavaScript in a locked-down sandbox and hands its result to later steps. It needs KeyRoutines Pro and is meant for calculations and reshaping data, not for controlling the PC.step·ScriptsPro
- Run PowerShellRun PowerShell runs PowerShell code you write in the step, or a .ps1 file. It needs KeyRoutines Pro and is for the jobs that no ready-made block covers yet.step·ScriptsPro
- HibernateHibernate saves everything to disk and powers the PC down, so it uses no power but comes back with your apps where you left them. People put it at the end of an evening routine or after a long download.step·System
- Keep awakeKeep awake stops Windows from going to sleep, and can keep the screen on as well. It's for downloads, renders, presentations and anything else that shouldn't be cut off by a sleep timer.step·System
- Lock the PCLock the PC shows the lock screen, just like pressing Win+L. It's most useful when something else decides the moment, such as being idle, a time of day, or leaving your desk.step·System
- Quiet modeQuiet mode turns KeyRoutines' own quiet mode on, off, or the other way round. It's made for Gaming Mode and focus routines, so KeyRoutines doesn't pop up while you're busy.step·Notifications
- RestartRestart reboots the PC from a routine. A countdown with a Cancel button comes first, so a scheduled restart never surprises you mid-task.step·System
- Turn the screen offTurn the screen off powers down your displays right away while the PC keeps running. Moving the mouse or pressing a key turns them back on.step·System
- Set power modeSet power mode changes the Windows 11 power mode you find under Settings, System, Power: best power efficiency, balanced or best performance. Gamers flip it to performance for a session and back afterwards.step·System
- Set power planSet power plan switches the classic Windows power plan, such as Balanced, High performance, Power saver or Ultimate performance. Gaming routines usually switch to High performance and back to Balanced afterwards.step·System
- Shut downShut down powers off the PC from a routine, after a countdown you can cancel. It's the classic end of a bedtime routine or of a long overnight job.step·System
- Sign outSign out ends your Windows session and goes back to the sign-in screen, closing your apps. It suits shared or family PCs where each person should leave the computer signed out.step·System
- SleepSleep puts the PC to sleep after a short countdown you can cancel. It's the last step of most good-night routines.step·System
- Change caseChange case rewrites text in upper case, lower case, or with a capital first letter. It's a quick fix for clipboard text, file names and anything that needs to look consistent.step·Data and variables
- Find with a patternFind with a pattern searches text with a regular expression and hands back what it found. It's how routines pull a code, a number or a link out of a longer piece of text.step·Data and variables
- Join listJoin list glues the items of a list into one text, with a separator of your choice between them. It's the opposite of Split text and the usual last step before showing or saving a list.step·Data and variables
- Read JSON valueRead JSON value finds one value inside JSON you already have, such as an API answer, copied text or a list or dictionary from an earlier step. Use it when you need one field out of a bigger answer. To read a JSON file on disk, use the Files pack's Read JSON value step.step·Data and variables
- Replace textReplace text finds every occurrence of something in a text and swaps it for something else, or removes it. It works on clipboard text, file contents and step results alike.step·Data and variables
- Split textSplit text breaks one piece of text into a list. Split at commas, at line breaks or into characters, then loop over the parts or pick one out.step·Data and variables
- Trim textTrim text cleans the edges of a text, removing spaces and line breaks from the start, the end or both. It's the quiet fix for copied values that don't compare the way you expect.step·Data and variables
- Encode for a web addressEncode for a web address turns text into a form that's safe inside a link, so spaces and symbols don't break it. It can also decode %XX codes in a link back into normal text.step·Data and variables
- App focusedApp focused starts a routine when a chosen app becomes the active window, or when you leave it for another app. It lets your PC adapt to what you're doing without pressing anything.trigger·Apps
- App launchedApp launched starts a routine when a chosen app or game opens. It's ideal when you start apps your usual way and want the rest of the setup to follow on its own.trigger·Apps
- App quitApp quit starts a routine when a chosen app or game has fully closed. It's the natural partner of App launched for putting things back the way they were.trigger·Apps
- Audio device changedAudio device changed starts a routine when a headset or other audio device connects, disconnects, or becomes the Windows default. It is the starting point for setups that switch sound the moment you plug in or pair your headphones.trigger·Audio
- Mic or camera in useMic or camera in use starts a routine when an app begins or stops using your microphone, camera, or either. It's the automatic way to set up for a meeting the moment it starts.trigger·Devices
- Clipboard changedClipboard changed starts a routine when something new is copied. Filter it to only links, images, files or text that matches a pattern, so it reacts to exactly what you care about.trigger·Clipboard
- Device connectedDevice connected starts a routine when a USB device or a paired Bluetooth device connects. Name one device, or leave the name empty to react to any.trigger·Devices
- Device disconnectedDevice disconnected starts a routine when a USB device or a Bluetooth device disconnects. It's the other half of Device connected, for putting things back when you unplug.trigger·Devices
- Display changedDisplay changed starts a routine when your monitors change: one is plugged in or unplugged, the laptop docks or undocks, or the resolution, arrangement, scaling or main monitor changes. It's the trigger for "put my windows back when I dock".trigger·Windows
- Download finishedDownload finished starts a routine when a new file has completely downloaded. It waits until the browser is really done, so your steps never grab a half-written file.trigger·Files
- Folder changedFolder changed starts a routine when something happens to files in a folder. It's the trigger for scan folders, screenshot folders, synced folders and anything else that fills up over time.trigger·Files
- Game startedGame started fires when any game in your launchers, or one game you pick, starts running. It is how gaming setups begin: switching to the headset, raising the refresh rate and pausing animated wallpapers as the game loads.trigger·Games
- Game stoppedGame stopped fires when a game you pick, or any game in your launchers, has fully closed. It is the other half of a gaming setup, undoing what Game started changed.trigger·Games
- HotkeyHotkey starts a routine when you press a keyboard shortcut or mouse button. It's the most common way to run a routine, from a single app launcher key to a whole streaming setup on one combination.trigger·Hotkeys
- Typed textTyped text watches for an abbreviation you type, such as btw, and either replaces it with longer text or simply starts a routine. It needs KeyRoutines Pro.trigger·HotkeysPro
- Run manuallyRun manually is the trigger for routines you start yourself. It doesn't watch anything; it marks the routine as hand-started and can pin it to the tray menu for one-click access.trigger·Flow and routines
- Mode turned on or offMode turned on or off starts a routine when one of your modes switches. It lets you hang extra jobs on a mode, like posting a status or starting a timer, without packing them into the mode. Modes need KeyRoutines Pro.trigger·ModesPro
- Internet connected or lostInternet connected or lost starts a routine when Windows sees your internet access change. Use it to be told about outages or to catch up on things once you're back.trigger·Devices
- VPN connected or disconnectedVPN connected or disconnected starts a routine when a VPN connection comes up, goes down, or either. Filter by part of the connection's name to watch just one.trigger·Devices
- Wi-Fi network joined or leftWi-Fi network joined or left starts a routine when the PC connects to or leaves a Wi-Fi network. It turns a laptop into something that sets itself up for wherever you are.trigger·Devices
- OBS recording started or stoppedOBS recording started or stopped fires when OBS's recording changes state. It's the hook for tidying up a finished recording or quieting your PC while you record. This trigger needs KeyRoutines Pro.trigger·OBS StudioPro
- OBS replay savedOBS replay saved fires each time OBS's replay buffer saves a clip, whether you pressed OBS's own key or a routine saved it. This trigger needs KeyRoutines Pro.trigger·OBS StudioPro
- OBS scene changedOBS scene changed fires when OBS's live scene changes. Name a scene to react only to that one, or leave it empty to react to every switch. This trigger needs KeyRoutines Pro.trigger·OBS StudioPro
- OBS stream started or stoppedOBS stream started or stopped fires when OBS starts or ends a live stream. It's the place for everything you do around going live. This trigger needs KeyRoutines Pro.trigger·OBS StudioPro
- Battery lowBattery low starts a routine when your laptop's battery drops below the percentage you set while it is running on battery. Use it to save power or save your work in time.trigger·System
- Going to sleepGoing to sleep starts a routine as the PC is going to sleep or hibernating. It's for quick last-moment tidy-ups, like pausing media so it doesn't resume at full volume.trigger·System
- Plugged in or unpluggedPlugged in or unplugged starts a routine when the charger is connected, removed, or either. It's the trigger for laptops that should behave differently at the desk and on the go.trigger·System
- Woke upWoke up starts a routine when the PC comes back from sleep or hibernation. It's the place to fix the things that never quite come back right on their own.trigger·System
- Started by another routineStarted by another routine is the trigger for helper routines. It shows that this routine is meant to be called by Run routine or Call routine, and lets it see which routine called it.trigger·Flow and routines
- Routine eventRoutine event starts a routine when something happens to another routine: it finished, it failed, or it sent a named event. It's how you chain routines and react to problems without editing the original.trigger·Flow and routines
- Every …Every … starts a routine on a fixed interval, from once a minute to once every seven days. It suits regular jobs such as backups, check-ins and tidy-ups that should keep their rhythm.trigger·Schedule
- At a timeAt a time starts a routine at a time of day, every day or only on the days you pick. Classic uses are a work setup at 09:00 on weekdays and an end-of-day routine in the evening.trigger·Schedule
- Back at the PCBack at the PC starts a routine when you return after being away for at least the time you set. It's the welcome-back counterpart of the Idle trigger.trigger·System
- IdleIdle starts a routine after you've gone a set time without keyboard or mouse input. It's the trigger for "I've stepped away": lock, pause, save, or tidy.trigger·System
- PC lockedPC locked starts a routine when the PC is locked, whether you pressed Win+L or the lock screen came on by itself. It turns locking into your "leaving the desk" signal.trigger·System
- PC unlockedPC unlocked starts a routine when you unlock the PC. It's the natural place for "I'm back" steps such as resuming music, restoring settings or opening the day's apps.trigger·System
- When KeyRoutines startsWhen KeyRoutines starts runs a routine as the app starts up. KeyRoutines starts when you sign in to Windows, so this is the trigger for anything you want ready every time you log on.trigger·Flow and routines
- WebhookWebhook starts a routine when a program on your PC calls its name through the KeyRoutines local API. It's for scripts, the Stream Deck plugin and other paired tools. The Webhook trigger needs KeyRoutines Pro.trigger·Flow and routinesPro
- Window closedWindow closed starts a routine when a matching window is closed. Unlike App quit, it works for a single window, so it can react to a dialog, a document or a call window even while the app stays open.trigger·Windows
- Window openedWindow opened starts a routine when a new window matching your description appears. It's useful for apps that open windows in the wrong place, pop-ups you always handle the same way, and specific documents.trigger·Windows
- Window minimizedWindow minimized starts a routine when a window that matches your description is minimized. It's a light way to say "I'm done with this for now" and let the PC react.trigger·Windows
- Window title changedWindow title changed starts a routine when a matching window's title text changes. Many apps put useful details in their title, such as the current song, the open file or the active tab, so this turns them into events.trigger·Windows
- RememberRemember keeps a value safe after the routine ends, even across restarts of KeyRoutines and the PC. Use it for things like the last volume you set, a folder you picked, or whether you're away.step·Flow and routines
- Set variableSet variable puts a value under a name so later steps can use it. By default it lasts for this run only, which makes it the usual way to keep a counter, a file path or a result to use further down.step·Flow and routines
- ToggleToggle flips a remembered value between on and off. Paired with an If, it turns one hotkey into a two-way switch, like the free version of an AFK toggle.step·Flow and routines
- Next Wallpaper Engine wallpaperNext Wallpaper Engine wallpaper tells Wallpaper Engine to move a monitor's playlist on to its next wallpaper. It needs KeyRoutines Pro and works with the playlists you have already set up in Wallpaper Engine.step·Wallpaper EnginePro
- Show a Wallpaper Engine wallpaperShow a Wallpaper Engine wallpaper puts a specific wallpaper from your Wallpaper Engine library on screen. It needs KeyRoutines Pro and lets each part of your day, such as work, gaming or streaming, have its own animated background.step·Wallpaper EnginePro
- Wallpaper Engine playbackWallpaper Engine playback pauses, plays, stops, mutes or unmutes all of your Wallpaper Engine wallpapers at once. It needs KeyRoutines Pro and is most often used to free up the graphics card while a game runs.step·Wallpaper EnginePro
- Download fileDownload file saves a file from a web address into a folder you choose, or your Downloads folder. It needs KeyRoutines Pro and works well for fetching the latest version of a tool, a report or a data file on a schedule.step·WebPro
- Web searchWeb search opens a search for a phrase on the engine you choose. Combined with the clipboard, it gives you a one-key 'search what I copied' on any site.step·Web
- Send webhookSend webhook posts a message to a Discord or Slack channel webhook, a Home Assistant webhook automation, an IFTTT applet, or any other address. It needs KeyRoutines Pro and builds the message in the shape each service expects, so you only write the text.step·WebPro
- Focus windowFocus window brings a chosen window to the front and gives it keyboard focus. People bind it to hotkeys to jump between their main apps, or use it after Open app to land in the right place.step·Windows
- Apply layoutApply layout puts several windows on their monitors in one step, and can open apps that aren't running yet. It's the step behind "one key and my whole workspace is set up".step·Windows
- Get window infoGet window info reads details about a window, or simply the one in front, and hands them to later steps. Nothing moves or comes forward; it only looks.step·Windows
- Move and resizeMove and resize puts a window on a chosen monitor at a chosen size and position. It's the single-window version of Apply layout, perfect for snapping one app into place.step·Windows
- Remember layoutRemember layout takes a snapshot of where your windows are right now. A later Restore layout step can put them back exactly, which makes it easy to rearrange things temporarily.step·Windows
- Restore layoutRestore layout moves windows back to a layout remembered earlier in the run, or arranges a named layout from your Layouts library. It's how a routine undoes its own changes, or brings back a saved workspace.step·Windows
- Window stateWindow state changes a window's state: restore, minimize, maximize, hide, close it, or keep it on top of other windows. It's the Swiss army knife for tidying windows from a routine.step·Windows
- Show desktopShow desktop minimizes every window except those of the apps you choose. Unlike Windows' own Show desktop, it can keep your important apps visible, work on one monitor only, and put everything back afterwards.step·Windows
Build this routine in KeyRoutines
Free from the Microsoft Store for Windows 11 and 10. Pro is a one-time upgrade.