[Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby panixia » Wed Feb 22, 2023 6:13 pm

Gordon McLaren wrote: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:

Code: Select all
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:

https://learn.microsoft.com/en-us/offic ... -statement

Here's an example.. this one would be equivalent to press "Ctrl+Shift+Alt+F11" each time you hit the toolbar button.

SendKeysShortchut.JPG
1
User avatar
panixia 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby kaas » Wed Feb 22, 2023 7:17 pm

panixia wrote:..I have a workaround for this....
Code: Select all
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.
0

kaas 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby panixia » Wed Feb 22, 2023 8:18 pm

kaas wrote: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?
1
User avatar
panixia 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby Gordon McLaren » Wed Feb 22, 2023 8:42 pm

Thanks for all the suggestions/workarounds, I will give them a try.
0

Gordon McLaren 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby rv1974 » Thu Feb 23, 2023 6:21 am

@Fredo is implementing of multiple key shortcuts is possible via plugin? A-la Revit, for example - EP for 'edit profile builder's path'?
0

rv1974 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby Gordon McLaren » Fri Feb 24, 2023 7:20 am

@Panixia - Thanks once again for the work-around, I have implemented it and it works like a charm.
0

Gordon McLaren 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby panixia » Fri Feb 24, 2023 8:06 am

Glad that it helped :D
0
User avatar
panixia 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby AISmebel » Thu Mar 02, 2023 8:13 am

panixia wrote:
Gordon McLaren wrote: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:

Code: Select all
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:

https://learn.microsoft.com/en-us/offic ... -statement

Here's an example.. this one would be equivalent to press "Ctrl+Shift+Alt+F11" each time you hit the toolbar button.

SendKeysShortchut.JPG


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.
0

AISmebel 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby panixia » Thu Mar 02, 2023 4:58 pm

AISmebel wrote: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 (the screenshot in the example is actually from SU21, don't be misled by that).
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.
0
User avatar
panixia 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby laurent002 » Tue Mar 07, 2023 10:18 am

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
0

laurent002 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby panixia » Tue Mar 07, 2023 2:50 pm

laurent002 wrote: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

Tout est expliqué en anglais dans les derniers posts précédant celui-ci
0
User avatar
panixia 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby AISmebel » Thu Mar 09, 2023 8:19 am

Hi. I'm ashamed that I can't figure out how it works. Maybe someone will record a training video?)))
0

AISmebel 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby fredo6 » Thu Mar 09, 2023 5:36 pm

AISmebel wrote: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.
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby AISmebel » Fri Mar 10, 2023 8:57 am

fredo6 wrote:
AISmebel wrote: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.
0

AISmebel 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby laurent002 » Wed Mar 15, 2023 4:19 am

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.
0

laurent002 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby fredo6 » Wed Mar 15, 2023 11:33 am

laurent002 wrote: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.
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby panixia » Wed Mar 15, 2023 6:37 pm

laurent002 wrote: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.

viewtopic.php?f=323&t=73776&view=unread#p687744
0
User avatar
panixia 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby Julien 2 » Fri Mar 24, 2023 8:27 pm

Thanks for the suggestion, I will give a try ;)
1

Julien 2 
Premium Member
Premium Member
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby HouseOfBOP » Tue Apr 25, 2023 4:41 pm

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!
0

HouseOfBOP 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby fredo6 » Tue Apr 25, 2023 6:02 pm

HouseOfBOP wrote: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.

Do you have several monitors?
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby HouseOfBOP » Wed Apr 26, 2023 1:27 pm

I'm on a laptop with an extra screen. I disconnected the second screen when I was trying to retrieve the popup. No luck though.
0

HouseOfBOP 
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby fredo6 » Wed Apr 26, 2023 6:48 pm

HouseOfBOP wrote:I'm on a laptop with an extra screen. I disconnected the second screen when I was trying to retrieve the popup. No luck though.

Could you do the following
  1. Open the Ruby Console
  2. Launch the LOTT Find dialog
  3. Copy paste the following command in the Ruby console and press Enter
    Traductor::ChromiumWdlg.check_instance_displayed("LOTT_MiniFindDialog", true).set_position(0, 0)

The Find dialog should go to the position top left corner of your screen.
0
User avatar
fredo6 
Premium Member
Premium Member
 

Re: [Plugin] LordOfTheToolbars - v2.4a - 29 Nov 22

Postby HouseOfBOP » Thu Apr 27, 2023 10:09 am

That solved it. Thanks so much.
Take care
T
0

HouseOfBOP 
 

SketchUcation One-Liner Adverts

by Ad Machine » 5 minutes ago



Ad Machine 
Robot
 

Previous


 

Return to Plugins

Who is online

Users browsing this forum: Google Bot, kenzsal2642, tuahgagak and 8 guests