Re: [F-Script-talk] Console toolbar button
Brought to you by:
pmougin
From: Jonathan 'W. R. <ni...@re...> - 2004-10-02 22:53:11
|
Philippe Mougin, pm...@ac..., wrote: >You can also do this: > >menu := FScriptMenuItem alloc init autorelease. >NSApplication sharedApplication mainMenu addItem:menu. >menu interpreterView interpreter browse:myObject. Cool. But how do I get to the console before the menu item is installed? :-) >It might be interesting to add something like that to F-Script. >Show us the code! I added one new .nib -- FSConsole2.nib -- to the framework, added its related controller class FSConsole2Controller.hm and modified BigBrowserView.m and BigBrowserToolbar.m. <http://rentzsch.com/share/FScriptSources-20040821-wolf_console_toolbar.tgz > FSConsole2 is poorly named. I went to name it FSConsole, saw the name was already in use, and couldn't think of anything better :-( | Jonathan 'Wolf' Rentzsch http://rentzsch.com | Red Shed Software http://redshed.net | "better" necessarily means "different" |