Thanks for the info Thilo: just in case someone else wants to 
do the remapping. 

Find PerlPad, control click and select "Show Package Contents". Open up 
Info.plist file inside the Contents directory (double clicking will 
probably crank open "Property List Editor", which is a pretty good tool 
for editing this thing). Then navigate through to

Root/NSServices/1/NSKeyEquivalent/default

and double click the existing "E" in order to enter your new keyboard
shortcut. 

I chose "\" instead of the default "E", and all's mostly well.  BBEdit
had already claimed command-\ as "hard wrap" but was polite enough to
remap it to command-shift-\ while the other applications seem not to
have got their grubby little mits on that combination. One weird aspect
however: the *first* time you try to use the service in any application
via the keyboard equivalent it simply feeds back the alert sound. If I
run the service "by hand" (ie via the menu) it will then run via the
keyboard equivalent until you restart the application. I think that this
was happening even before I modified anything; this is what made me
think that the keyboard equivalents weren't working in some app's: can
anyone else confirm this behaviour??

Oh yeah, as per Thilo's message, either logout and login again or paste
the following into the PerlPad application itself and click "Process".

AppKit::Functions::NSUpdateDynamicServices();

Then restart some apps to use the modified keystroke in anger. See the
help pages in PerlPad for a very nice way to add new services (and 
register them). 'tis very cute to be able to calculate directly in an
iCal appointment on the main calendar display (amongst other places!).

Cheers,
Paul

Reply via email to