#osascript — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #osascript, aggregated by home.social.
-
Today I learned how to create a Finder alias using AppleScript and the command line:
```bash
$ osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'alias file Emacs.app of folder Applications of startup disk
```This is for the particular case of creating an Emacs.app named alias at the Applications folder for the Homebrew version of the `emacs-plus` package, but changing the paths above will allow you to create arbitrary Finder aliases from the command line.
#TIL #TodayILearned #AppleScript #Finder #alias #CLI #CommandLineInterface #osascript
-
Today I learned how to create a Finder alias using AppleScript and the command line:
```bash
$ osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'alias file Emacs.app of folder Applications of startup disk
```This is for the particular case of creating an Emacs.app named alias at the Applications folder for the Homebrew version of the `emacs-plus` package, but changing the paths above will allow you to create arbitrary Finder aliases from the command line.
#TIL #TodayILearned #AppleScript #Finder #alias #CLI #CommandLineInterface #osascript
-
Today I learned how to create a Finder alias using AppleScript and the command line:
```bash
$ osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'alias file Emacs.app of folder Applications of startup disk
```This is for the particular case of creating an Emacs.app named alias at the Applications folder for the Homebrew version of the `emacs-plus` package, but changing the paths above will allow you to create arbitrary Finder aliases from the command line.
#TIL #TodayILearned #AppleScript #Finder #alias #CLI #CommandLineInterface #osascript
-
Today I learned how to create a Finder alias using AppleScript and the command line:
```bash
$ osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'alias file Emacs.app of folder Applications of startup disk
```This is for the particular case of creating an Emacs.app named alias at the Applications folder for the Homebrew version of the `emacs-plus` package, but changing the paths above will allow you to create arbitrary Finder aliases from the command line.
#TIL #TodayILearned #AppleScript #Finder #alias #CLI #CommandLineInterface #osascript
-
Today I learned how to create a Finder alias using AppleScript and the command line:
```bash
$ osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at posix file "/Applications" with properties {name:"Emacs.app"}'alias file Emacs.app of folder Applications of startup disk
```This is for the particular case of creating an Emacs.app named alias at the Applications folder for the Homebrew version of the `emacs-plus` package, but changing the paths above will allow you to create arbitrary Finder aliases from the command line.
#TIL #TodayILearned #AppleScript #Finder #alias #CLI #CommandLineInterface #osascript