Main > Forum > 1C:Enterprise Platform > 1C:Enterprise – Business applications platform > Global shortcut openning common form whatever user is doing

Forum

Search UsersRules
Global shortcut openning common form whatever user is doing
#1
Active user
Points:: 0
Joined:: Sep 18, 2012

Hello everyone!
I need to set global shortcut (F3), for global command, openning commonform. For example: whatever user is doing (no matter what kind of form is just open or edited) when he or she uses this shortcut, then this common form opens.
Is it possible?
Thank you in advance for your answer.
Kris

Profile
#2
Active user
Points:: 0
Joined:: Mar 10, 2017

Kris, hello!

I know one way you can do it. There is global short key command Ctrl + Shift + F for opening a default search form. You can set up your own form for this shortcut in the configuration property. After this the command Ctrl + Shift + F will call your form.

Kind regards,
Alex

Profile
#3
Active user
Points:: 0
Joined:: Sep 18, 2012

Yes, but I need my own shortcut (F3 key) and besides Ctrl+Shift+F doesn't work always. It should work no matter I do.

Profile
#4
Interested
Points:: 0
Joined:: Dec 4, 2017

Dear Kris,

There is no universal solution for this task.

Option 1. Create a common command with a keyboard shortcut and bind the command to an actions panel group.

Alternatively, if you do not want to display the command in the user interface, you can place the command to a common command group, bind the group to the actions panel, and then, in the main section command interface, hide the command.

Anyway, such a shortcut does not work elsewhere in your application.

In the command, it is recommended to use keyboard shortcuts that differ from those that 1C:Enterprise platform uses by default. For instance, F3 is used to find the next occurrence of the sought-for element.

Option 2. Use an external component (like AddHook.dll) to catch all keyboard pressing events and process them in accordance with how you want to respond to a particular keyboard shortcut.

This option works in the thin and thick client and does not work in the web client.

Best regards,
Vladimir Gurov

Profile
Subscribe
Users browsing this topic (guests: 1, registered: 0, hidden: 0)



© 1C LLC. All rights reserved
1C Company respects the privacy of our customers and visitors
to our Web-site.