Synchronize the active tool / layout of document panes across all opened documents keyboard shortcut

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

Moderators: Daniel - PDF-XChange, PDF-XChange Support, Vasyl - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Paul - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Post Reply
MedBooster
User
Posts: 1372
Joined: Mon Nov 15, 2021 8:38 pm

Synchronize the active tool / layout of document panes across all opened documents keyboard shortcut

Post by MedBooster »

it would have been nice to have a keyboard shortcut function to toggle this function on and off more quickly.


Synchronize the layout of document panes across all opened documents
image.png
Last edited by MedBooster on Tue Dec 10, 2024 7:29 pm, edited 1 time in total.
My wishlist https://forum.pdf-xchange.com/viewtopic.php?p=187394#p187394
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues
User avatar
Stefan - PDF-XChange
Site Admin
Posts: 19826
Joined: Mon Jan 12, 2009 8:07 am
Contact:

Re: Synchronize the layout of document panes across all opened documents keyboard shortcut

Post by Stefan - PDF-XChange »

Hello MedBooster,

The majority of commands that you can use on a file can have a shortcut assigned to them, while the majority of commands that are "set and forget" would not have such an option.
We do see this one as either an on or off option that you would really need to set up once depending on your preferences and then leave as is. Why would you frequently need to sync the majority of documents, but then also turn that option off?

If it is the off file where you need to e.g. hide the thumbnails pane - it should be quicker for you to just hide the said pane for that file after it has loaded.

Kind regards,
Stefan
MedBooster
User
Posts: 1372
Joined: Mon Nov 15, 2021 8:38 pm

Re: Synchronize the layout of document panes across all opened documents keyboard shortcut

Post by MedBooster »

Ok, I guess I see how it might break the program if you set it to sync while having two different layouts in two windows. Which window would it prioritize.. It would improve my workflow though.
My wishlist https://forum.pdf-xchange.com/viewtopic.php?p=187394#p187394
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues
MedBooster
User
Posts: 1372
Joined: Mon Nov 15, 2021 8:38 pm

Re: Synchronize the layout of document panes across all opened documents keyboard shortcut

Post by MedBooster »

+ a keyboard shortcut/shortcut button for this would be useful in cases where you would want to quickly create a main layout for all tabs, and THEN quickly tweak what you want to change for just a few tabs.

viewtopic.php?t=44798
My wishlist https://forum.pdf-xchange.com/viewtopic.php?p=187394#p187394
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues
MedBooster
User
Posts: 1372
Joined: Mon Nov 15, 2021 8:38 pm

Re: Synchronize the layout of document panes across all opened documents keyboard shortcut

Post by MedBooster »

I made an autohotkey script for this
Just because I've found it so frustrating to turn it on and off in order to more easily to a "global" change for pane layout

Code: Select all


#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

; Hotkey: Shift + Win + K
#+K::
    ; Block other input
    BlockInput On
    ; Send the key sequence
    Send, ^+K
    Sleep, 200  ; Small delay for reliability
    Send, ^F
    Sleep, 100
    Send, General
    Sleep, 300
	Send, {Tab 2}
	Sleep, 50
	
	Send, {Enter}
    Sleep, 300

    Send, {Tab 11} ; highlight Synchronize the layout of document panes across all opened documents



    Sleep, 100
    Send, {Space} ; toggle Synchronize the layout
    Sleep, 100
    Send, {Tab 7}

    Sleep, 100
    Send, {Enter}
    Sleep, 100
    Send, +{Tab 3}
    Sleep, 100
    Send, {Enter}
	Send, {Escape}
    ; Unblock input
    BlockInput Off
return



seems to work fine, but might contain some redundant Enter buttons
Last edited by MedBooster on Tue Dec 10, 2024 7:18 pm, edited 1 time in total.
My wishlist https://forum.pdf-xchange.com/viewtopic.php?p=187394#p187394
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10963
Joined: Wed Jan 03, 2018 6:52 pm

Re: Synchronize the layout of document panes across all opened documents keyboard shortcut

Post by Daniel - PDF-XChange »

Hello, MedBooster

I am glad to hear you have found a viable solution to this.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
MedBooster
User
Posts: 1372
Joined: Mon Nov 15, 2021 8:38 pm

Re: Synchronize the layout of document panes across all opened documents keyboard shortcut

Post by MedBooster »

I wanted to make something similar for having the active tool synchronised across all tabs (so if you choose the stamp tool, the stamp tool is the active tool in all tabs.




Could you please remind me what this settings is called?


The setting in the screenshot is not for tool in all tabs, only for newly opened tabs it seems...
image.png
My wishlist https://forum.pdf-xchange.com/viewtopic.php?p=187394#p187394
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10963
Joined: Wed Jan 03, 2018 6:52 pm

Re: Synchronize the active tool / layout of document panes across all opened documents keyboard shortcut

Post by Daniel - PDF-XChange »

Hello, MedBooster

There is no setting to do so actively for already opened documents, the active tool can only be inherited by newly opened documents during the open process. This is intentional and will not be changing at this time.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
MedBooster
User
Posts: 1372
Joined: Mon Nov 15, 2021 8:38 pm

Re: Synchronize the active tool / layout of document panes across all opened documents keyboard shortcut

Post by MedBooster »

This is also useful if you have a customized pane layout in each tab with 10+ tabs open...

you can just sync all tabs and open and close all panes for all tabs to be the same again...

Would reset document panes layout be this as well? What counts as "default states"?
image.png

Is default states closing all? Or just pinning them to their default position?

I suggest implementing a "close all panes/panels" shortcut! — probably best to do this in all tabs/windows, not just the active tab, or maybe you could make two separate functions, one for the active tab and one for all tabs. When I say function I mean something you can bind a keyboard shortcut or shortcut button to.

#1 doing this in all tabs:
image(1).png
"clicking" the red cross

This would also be helpful in situations (we have discussed this in other threads) where you have bookmarks and thumbnails combined for example, and you'd like to just close both windows without having to use both keyboard shortcuts


Reminder + detailed explanation

viewtopic.php?t=40926&hilit=close+pane

To have a shortcut to close the pop-up window for bookmarks/thumnails/comments ( I understand that you can drag one out of the group, but it would still be helpful to have such a shortcut to close all regardsless of their position. (not the search panel though)
My wishlist https://forum.pdf-xchange.com/viewtopic.php?p=187394#p187394
Disable SPACE page navigation, fix kb shortcut for highlighting advanced search tool search field, bookmarks with numbers, toolbar small icon size, AltGr/Ctrl+Alt keyboard issues
User avatar
Daniel - PDF-XChange
Site Admin
Posts: 10963
Joined: Wed Jan 03, 2018 6:52 pm

Re: Synchronize the active tool / layout of document panes across all opened documents keyboard shortcut

Post by Daniel - PDF-XChange »

Hello, MedBooster

The Default state is both pinning them to the original location/size, and closing them. As the term "default state" implies, it is the state they would be on a fresh installation of the software, or the state after using the "reset settings" function, and selecting all caterogies.

#1, This is something that has come up in the past, I cannot promise implementation of a "close all panes" command, but is is something we are considering.
#2, Another way to quickly close secondary tabs (when multiple are opened in the same position) is to middle click on the pane title in the bottom "selector" area.
image.png
#3, This item seems to be identical to #1, except with the expectation that you can "restore" the last closed windows. This is unlikely to occur, given the previous discussion, the lack of a ticket, and most importantly, the lack of anyone else supporting that request since then. As you well know, user demand is a large factor in our new features, if something is highly complex to implement, and it is not seeing a number of requestors, it is not often likely to make it in, unless the Dev team sees something special in that request.
If more users come along requesting #3, I will be able to raise the topic again, but until we see more support than just yourself, I am sorry to say that at this time it remains a rejected feature.

Kind regards,
Dan McIntyre - Support Technician
PDF-XChange Co. LTD

+++++++++++++++++++++++++++++++++++
Our Web site domain and email address has changed as of 26/10/2023.
https://www.pdf-xchange.com
Support@pdf-xchange.com
Post Reply