How to set your default email reader on Mac. Mail is likely the default email app on your Mac, but just in case you have others downloaded, you can set the default reader. Here’s how: Launch Mail from your dock or the Finder. Click Mail in the menu bar at the top of the screen. Click Preferences. Click the drop-down next to Default Mail Reader. Here are the steps to change the default browser in macOS Catalina: Click the Apple icon on the top-left corner of the screen, then choose System Preferences. If you want to change a default app other than your browser or email client then you can still do so. Open up Finder, navigate to the file in question and right-click it to bring up the contextual. Sep 10, 2017 Since Friday I cannot change the file bindings of webloc files. It used to be (by default) Firefox, now it is 'Simulator (Watch).app' as shown below: Also, as shown on the previous picture, sometimes some files are selected to be opened by another application (either Safari.app or Simulator.app, but never Firefox).
10.8: Open a specific browser based on the URL | 9 comments | Create New Account
Click here to return to the '10.8: Open a specific browser based on the URL' hint |
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Choosy (http://www.choosyosx.com) can do similar things, and it doesn't require Applescripting (though the advanced features do need an understanding of regular expressions).
It doesn't work as described.
Please elaborate to how you succeeded with LinCastor.
When I substitude your code in LinCastor FireFox will start immediately (should not happened )
When adding URL's in iCal or in TextEdit for example 'https://mail.google.' I will get 'There is no application set to open the URL..'
I aim also using Fluid application however if this will work it will be nice.
Hope to get explanation.
Please elaborate to how you succeeded with LinCastor.
When I substitude your code in LinCastor FireFox will start immediately (should not happened )
When adding URL's in iCal or in TextEdit for example 'https://mail.google.' I will get 'There is no application set to open the URL..'
I aim also using Fluid application however if this will work it will be nice.
Hope to get explanation.
Ugh. I really want this to work, but it's not. I want Safari to handle only Facebook, fo Firefox is my default browser and I want Safari to open for Facebook notifications.
Here is my script after validation:
on handle_url(args)
if (|URL| of args starts with 'https://www.facebook.') then
tell application 'Safari'
open location |URL| of args
end tell
end if
return 1
end handle_url
When I click on a facebook webloc or a notification, it still opens Firefox. Suggestions?
Here is my script after validation:
on handle_url(args)
if (|URL| of args starts with 'https://www.facebook.') then
tell application 'Safari'
open location |URL| of args
end tell
end if
return 1
end handle_url
When I click on a facebook webloc or a notification, it still opens Firefox. Suggestions?
Let me re-check this to see if anything got mangled in the hint. It seems to me I did have to adjust a few things to make it work on my Mac.
Hi, I tested it on 10.9 and it does work as described - very strange (sorry, not that much helpful, I know)
If you want to intercept HTTP/HTTPS make sure the registered scheme says http,https. You may also try it with your own scheme (e.g. test-http) to make sure it works first.
Also, make sure the AppleScript tab is active when you hit Save and Activate - the active tab chooses what handler to run no matter what you write in
If you still have a problem, don't be afraid to contact the author. He tends to be very responsive.
If you want to intercept HTTP/HTTPS make sure the registered scheme says http,https. You may also try it with your own scheme (e.g. test-http) to make sure it works first.
Also, make sure the AppleScript tab is active when you hit Save and Activate - the active tab chooses what handler to run no matter what you write in
If you still have a problem, don't be afraid to contact the author. He tends to be very responsive.
Normally, I open my default browser and go to bookmarks. There's only a few I'd want to open in a different browser. Would this work for bookmarks that exist in the browser you are using?
I could not make this work either. I got a 'handler not found' type error. When clicking on any 'http:' type link, nothing would launch. No Safari, Firefox or Chrome. I had to uninstall to get everything working again. I am using the current version of Mavericks and the current version of all three browsers. Does this only work for 10.8?
Maybe the handle's scheme doesn't match the link scheme (?)
Make sure the registered scheme is set exactly to 'http' (not HTTP or http:)
Make sure the registered scheme is set exactly to 'http' (not HTTP or http:)
i did give this a try again but ran into the same issues. The AppleScript I used was exactly as above (no changes whatsoever). All http & https web pages went right to Safari. Links to https://mail.google.com did the same.
I also tried test-http, test-https but that was a disaster. LinCastor went into a forever loop quickly adding hundreds of LinCastor generated notification windows (similar to its small notification window at startup.) I could not force quit anything and had to lean on the power button to shut-down the computer.
I will contact the author.
I also tried test-http, test-https but that was a disaster. LinCastor went into a forever loop quickly adding hundreds of LinCastor generated notification windows (similar to its small notification window at startup.) I could not force quit anything and had to lean on the power button to shut-down the computer.
I will contact the author.
Saving a webpage on a Mac is a lot easier compared to other operating systems. All you need to do is drag the URL of the file to the Desktop or to a folder on Finder, and you’ll get a Webloc file which you can open with a web browser. You can use any web browser, such as Google Chrome, Firefox, Opera, and Safari, then drag the file somewhere to generate a Webloc file.
Webloc files are generally associated with Safari, since it is the default browser for Mac. To open a file, just double-click the shortcut and it will open the URL using Safari. However, you can also open them using other browsers. You just need to change the default app in the Get Info settings.
But for some reason, trying to change the default application to open the Webloc file leads to error code -10823 on Mac. According to Mac users who encountered the error, changing the default app for all other files does not result in any error. This error seems to apply only to Webloc files.
For some users, the Open With section is grayed out so they cannot directly change the default app. So what they do is right-click on the file, hold the Option key, then press the “Always Open With” option that appears. This, however, produces the same result: an error code -10823.
What is the Error Code -10823?
The error code -10823 on Mac is not something new to macOS Catalina like most affected Mac users want to believe. This error has been present as early as 2016 with El Capitan and several Mac users have reported encountering the error over the years using different macOS versions.
The error is usually associated with the following error message:
Smartphone usb to mac camera app windows 10. You can’t change the item “WEBLOC File Extension – What is a .webloc file and how do I open it?” to always open in the selected application.
The item is either locked or damaged, or in a folder you don’t have permission to modify (error code -10823).
When you close the error notification, you’ll get another message saying:
The operation can’t be completed.
An unexpected error occurred (error code -10823).
Because of this error, users are not able to change the default browser that opens a specific Webloc file. Since the Open With option is set to Safari by default, all Webloc files will automatically open in Safari instead of the user’s preferred browser. This may not be a major problem for some users, but it could be troublesome if you want to use a browser-specific extension to process the URL’s content.
What Causes the Error Code -10823?
Based on the error message, it seems that the error is being caused by incorrect or insufficient permissions. If you made any changes to the read or write permissions of the items in your home folder, you have to reset the permissions to avoid running into an error, such as the error code -10823.
Webloc Download
There are also instances when the error code -10823 on Mac is caused by a corrupted system file that is related to the file you are trying to edit. This corruption could be due to a sudden termination of running system files which happens where there is a power surge. Malware infection is also a common cause of system file corruption.
Other factors you might need to consider include:
- Unintentional formatting
- Deletion of related files associated with the file in question
- Unsupported platform or format
How to Fix the Error Code -10823
Webloc files make it easier for Mac users to save a webpage that they came across and open it using the browser of their choice. However, this error code -10823 on Mac makes things a lot more complicated by restricting the default Open With app to Safari. If you encounter this error, here are some of the things you can do to resolve this problem:
Step 1: Restart Your Mac.
![Mac default app settings Mac default app settings](/uploads/1/2/6/3/126315750/785556937.png)
If the error code you’re getting is caused by a temporary bug, refreshing the operating system should easily get rid of it. These temporary glitches are often caused by power interruptions, system incompatibilities, or internet issues.
Step 2: Try to Create a New Webloc File.
It is possible that the error code -10823 only applies to a single Webloc file. To rule this out, make another Webloc file by dragging a different URL to the Desktop. Next, try changing the default app for the new Webloc file by right-clicking on it, then selecting Get Info. Scroll down to Open With and choose a different browser aside from Safari.
If the error code -10823 did not appear, then the problem is isolated to the file you were originally having problems with. If this is the case, create a new Webloc file from the URL you want to save, then see if the error reappears. You might also need to use a different browser to create the Webloc file.
But if you encounter the error code -10823 with the new file, then you have a more serious problem. If this is the case, continue with the other steps below.
Step 3: Delete Junk Files.
Having too many junk files on your system can cause errors to appear on your Mac, such as the error code -10823. Cleaning your system using a Mac cleaning software should easily take care of this problem. Keep a regular maintenance routine and remove unnecessary files from time to time to prevent errors like -10823 from happening.
Step 4: Reset Permissions.
Since this problem is closely related to the permissions of the Webloc file, resetting them should quickly fix this error. To reset the file’s permissions, follow the instructions below:
- From Finder, navigate to Go > Home to open your home folder.
- Click File > Get Info to open the Info window of your home folder.
- Expand the Sharing & Permissions section by clicking the arrow next to it.
- Click the lock icon to be able to make changes to the folder’s settings. Type in your admin name and password, then hit Enter.
- Click the gear icon at the bottom, then choose Apply to enclosed items. Click OK to confirm.
You will see a progress bar at the top of the window. Wait for the process to be completed, lock the window again, then restart your Mac. This should reset the permissions of your home folder and fix the error code -10823.
Step 5: Change the Default Browser in System Preferences.
If you’re still having problems changing the default app to open the Webloc file with, you can change the default browser of the whole system instead. Here are the steps to change the default browser in macOS Catalina:
- Click the Apple icon on the top-left corner of the screen, then choose System Preferences.
- Click on General on the upper left corner of the window.
- Click the Default Web Browser option to open the dropdown menu and choose another browser that has already been installed on your Mac.
Macos Change Default App
Close the window and check if the error code -10823 has been resolved.
Wrapping Up
The error code -10823 may not be a major Mac error, but it can be annoying just the same, especially if you need to open the particular Webloc file using a specific browser. This error can be caused by a wide range of factors, but the troubleshooting process is a lot simpler than you imagine. So if you encounter the error code -10823 when you try to change the default browser for your Webloc files, simply follow the solutions above to resolve it.