lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mac osx point and click editor


From: Han-Wen Nienhuys
Subject: Re: mac osx point and click editor
Date: Mon, 08 May 2006 18:59:48 +0200
User-agent: Thunderbird 1.5 (X11/20060313)

Sean Reed wrote:
Does anybody know how to change the text editor application that is opened when you point-and-click on a .pdf file of a lilypond score in MacOSX 10.4.6?

Is that even possible?

In chapter 12.7 of the current manual (2.9.3) it says lilypond-invoke-editor tests the environment variable for EDITOR. I first changed the EDITOR in my .profile, but clicking on a note in the .pdf image still opened the appropriate .ly file with the LilyPond.app.

I then followed the directions in a rather old link from the apple developers website to create a .MacOSX folder and an environment.plist, and in that I put:
<key>EDITOR</key>
<string>the/path/to/my/other/text/application/</string>

...and logged out and back in.
Clicking on a note in the pdf image still opened the appropriate .ly file with LilyPond.app.

I have nothing against the LilyPond.app, but I do most of my texts with TextWrangler, including my lilypond scores, and I thought it would be convenient to have the point-and-click open the appropriate files again right into that editor.

I'd be very grateful for any clues.

On MacOS X, it doesn't work like that. The application is registered via CFBundleURLTypes entries in the Info.plist file. The process involves some AppleScript magic which I cut & pasted from some newsgroup postings. I could add a sponsorerd feature for this, but it will take me some effort (for which I have to charge.) It might be more efficient to talk to Ed Baskerville and have him add something to his lilypad application.

--

Han-Wen Nienhuys - address@hidden - http://www.xs4all.nl/~hanwen

LilyPond Software Design
 -- Code for Music Notation
http://www.lilypond-design.com





reply via email to

[Prev in Thread] Current Thread [Next in Thread]