- When assigning certain shortcut keys, the Customize Toolbars… > Properties does not seem to report some built-in keyboard shortcuts. For example Ctrl+Shift+Up, Ctrl+Shift+Down both show up as not assigned: yet if I do assign them, they do not work, because there is a built-in command that is associated with them (goto first page, goto last page respectively) that overrides it even if the menu shows it: I have similar issues with PageDown, PageUp and just with Ctrl+Up, Ctrl+Down, etc.
- A separate issue, in javascript, if using app.addMenuItem()
It actually assigns Ctrl+Shift+PageDown !
Code: Select all
cHotkey: 'Ctrl+Shift+End',
[build 401 Bugs] Issues with assigning shortcut keys
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
Mathew
- User
- Posts: 838
- Joined: Thu Jun 19, 2014 7:30 pm
[build 401 Bugs] Issues with assigning shortcut keys
Two issues:
You do not have the required permissions to view the files attached to this post.
-
Sean - PDF-XChange
- Site Admin
- Posts: 1092
- Joined: Wed Sep 14, 2016 5:42 pm
Re: [build 401 Bugs] Issues with assigning shortcut keys
Hi Mathew,
Thanks for the feedback/report - I've let the development team know.
Kind regards,
Thanks for the feedback/report - I've let the development team know.
Kind regards,
Sean Godley
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623
Technical Writer
PDF-XChange Co LTD
Sales: +1 (250) 324-1621
Fax: +1 (250) 324-1623
-
Mathew
- User
- Posts: 838
- Joined: Thu Jun 19, 2014 7:30 pm
Re: [build 401 Bugs] Issues with assigning shortcut keys
Thanks Sean. I just upgraded to build 403 and it's the same.
Here's a basic test script that shows the inconsistencies. Many of the shortcuts are listed when you export the CSV of shortcuts, but as noted above, not PageUp, PageDown, arrow keys, etc:
Here's a basic test script that shows the inconsistencies. Many of the shortcuts are listed when you export the CSV of shortcuts, but as noted above, not PageUp, PageDown, arrow keys, etc:
Code: Select all
// testing keyboard shortcuts
// with Ctrl
app.addSubMenu({
cName: 'Ctrl_test',
cParent: '',
});
[ 'Tab', 'ScrollLock', 'Insert', 'PageUp', 'PageDown', 'Home', 'End', 'Up', 'Down', 'Left', 'Right', 'NumPlus', 'NumMinus', 'Num0', 'Num1', 'Num2', 'Num3', 'Num4', 'Num5', 'Num6', 'Num7', 'Num8', 'Num9', 'NumDec'].forEach( (b,i) => {
const sc = 'Ctrl+'+b;
app.addMenuItem({
cName: 'Ctrl_'+i,
cUser: sc,
cParent: 'Ctrl_test',
cHotkey: sc,
cExec: `app.alert('${sc}');`
});
});
// with Ctrl+Shift
app.addSubMenu({
cName: 'CtrlShift_test',
cParent: '',
});
[ 'Tab', 'ScrollLock', 'Insert', 'PageUp', 'PageDown', 'Home', 'End', 'Up', 'Down', 'Left', 'Right', 'NumPlus', 'NumMinus', 'Num0', 'Num1', 'Num2', 'Num3', 'Num4', 'Num5', 'Num6', 'Num7', 'Num8', 'Num9', 'NumDec'].forEach( (b,i) => {
const sc = 'Ctrl+Shift+'+b;
app.addMenuItem({
cName: 'CtrlShift_'+i,
cUser: sc,
cParent: 'CtrlShift_test',
cHotkey: sc,
cExec: `app.alert('${sc}');`
});
});-
Dimitar - PDF-XChange
- Site Admin
- Posts: 2682
- Joined: Mon Jan 15, 2018 9:01 am
Re: [build 401 Bugs] Issues with assigning shortcut keys
Thanks for the detailed problem report, Matthew.
I forwarded it to our developers for further investigation.
Regards.
I forwarded it to our developers for further investigation.
Regards.