Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 3663552
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 19, 20262026-05-19T01:32:36+00:00 2026-05-19T01:32:36+00:00

I would like a hotkey to Save All in Notepad++ then switch to the

  • 0

I would like a hotkey to Save All in Notepad++ then switch to the browser and refresh the page. I have to do this thousands of times a day and doing the Save All hotkey, then Alt-Tab to the right window, then F5 to refresh again and again, there must be a better solution? I am open to switching editors if there is another that can do this.

I have tried using run commands but the problem is although it allows you to make something like [firefox.exe “current file”], if you come down to wanting to open it at a web address like localhost because it needs to run server side, then you have to manually specify the other part of the string, like [chrome.exe “custom var(web address) / filename”] and it always opens a new tab, then creates lots of clutter. Also, if you are editing an include file then it will try to open that instead of the page you want to see when you use the run command, a refresh would be the only realistic method I can think of using.

Edit: I got Cpfohl solution to work! If you have another method please share, as I will monitor this thread still.

Esc::                ; The hotkey I like to use
SetTitleMatchMode, 2 ; Match Partial Title Mode
SetKeyDelay 10, 10   ; Set Keystroke Delays
Send {F5}            ; Save All In Editor / I set to F5 in npp
IfWinExist, Firefox
   WinActivate
Send {F5}            ; Refresh Browser
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-19T01:32:36+00:00Added an answer on May 19, 2026 at 1:32 am

    I use AutoHotKey for this kind of stuff, but I’m pretty new at it. The nice part is that you don’t have to switch editors. AutoHotKey lets you do anything that you want (pretty much), but it’s easiest to use it to do things you can do with a relatively rote series of keystrokes.

    You’d write a script that you’d run at runtime. Then whenever you use your selected hotkey it executes the script (which can be made up of ‘artificial’ key-strokes).

    An example script might be (THIS IS UNTESTED AND ASSUMES THAT THE LAST WINDOW YOU HAD OPEN WAS THE BROWSER, i.e.: that “AltTab” causes the browser to open):

    !+s::           ;Binds the hot key to "Alt,Shift, S"
        Send ^+s    ;Pushes "Ctl,Shift, S"
        Send AltTab ;Pushes "Alt, Tab"
        Send F5     ;Pushes "F5"
    

    EDIT 05/2020

    I’d like to call out that nowadays there are much better options than this. Hot reloading is a solved problem by whatever build tool you’re using (rollup, webpack, etc), or by whatever file server you’re using to host your files locally (e.g. https://github.com/tapio/live-server).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to assign a global hotkey to my Python application, running in
I would like to have a reference for the pros and cons of using
I would like to have an iframe take as much vertical space as it
I would like to have a VM to look at how applications appear and
I would like to have getObjPositionInParent as a sort criteria in a collection. I
I would like to be able to perform some action when the browser window/tab
Would like to get a list of advantages and disadvantages of using Stored Procedures.
Would like to create a strong password in C++. Any suggestions? I assume it
I would like to test a string containing a path to a file for
I would like to sort an array in ascending order using C/C++ . The

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.