![]() Tell application "/Applications/Google Chrome.app" Here's the Applescript to paste in, based on this thread: Download Lincastor, throw it in your app directory, right-click > Open to launch it. It turns out this app can also modify the defaults for http and https!įor our particular purposes (Chrome in a new window), here are the steps:ġ. I didn't find out how to register the applescript app for this dropdown (there is probably a way) before I found this instead: an app to let you register custom url schemes. I did some research based on the thought that apps must be able to register for the System Preferences > General > Default web browser dropdown. In particular because Chrome defaults to Add New Tab behavior, which it needs an existing window for, so if you're using desktop switching it will switch to the last used desktop with a Chrome window very annoying. This has been bugging me for a while under 10.10 and now 10.11 El Capitan. So I made it do what I want.ġ) Download this AppleScript bundle, and unpack it in ~/Library/Scripts/Ģ) Double-click it (to register it with Launch Services)ģ) Open Safari and go to the General tab in the Preferences, and set your app as the default browser.Ī fair bit of credit for making this work goes to Pepjin de Vos - I repurposed his idea/script to implement my workaround here. I am a programmer though, and I can make the computer do what I want normally. This causes some people to be upset, example: Chrome always opens external links in the most recently used browser window, where ever it is. Everyone's happy.Įxcept Google Chrome users. Now, adults may disagree, and Firefox as well as Safari have a preference setting which allows you to change the behavior to either of those options. Turns out lots of people prefer the second option - they want a new window on their current space with the link opened in it. ![]() If you have a web browser open, but it is not on your current virtual desktop, and you click on a link in a different application (a newsreader, perhaps), do you want that external link to open in a new tab in an existing browser window on a different space, or do you want it to open a new browser window on your current space, and open the link in a new tab on that new window? However, when you combine the two, you potentially have a problem. I currently use Mac OS X which has "Spaces", so I continue to have virtual desktops. I switched to Linux on the desktop way back in the day partially because it supported virtual desktops. I recently switched to Google Chrome, which also has tabbed browsing. I switched to Firefox way back in the day partially because Firefox allowed tabbed browsing. (Note that this is a system-wide setting, but other browsers may not use it Firefox has its own way of setting up such apps, for example.I love tabbed browsing. Sure enough, when I now click on an RSS link, Safari asks if I want to open it in News Explorer, and all is well! ![]() I went into the URI Schemes tab, added an entry for ‘feed’, and set that to point to NewsExplorer.I went into the Internet tab and changed the RSS setting to point to NewsExplorer, and then.It then appears at the bottom of System Preferences, and in my case: Otherwise, you can install it following instructions on the site. If you have Homebrew installed, you can get it easily withīrew install -cask swiftdefaultappsprefpane ![]() It’s written in the Swift language, and so is called SwiftDefaultApps. Unfortunately, it doesn’t work in recent MacOS versions due to changes in the support for Objective-C - the language in which it was written.Īll of which is background information to the fact that Gregorio Litenstein has created a handy new Preference pane that allows you to change these mappings. Well, there used to be a utility called RCDefaultApp, and if you search for solutions to this problem, you’ll find many references to it. So how could I tell Safari (and the Mac more generally) that I now wanted RSS and Atom feeds to be handled by a different app? It’s not exposed in the settings of Safari, and not available in System Preferences. At some point in the past, I must have registered Reeder as my default news feed app, though I can’t remember whether the app did it directly or whether I used the facilities in earlier versions of MacOS or a third-party app to make the association. In my case, it starts up ‘Reeder’ a fine app, but not one I currently use, having switched to News Explorer a few years back. On the Mac, it’s pretty easy to change the default browser, the default email program, and the app that gets fired up when you double-click on a particular file type in the Finder.īut when you’re in Safari and you click on a link to an RSS Feed, what happens then? This is one of those ‘in case you’re Googling for it’ posts.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |