Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/binghuan/macosx_launch_app_from_weblink
Method to demo how to launch app by using web page's link.
https://github.com/binghuan/macosx_launch_app_from_weblink
macos macos-app
Last synced: 13 days ago
JSON representation
Method to demo how to launch app by using web page's link.
- Host: GitHub
- URL: https://github.com/binghuan/macosx_launch_app_from_weblink
- Owner: binghuan
- Created: 2013-08-12T07:04:19.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2013-08-12T09:49:00.000Z (over 11 years ago)
- Last Synced: 2023-08-02T04:08:49.119Z (over 1 year ago)
- Topics: macos, macos-app
- Language: Shell
- Size: 363 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# MEMO
Reference 1. http://www.macosxautomation.com/applescript/linktrigger/
Reference 2. http://hublog.hubmed.org/archives/001154.html
Following method by using reference 2.
Use Platypus to create a test.app.
Then, put the test.app into folder "/Applications/"The file hierarchy will be like this:
BH_MacBookPro:test.app binghuan$ tree
.
└── Contents
├── Info.plist
├── MacOS
│ └── test
└── Resources
├── AppSettings.plist
├── MainMenu.nib
├── appIcon.icns
└── scriptfinally, add following key into Info.plist, that's it.
```html
CFBundleURLTypes
CFBundleURLName
Local File
CFBundleURLSchemes
local
NSUIElement
```