2016-12-06 14:30 GMT+01:00 Mojca Miklavec <[email protected]>:
> On 6 December 2016 at 13:38, Sven Axelsson wrote:
>> Here's some information about how OSX url handlers work:
>> http://superuser.com/questions/548119/how-do-i-configure-custom-url-handlers-on-os-x
>
> The only entry there is
>
> LSHandlerContentType com.unknown.ly
> LSHandlerRoleAll com.macromates.textmate.preview
>
> Which doesn't look like LilyPond.app responsible for opening textedit://
> files.
>
> Everything else is completely unrelated.
In LilyPond.app/Contents/Info.plist:
<key>CFBundleURLTypes</key>
<array>
<dict>
<key>CFBundleTypeRole</key>
<string>Editor</string>
<key>CFBundleURLName</key>
<string>text editor via url</string>
<key>CFBundleURLSchemes</key>
<array>
<string>textedit</string>
</array>
<key>NSDocumentClass</key>
<string>TinyTinyDocument</string>
</dict>
</array>
You should be able to override this in
~/Library/Preferences/com.apple.LaunchServices.plist as shown in the
superuser.com page.
I didn't try, though.
Best wishes.
Davide
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user