At Sat, 28 May 2011 11:58:43 +0200, Bert Freudenberg wrote:
On 28.05.2011, at 02:50, Yoshiki Ohshima wrote:
I recently started using Mac for Squeak coding. I knew this has been a problem for some time but what can I do to setSearchString: when I pressed Cmd-h?
You can modify the shortcuts for system menu items using MacMenubarPlugin.
See http://wiki.squeak.org/squeak/3871
The original changesets for HostMenus are at
ftp://ftp.smalltalkconsulting.com/experimental/Ffenestri
The most recent version of that code is probably in Pharo's HostMenus package.
I got back to it and just found a way to do it without plugin. Since "Undo" and "Clear" are grayed out in the Cog VM's Mac OS menu, I can assign Cmd-h and Cmd-q to those from the "Keyboard Shortcut" preferences and effectively kill these shortcuts. Cool.
-- Yoshiki