Is there a hot key to refresh a browser that is in the background?

I intend to have a key combination to rejuvenate energetic window in Google Chrome, which generally would be Cmd+R. Remember that (a) I am making use of 2 displays, (b) Google Chrome is not currently energetic window.

Is it also feasible?

I am attempting to bind this manuscript with warm - key. What I did is: developed a solution making use of Automator (no input, any kind of application). Making use of solutions warm key, I've set cmd+r. Nonetheless, that does not do anything.

My anticipated outcome is: cmd+r does what it needs to currently carry out in the here and now application+implements my apple - manuscript.

2022-06-07 14:37:01
Source Share
Answers: 3

Well, you can do this over an AppleScript that does this:

tell application "Google Chrome" to activate
tell application "System Events"
    keystroke "r" using command down
end tell

and afterwards invoke that manuscript over a faster way. There are some free applications around that do this work ; Mac OS X does not supply this, I'm afraid.ยข (Maybe you need to change "Google Chrome" with the real name of the Chrome application ; I do not have it mounted, so I can not examine what its name is.)

2022-06-07 15:06:12

I advise making use of an expansion to vehicle - reload tabs. This is not excatly what you request for, yet it completes the very same objective.

  • Chrome: Easy Auto Refresh

    • Auto - refresh and also vehicle - reload web pages after any kind of variety of secs
    • Set various hold-ups per web page or tab
    • Remembers your settings per web page
    • Remembers website scroll placement
  • Safari: Safari Tab reloader

    • Remembers upright and also straight scroll placements for refilled web pages
    • Automatically stops refilling on web pages you have actually gotten in message on (so you will not shed your job)
    • Allows you to enable or disable refilling for specific tabs, or for all the tabs in a window
  • Firefox: ReloadEvery

2022-06-07 15:06:06

You can place either of these in an Automator solution making use of a applescript Action.

After that set a keyboard faster way with the Services in keyboard system choices is Keyboard Shortcuts .

Keep in mind the 'Service obtains' setups in the screen shots. This will certainly see to it the Menu shows up in all application is solutions. (The various other applications might require to give up and also re open prior to they grab the route)


tell application "Google Chrome"
    reload active tab of (get window 1)
end tell


tell application "Safari"
    tell document 1 to do JavaScript "javascript:location.reload(true)"
end tell


Service Menu - In iTunes

2022-06-07 15:04:12