Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

editing the workspace's menu

1 view
Skip to first unread message

Nick Kline

unread,
May 1, 1994, 5:50:54 AM5/1/94
to
In 3.0 I edited the workspace's menu and added i to refer to
Tools->inspector

This was very convenient. So tonight, I opened up
/usr/lib/NextStep/Workspace.app/WM.app/English.lproj/Workspace.nib and
edit the menu entry. I added 'i' to be the command key for
inspector.

But, it doesn't work! I logged out and logged in again and it didn't
work. The letter i was now visible there but alas, it didn't work.

Is there a layer of indirection in the workspace for command key
equivalents? Or is there another entry that already uses 'i'?
(I didn't find it).

And I still didn't get a solution for the problem, given two colors,
background and foreground, give me the highlight color.

thanks,

nick

Garance A. Drosehn

unread,
May 1, 1994, 10:28:28 PM5/1/94
to
kl...@CS.Arizona.EDU (Nick Kline) writes:
> In 3.0 I edited the workspace's menu and added i to refer to
> Tools->inspector
>
> This was very convenient. So tonight, I opened up
> /usr/lib/NextStep/Workspace.app/WM.app/English.lproj/Workspace.nib
> and edit the menu entry. I added 'i' to be the command key for
> inspector.
>
> But, it doesn't work! I logged out and logged in again and it didn't
> work. The letter i was now visible there but alas, it didn't work.

A much better solution, done on a per-user basis, is to use some
dwrite commands. There's a dwrite setting called NXCommandKeys.
For Terminal, for instance, I wanted to change command-key shortcuts.
In a unix window I typed:

dwrite Terminal NXCommandKeys "Quit,Q,Close Window,W"

so those would be capital letters, instead of lowercase letters.
In your case, you'd want to change:

dwrite Workspace NXCommandKeys "Inspector...,i"

I used to do this on my NS-2.1 system, but ended up deciding
that it made more sense to use the already-defined command-key
equivalents. Ie, command-1, command-2, command-3, and command-4
to get straight to the Inspector panel of choice.

--
Garance Alistair Drosehn = g...@eclipse.its.rpi.edu
ITS Systems Programmer (handles NeXT-type mail)
Rensselaer Polytechnic Institute; Troy NY USA

0 new messages