This example script will open ‘’ in Google Chrome, regardless of whether Chrome is currently set to be your Mac’s default browser. (Here are the keyboard shortcuts to copy and paste) 2.
#Folder logo apple mac dock code#
Paste the following code into your new Script Editor document:.Select “New Document” (or “File” > “New”).Start by opening the “Script Editor” application that comes pre-loaded on your Mac.We’ll also use an online icon converter to turn your image file into an ICNS ( Apple Icon Image), which I’ll walk you through later on. But you can always make your own image too. This tutorial will show you the script solution, and include an example app icon image file. Add a Website to Your Dock with Apple Script You can do it without downloading any third-party applications, and you get the option of choosing non-default browsers to open your desired link. Even for fairly average non-technical users. But using a script to add a website to your Dock is even easier. webloc method, adding a web shortcut to your Dock with a. Even if it’s not your default browser! Steps Included in This Tutorial: But the script option I’m about to show you lets you choose which browser to launch the website URL in. webloc file, or you can use the method detailed here and create a short, simple script.īoth give you a true website shortcut on your Mac Dock. There are basically two different quick solutions. With this simple tutorial, you’ll also be able to place the launch icons anywhere on the Dock you’d like. Well, I’m here to tell you it’s pretty easy. You’re here because you want to add a website shortcut to your macOS Dock, and open your favorite websites like a native application.