Bug: Keyboard Shortcuts defined in plugins does not show up

Post your questions and problem reports here

Moderator: kfury77

Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.

  • Check the Support section of the corresponding product first. Chances are you will find your answer there;
  • Do not create new topics for already reported problems. Add your comments to the existing topics instead;
  • Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
  • Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
  • Include the version number of the software you are using;
  • This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;

Bug: Keyboard Shortcuts defined in plugins does not show up

Postby pmk65 » Thu Jan 05, 2017 9:51 am

In plugins you can define a keyboard shortcut using Script.RegisterDocumentAction, like:

Code: Select all
Script.RegisterDocumentAction("", "Math Eval", "Ctrl+'", "MathEval");


But the keyboard shortcut Ctrl+' (the 3rd parameter) is only active/available 50% (or less) of the times I start WeBuilder.

I have checked that no other plugins or keyboard shortcuts have been assigned to this key combination, so it's not due to conflicts.
There are 10 types of people in the world: Those who understand binary and those who don't.
User avatar
pmk65
 
Posts: 678
Joined: Sun Dec 20, 2009 9:58 pm
Location: Copenhagen, Denmark

Re: Bug: Keyboard Shortcuts defined in plugins does not show

Postby Aivars » Thu Jan 05, 2017 10:29 am

The keyboard shortcut will only be assigned if you install the plugin. If you're developing it similarly like I do then you probably just create the files/folders without installing the plugins and then the shortcuts won't get assigned automatically.
Blumentals Software Programmer
User avatar
Aivars
Blumentals Software Developer
 
Posts: 2452
Joined: Thu Aug 22, 2002 1:40 pm
Location: Latvia


Return to HTMLPad / Rapid CSS / Rapid PHP / WeBuilder Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron