Mac Toolbars Editable?
-
Am I right in thinking only the Main Toolbar on a Mac is editable? The Toolbars created by Ruby plugins are not editable in the same way?
-
hi Jim,
this is it, you can have a single row under the menu bar, if you overfill you get a show more arrow( not a second row)
and although some 'ruby tools' show up here, they don't stay in this toolbar after you close sketchup.... very annoyingjohn
-
@driven said:
hi Jim,
this is it, you can have a single row under the menu bar, if you overfill you get a show more arrow( not a second row)
and although some 'ruby tools' show up here, they don't stay in this toolbar after you close sketchup.... very annoyingjohn
[attachment=1:222onchb]<!-- ia1 -->mac_customise toolbar.jpg<!-- ia1 -->[/attachment:222onchb]
that last bit --
it's not that ruby tools won't show up there (and this is the same for sketchup's own sandbox, dynamic component, and solar north icons --- which, btw, are located in the same place as other plugins [/library/app support])
it's that the plugins folder, i assume, is accessed later in the launch sequence than the toolbar being made..
try this:
put a ruby icon in the custom toolbar
quit sketchup
launch sketchup (the icon won't be up there at this point)
open a new window (there's the icon)fwiw, i made a request at the google forum regarding this:
http://www.google.com/support/forum/p/sketchup/thread?tid=77e94e04c15c3d0e&hl=en..but i'm not too sure it's going to get worked out.
fwiw, this is how my custom toolbar looks right now and you'll see i have some plugins up there.
[attachment=0:222onchb]<!-- ia0 -->screen 2011-01-02 at 6.47.58 PM.jpg<!-- ia0 -->[/attachment:222onchb]
-
thanks Jeff,
I use to have them 'stay' in V7 by doing that, but I'd completely forgotten it was a workaround...
that you probably suggested in the first place...
john
-
Does anyone know if the 'measurements box' png in the Mac toolbar is accessible and editable?
I like the box top center yet frown upon the word invading the landscape.
-
@wind-borne said:
Does anyone know if the 'measurements box' png in the Mac toolbar is accessible and editable?
I like the box top center yet frown upon the word invading the landscape.On PC its not a png, it's dynamically generated text. It changes (because it's a prompt,) depending on the Tool in use, and what step you are at in the Tool.
In fact there are Ruby methods to set the VCB text prompt for coders writing their own Tool plugins.
VCB = Value Control Box (another name for the Measurements Control.)
-
Duh,
I always just looked inside the box but now I see words outside changing to reflect the action.
Thanks
-
@unknownuser said:
it's that the plugins folder, i assume, is accessed later in the launch sequence than the toolbar being made..
try this:
put a ruby icon in the custom toolbar
quit sketchup
launch sketchup (the icon won't be up there at this point)
open a new window (there's the icon)I also remembered the 'auto activate paint tool' preference 'bug' stops if your doing this and have also added a shortcut to Model Info window... to stop it popping up when you hit the space bar (set for 'select'), after using paint bucket.
john
-
@unknownuser said:
it's that the plugins folder, i assume, is accessed later in the launch sequence than the toolbar being made..
try this:
put a ruby icon in the custom toolbar
quit sketchup
launch sketchup (the icon won't be up there at this point)
open a new window (there's the icon)Ah, thanks - this is what I had missed. Each Ruby Command on a Toolbar does show up as an individual item on the Mac custom toolbar dialog, but sometimes not in the first opened window. It would suggest there's a timing issue.
Each platform seems to have half the solution. Users need to be able to create their own Toolbars (or Tool Palettes on Mac), and also be able add/remove individual Commands from it.
-
@jim said:
Each platform seems to have half the solution. Users need to be able to create their own Toolbars (or Tool Palettes on Mac), and also be able add/remove individual Commands from it.
I did some more work on my Menu and Toolbar hack today. Got full hierarchy of Menus with access to menu text and procs. It would be possible to intercept the creation of the menus and place them at custom locations. Same thing can be done to toolbars.
Just want to make a quick Webdialog to go along with the proof of concept - then I'll post it here in the developers section so we can have collective review and brainstorming. -
Also, are Mac Toolbars always vertical? In Windows, you can drag their border to change their aspect.
Oop, nevermind - drag them to the edge of the screen and they change automatically.
-
jim, thom
you can edit the nibs on NSPanels, and I guess you could change the content if you know all the tool codes...
john
-
How did you do that?
-
I've sent a PM, you need Xcode and interface builder, and know where to find the files...
I'm not sure if 10.6 lets you, but 10.5.8 does, there not locked, just buried...
john
-
@driven said:
jim, thom
you can edit the nibs on NSPanels, and I guess you could change the content if you know all the tool codes...
[attachment=0:1e21rm0n]<!-- ia0 -->tool palettes .jpg<!-- ia0 -->[/attachment:1e21rm0n]john
hi i want this can you show me how?
Advertisement