Customizing Commands

Forum for the PDF-XChange Editor - Free and Licensed Versions

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Sean - Tracker, Paul - Tracker Supp, Chris - Tracker Supp, Tracker Supp-Stefan, Ivan - Tracker Software

Post Reply
speed804
User
Posts: 31
Joined: Tue Jul 23, 2013 4:49 pm

Customizing Commands

Post by speed804 » Thu Dec 05, 2013 9:43 pm

Hello,

I set a shortcut key ctrl+alt+i for the import bookmarks command. I can't get the shorcut to work. Do I need to be in a certain view for the shortcut to work? It isn't used by any other commands and I have tried other shortcuts with the same success.

Also, I see that there is a command id. Is this command id available in any way to any other programs? Like via com/activex, commandline, windows send message, or something? I have tried some initial investigation and I can't see it replicated anywhere else. I am trying to automate this function using autohotkey to add a bookmark to each pdf I make.

Also, do you know to what extent pdfxchange editor is setup for accessibility? I tried viewing the accesible objects and couldn't find anything for the actual bookmark title bar, only the bookmarks pane.

Thanks,

Steve

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Customizing Commands

Post by Will - Tracker Supp » Thu Dec 05, 2013 10:50 pm

Hi Steve,

Thanks for the post - we've managed to reproduce the issue with the shortcut and will pass this along to the Dev. Team for investigation.

As to the other question - I'll also need to grab the Dev. Team on this one too. The Developer(s) that would be best for this are actually off sick today, so could I ask you to bear with us on this, until they're back and available?

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

speed804
User
Posts: 31
Joined: Tue Jul 23, 2013 4:49 pm

Re: Customizing Commands

Post by speed804 » Fri Dec 06, 2013 3:24 pm

The shortcut only works if you have the bookmarks toolbar active. I managed to automate what I wanted to do by sending a controlfocus to the bookmarks control and then sending my shortcut keys.

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Customizing Commands

Post by Will - Tracker Supp » Fri Dec 06, 2013 5:20 pm

Hi speed804,

Thanks for the addtional info. - I'm still waiting on the Devs. this morning, it's still fairly early here.

I'll post back as soon as I have more info. available.

Cheers,
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

speed804
User
Posts: 31
Joined: Tue Jul 23, 2013 4:49 pm

Re: Customizing Commands

Post by speed804 » Fri Dec 06, 2013 6:56 pm

Hi Will,

One answer to part of my first question I have figured out. The command id is used by javascript. So I can do this app.execMenuItem("cmd.bookmarksView.import") and it will run the import bookmarks command. That makes this relatively easy to automate which is nice. Now if only you guys would code the commandline to parse javascript code you would have the most useful feature of any pdf program I have seen :)!

User avatar
Will - Tracker Supp
Site Admin
Posts: 6806
Joined: Mon Oct 15, 2012 9:21 pm
Location: London, UK
Contact:

Re: Customizing Commands

Post by Will - Tracker Supp » Fri Dec 06, 2013 7:09 pm

Thanks for the info. there!
If posting files to this forum, you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded.
Thank you.

Best regards

Will Travaglini
Tracker Support (Europe)
Tracker Software Products Ltd.
http://www.tracker-software.com

User avatar
Vasyl-Tracker Dev Team
Site Admin
Posts: 1928
Joined: Thu Jun 30, 2005 4:11 pm
Location: Canada

Re: Customizing Commands

Post by Vasyl-Tracker Dev Team » Tue Dec 10, 2013 12:07 am

Hi, Steve
I set a shortcut key ctrl+alt+i for the import bookmarks command. I can't get the shorcut to work. Do I need to be in a certain view for the shortcut to work? It isn't used by any other commands and I have tried other shortcuts with the same success.
Reproduced and will be fixed in the next build. Thanks.
Also, I see that there is a command id. Is this command id available in any way to any other programs? Like via com/activex, commandline, windows send message, or something? I have tried some initial investigation and I can't see it replicated anywhere else. I am trying to automate this function using autohotkey to add a bookmark to each pdf I make.
Now if only you guys would code the commandline to parse javascript code you would have the most useful feature of any pdf program I have seen :)!
In the future we planning to implement additional feature: you will be able to run any custom JS-script by command line..
Also, do you know to what extent pdfxchange editor is setup for accessibility? I tried viewing the accesible objects and couldn't find anything for the actual bookmark title bar, only the bookmarks pane.
Currently we unsupported the accessibility interfaces (such as IAccessible, IAccessible2). It will be added in future builds.

Best
Regards.
Vasyl Yaremyn
Tracker Software Products
Project Developer

Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.

Post Reply