Guides

One mouse button, a different job in each app: app-specific buttons without Options+ or G HUB

Logitech's Options+ calls it app-specific settings: the same button does one thing in your browser and another in Excel. Here's how to get that on any mouse.

Symptoms

Why it happens

Windows itself has no per-app button settings: a side button sends the same "back" or "forward" everywhere. Brand apps add it for their own devices; Logitech's Options+ has app-specific settings on supported mice such as the MX Master 4 and MX Anywhere 3S, with ready profiles for browsers and Office apps (Logitech's own setup pages).

Free options

The fix with HEJİR

  1. Download and install HEJİR (free).
  2. Open Macros › Templates and add "One button, two jobs" (Pro; 3 days free, no card).
  3. Out of the box, the forward button reopens the last closed tab in a browser (Ctrl+Shift+T) and opens the clipboard history everywhere else (Win+V).
  4. Change the program names and keys in the template's few lines to fit your programs, then try it with the dry run, which presses nothing.
One mouse button, a different job in each app: app-specific buttons without Options+ or G HUB

The template is a short HEJİR Script: it takes the forward button for itself, checks which program's window is in front when you press it, and sends that program's key. It works with any mouse Windows sees.

Try HEJİR freeFree; try Pro for 3 days, no card.

Good to know

FAQ

Do I need to know how to code?

No. The template is ready; to change which program or which key, you change a name and a key where the template's comments point.

Can the keyboard do this too?

Yes: the Keyboard page's profiles can switch by program.

Does it work on Mac?

No, HEJİR is for Windows.

More guides

Mouse double clicking on a single click: why it happens and how to fix it without a new mouseHow to stop the Sticky Keys pop-up when you press Shift in gamesHow to add a sniper (DPI clutch) button to a cheap mouseMute your microphone with one key: in games, Discord and meetingsMake Caps Lock Esc on tap and Ctrl on hold (two jobs for one key)Microphone volume keeps changing by itself: why, and how to lock the levelMouse slips onto the second monitor in games: keep the cursor on the game's screenG HUB not working or not detecting your mouse: mouse settings without G HUBUse your VALORANT crosshair code in other games (PUBG, CS2, any game)How to turn off mouse acceleration (Enhance pointer precision) and other settings that hurt your aimFishing by sound in games: Minecraft, Stardew Valley, World of WarcraftNever miss the match-found sound: phone alerts for CS2, Dota 2, League of Legends, ValorantPUBG: pause your music automatically when a match starts, and get alerted when one is foundVALORANT: get alerted when a match is found and pause your music at agent selectRazer Synapse 4 not saving macros or not opening: button mapping and macros without SynapseAuto clicker keeps clicking after Alt+Tab: keep the clicks out of other windowsMacro keeps running after you release the key, or a key gets stuck: why and how to fix itDisable the Windows key while gaming: stop the Start menu kicking you outWireless mouse stuttering or lagging: the receiver, polling rate and free fixesLogitech G HUB alternative: a lighter mouse app that works with every brandHow to map mouse side buttons to any key (Windows 10 and 11)X-Mouse Button Control alternative: a modern interface, macros and game toolsHow to make macros on a mouse without software (any brand)Remap keyboard keys on Windows 11: Caps Lock, the Windows key and shortcutsCrosshair overlay: put your own crosshair on screen in any gameRazer Synapse alternative: Razer mouse settings without SynapsePut Discord push-to-talk on a mouse side buttonHow to change mouse DPI (even on mice without software)A safe auto clicker: no malware, stops on Alt+Tab, on and off with one keyChange music without leaving the game: in-game hotkeys for Spotify and YouTubeDon't miss Discord messages and calls in game: a notice over the gameSudden loud sounds in games hurting your ears: turn explosions and flashbangs down automaticallyDiscord too quiet under the game: balance game and chat volume with one sliderShow your keypresses in OBS: a key overlay for streams and tutorialsShaky cursor or shaky hands: a stabilizer that smooths the mouse pointerChange songs on free Spotify without leaving the game: no Premium neededTurn Spotify down without turning the game down: Windows' volume mixer and one keyGame sound disappears while Spotify plays: Spotify's exclusive modeSee the name of the song playing while you game: a now-playing bar on screenKeyboard language keeps changing in games: turn off Alt+Shift, Ctrl+Shift and Windows+SpaceRedragon software not detecting your mouse or saying it's disconnected: what to doAttack Shark software missing or not working: an alternative for side buttons and macrosRemapping keys on a Royal Kludge (RK) keyboard: the easy way when you can't find the softwareRazer Synapse 4 not detecting your mouse, disconnecting or breaking macros: what to doGame doesn't recognize your mouse side buttons: making Mouse 4, Mouse 5 and extra buttons workBloody mouse macros without paying for Ultra Core 3/4: what's free, what isn't, and another wayGlorious CORE not detecting your mouse or not saving settings: what to doROCCAT is gone and Swarm won't work: side buttons and macros on your ROCCAT mouseCorsair iCUE not detecting your mouse or using too much CPU: what to doSteelSeries GG not detecting your mouse: what to doArmoury Crate not detecting your ROG mouse: what to doHyperX NGENUITY not detecting your mouse or keyboard: what to doCorsair iCUE alternative: a lighter app that brings your iCUE macros over in one clickSteelSeries GG alternative: buttons and macros without GG, your GG settings moved in with one clickLogi Options+ not detecting your mouse: what to do for MX Master and other Logitech miceLogi Options+ alternative: a light Windows app for your MX Master and other Logitech miceZowie mouse software doesn't exist: how to give a Zowie's side buttons new jobsArmoury Crate alternative: a light app for your ROG mouseMicrosoft Mouse and Keyboard Center not detecting your mouse: what to do

HEJİR is coming soon

We'll email you on launch day; announcements come at most once a month.

We only use your address for HEJİR news; to leave, just write to us.