![]() Reopening the script (from step 3) in the editor also launches Safari (without opening the URL).It's 2 (or 3) files where I'd rather have 1.This approach works for making a "link" in finder that will open in Safari, but does have some problems: It can be run from finder, but cannot be opened in the editor.This is an application bundle which will execute.It can be edited and run from within the editor, but cannot be run from finderįile | Export with File Format set to "Application".This is a binary applescript file which will reopen in the Script Editor. ![]() Tell application "Safari" to open location ""įile | Save As with File Format set to "Script" Open the Script Editor application (the successor to the AppleScript app) The solution I found is to create an AppleScript application: They can be opened in another browser using the "Open With" menu, but the default cannot be changed either per-file or per-extension. url files both open in the default browser. You can put this in your Applications or Scripts folder for easy access and invoke it whenever you want to save a URL.Īs of macOS 10.12 Sierra. Running that will prompt you for the URL, the browser you want it to open with, and the location to save the 'bookmark'. Save theDoc as "application" in ((theFolder as string)
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |