Keyboard Focus

The PDF-XChange Viewer for End Users
+++ FREE +++

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

galenus
User
Posts: 4
Joined: Fri Aug 15, 2008 6:57 pm

Keyboard Focus

Post by galenus »

Hello all,
is there a way (e.g. hotkey) to switch keyboard focus from the bookmarks panel to the document window and vice versa without having to use the mouse?
Thanks in advance for your tips,
Martin
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19930
Joined: Mon Jan 12, 2009 8:07 am

Re: Keyboard Focus

Post by Stefan - PDF-XChange »

Hello Martin,

I am not aware of any such, but if you alt + tab to another application and then back to the Viewer the focus would be returned to the main window.

A possible way to get the focus to the bookmarks toolbar is to use Ctrl + Shift + B. This will get the focus where you want it, but will also create a new bookmark which you can then delete with the "Del" key - so while effectively being a key combination to get you there might not be faster than reaching for the mouse and clicking.

Best,
Stefan
galenus
User
Posts: 4
Joined: Fri Aug 15, 2008 6:57 pm

Re: Keyboard Focus

Post by galenus »

Hello Stefan,

thank you very much for your help! I've tried to solve this using an AutoHotkey macro that can be triggered by simply using the keyboard. The macro "clicks" in the middle of the document window, changes to the Hand tool, and quits. It's a quick-and-dirty solution, but it works fine. :-)

#a::
SetTitleMatchMode, 2
WinActivate, PDF-XChange Viewer
MouseClick, left, 673, 341
Send, h
MouseClick, left, 676, 347
Sleep, 100
return

Best wishes,
Martin
User avatar
Paul - PDF-XChange
Site Admin
Posts: 7444
Joined: Wed Mar 25, 2009 10:37 pm

Re: Keyboard Focus

Post by Paul - PDF-XChange »

nice to hear! :-)
Best regards

Paul O'Rorke
PDF-XChange Support
http://www.pdf-xchange.com