[Plugin] LordOfTheToolbars - v2.8a - 10 Nov 24
-
@gordon mclaren said:
I use the "Personal Command Menu" often and would definitely like to see it working again.
I have a workaround for this.
Assign some weird shortcut to your menu item (I say "weird" because maybe you don't want to waste some available handy keyboard shortcut for this).
Then create a ruby script button and type in the following:shell = WIN32OLE;;new("WScript.Shell") shell.SendKeys "InsertYourWeirdSendkeyShortcutHere"
Insert your shortcut between quotes using the "Microsoft sendkeys" syntax, you can find the reference at this link:
Here's an example.. this one would be equivalent to press "Ctrl+Shift+ALt+F11" each time you push hit the toolbar button.
-
@panixia said:
..I have a workaround for this....
shell = WIN32OLE;;new("WScript.Shell") > shell.SendKeys "InsertYourWeirdSendkeyShortcutHere" >
Just be aware that this fix won't last forever. I'm using it in one of my plugins and SU2022 is already warning me it will be deprecated in a next version of Ruby.
-
@kaas said:
Just be aware that this fix won't last forever. I'm using it in one of my plugins and SU2022 is already warning me it will be deprecated in a next version of Ruby.
Well, I'm not a developer so I don't know a lot about this.. I've just found this snippet long ago to make it work with the old "Toolbar Editor" plugin.
Actually I don't need this that much right now, because I still use 2021 with classic perpetual license and LOTT works like a charm in SU21.
By the way I tested this in 2023 and it works 100% for now.
Maybe in future Ruby version this will be replaced with some different syntax to handle Sendkeys -
Thanks for all the suggestions/workarounds, I will give them a try.
-
@Fredo is implementing of multiple key shortcuts is possible via plugin? A-la Revit, for example - EP for 'edit profile builder's path'?
-
@Panixia - Thanks once again for the work-around, I have implemented it and it works like a charm.
-
Glad that it helped
-
@panixia said:
@gordon mclaren said:
I use the "Personal Command Menu" often and would definitely like to see it working again.
I have a workaround for this.
Assign some weird shortcut to your menu item (I say "weird" because maybe you don't want to waste some available handy keyboard shortcut for this).
Then create a ruby script button and type in the following:shell = WIN32OLE;;new("WScript.Shell") > shell.SendKeys "InsertYourWeirdSendkeyShortcutHere" >
Insert your shortcut between quotes using the "Microsoft sendkeys" syntax, you can find the reference at this link:
Here's an example.. this one would be equivalent to press "Ctrl+Shift+Alt+F11" each time you hit the toolbar button.
[attachment=0:16wbl6tz]<!-- ia0 -->SendKeysShortchut.JPG<!-- ia0 -->[/attachment:16wbl6tz]
Hi. I could not figure out your instructions on how to restore the tools from the "Menu" ((
Maybe write in more detail? Thank you in advance. -
@aismebel said:
Hi. I could not figure out your instructions on how to restore the tools from the "Menu" ((
Maybe write in more detail? Thank you in advance.I wrote exactly the more detailed description I can think of.
Is actually the "step by step" explaination and I also added the code you need and the reference page for the syntax you should use to recall your shortcuts from SendKeys.Please notice that this DOES NOT restore the "menu button" functionality of LOTT in SU23.
This is just a workaround to create a ruby script button in LOTT that can mimic the missing "menu button" feature.
The ruby script just invokes a shortcut when you hit the toolbar button.
You need to assign that shortcut (to the menu item you want to create a button for) before creating the button itself. -
Bonjour,
J'ai installé LordOfTheToolbars sur la version 2023, mais il semble qu'il ne trouve pas le chemin pour accéder aux menus, y a-t-il une procédure manuel pour lui indiquer le chemin ? Il semble que je n'ai pas trouvé comment faire. Du coup je me suis remis à la version 2022 faute de pouvoir retrouver mon organisation fonctionnel. Faut-il attendre une mise à jour ou est-ce qu'il y a un moyen de rendre fonctionnel l'accès aux menus.
Merci -
@laurent002 said:
Bonjour,
J'ai installé LordOfTheToolbars sur la version 2023, mais il semble qu'il ne trouve pas le chemin pour accéder aux menus, y a-t-il une procédure manuel pour lui indiquer le chemin ? Il semble que je n'ai pas trouvé comment faire. Du coup je me suis remis à la version 2022 faute de pouvoir retrouver mon organisation fonctionnel. Faut-il attendre une mise à jour ou est-ce qu'il y a un moyen de rendre fonctionnel l'accès aux menus.
MerciTout est expliqué en anglais dans les derniers posts précédant celui-ci
-
Hi. I'm ashamed that I can't figure out how it works. Maybe someone will record a training video?)))
-
@aismebel said:
Hi. I'm ashamed that I can't figure out how it works. Maybe someone will record a training video?)))
There are videos in the first post of this thread. There are others on YouTube.
-
@fredo6 said:
@aismebel said:
Hi. I'm ashamed that I can't figure out how it works. Maybe someone will record a training video?)))
There are videos in the first post of this thread. There are others on YouTube.
Hi Fredo. Perhaps you misunderstood me. I wanted to see a video in which, with the help of a script from the author of panixida, it will be possible to use the command menu. The menu is a very convenient tool, its absence does not allow me to switch to SU2023.
-
Hello,
I have installed LordOfTheToolBars on sketchup 2023, but there is no access to any menus tools. Only icons. It means that i can't creat icons, anything.
The most interresting thing about your plugin.
What can I do to fixe or modify to fixe that link problem.
Thanks for your help. -
@laurent002 said:
Hello,
I have installed LordOfTheToolBars on sketchup 2023, but there is no access to any menus tools. Only icons. It means that i can't creat icons, anything.
The most interresting thing about your plugin.
What can I do to fixe or modify to fixe that link problem.
Thanks for your help.Yes. Menu disappeared due to change of UI framework for Su2023 on Windows (on Mac this is still available). No workaround possible, unless Trimble provides new API methods.
-
@laurent002 said:
Hello,
I have installed LordOfTheToolBars on sketchup 2023, but there is no access to any menus tools. Only icons. It means that i can't creat icons, anything.
The most interresting thing about your plugin.
What can I do to fixe or modify to fixe that link problem.
Thanks for your help.Not exactly the same, but you can achieve similar result with this workaround.
http://sketchucation.com/forums/viewtopic.php?f=323&t=73776&view=unread#p687744
-
Thanks for the suggestion, I will give a try
-
I seem to have lost the Quick Command finder. I'm using Sketchup 2021 pro, and have the latest LibFredo and LOTT. I've tried reinstalling LOTT and have Sketchup installed as admin.
Is there any way to reset the position of where the quick command finder dialog pops up - or have I broken something?
Thanks v much
T -
I seem to have lost my Quick Command Finder pop up. I'm all up to date, Sketchup installed as admin, and have reinstalled LOTT.
Is there a way to reset where the popup pops up - or have I missed or broken something? I'm on 2021 Pro.
Thanks!
Advertisement