Match keyboard shortcut opening windows explorer

Hi, when I set a revit keyboard shortcut to either pyrevit’s ‘match element overrides’ or ‘match properties’, the shortcut opens windows explorer with the config file selected. I would like it to behave as if I was pressing the match button. Any help would be appreciated.
Thanks,
Kyle

Hi, welcome,

What is the shortcut you are trying to assign ?

Thanks Jean-Marc! I had assigned it shift+alt+c. Just tried RRR and it worked! I had seen this page earlier but didn’t put 2 and 2 together that my shortcut was activating the alt+click option to show the script in windows explorer. I’m wanting a shortcut similar to ctrl+shift+c which I use to match property type.

I’d also be interested in using the keyboard only to ‘finish’ the process, instead of clicking the finish button. Thoughts?

1 Like

Button click options
Great you found out why.

Finish button

Not to say it is impossible but probably not easy to get a shortcut on the finish button.
I know some are theoretically accessible through the shortcut list of Revit but def. not all of them _ and many, while assignable in the UI, do not do anything as they are in a state _ transaction_ where the UI is not accessible. The finish button, from the journal entry, is this line in the shortcut xml

<ShortcutItem CommandName="Finish" CommandId="IDD_MULTIPICK_DBAR:ID_FINISH_MULTI_PICK_DBAR" Paths="Contextual Tabs&gt;Multiple" />
  <ShortcutItem CommandName="Create System; Recreate System; Finish; Create Floor; Create Roof" CommandId="ID_FINISH_MULTI_PICK_DBAR" Paths="Contextual Tabs&gt;Multiple Selection; Contextual Tabs&gt;Intersects" />

Assigning a shortcut like so, did not work

  <ShortcutItem CommandName="Finish" CommandId="IDD_MULTIPICK_DBAR:ID_FINISH_MULTI_PICK_DBAR" Shortcuts="FI" Paths="Contextual Tabs&gt;Multiple" />

Technically, these are Postable command entries:
IDD_MULTIPICK_DBAR:ID_FINISH_MULTI_PICK_DBAR

Wild guess, You could try to add an event listener in the match properties command, that would listen to keyboard keystrokes…

This was something that greatly irritated me when I started with Revit. Now I am just numbed by these bumd UX.