Mac Toolbars Editable?
-
@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