Run script from fp - Custom keyboard shortcuts

Please check the FAQ (https://www.xyplorer.com/faq.php) before posting a question...
Post Reply
highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Run script from fp - Custom keyboard shortcuts

Post by highend »

If "Advanced Options... - Allow Custom Keyboard Shortcuts in Preview"

is enabled, the F8 button uses the assigned keyboard shortcut from XY (in Fresh: Show Navigation Panels) instead.

Wouldn't it be better to override this specific hotkey when custom keyboard shortcuts is enabled?
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 66631
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Run script from fp - Custom keyboard shortcuts

Post by admin »

That would be an exception. Maybe a good one, not sure. I personally never use Allow Custom Keyboard Shortcuts in Preview.

highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Run script from fp - Custom keyboard shortcuts

Post by highend »

v15.90.0030 - 2015-11-12 20:54
! Floating Preview: "Run Script" did not work from the menu when "Allow
Custom Keyboard Shortcuts in Preview" was enabled. Fixed.
Still not working in a fresh; instance.

It doesn't execute "Show navigation panels" anymore (that's a fix) but it still doesn't execute the assigned button script...

Left clicking the button works, "Advanced Options... - Run script" works. F8 doesn't :)
One of my scripts helped you out? Please donate via Paypal

admin
Site Admin
Posts: 66631
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: Run script from fp - Custom keyboard shortcuts

Post by admin »

You mean if "Allow Custom Keyboard Shortcuts in Preview" is enabled? F8 is not supposed to work then. It should toggle navigation panels (it does not? that's a bug).

But generally, I currently think about having both sets of KS active in the FP always (and remove the option "Allow Custom Keyboard Shortcuts in Preview"), with priority to the FP's own set. All other KS would be handled by CKS definitions. Okay?

highend
Posts: 14993
Joined: 06 Feb 2011 00:33
Location: Win Server 2022 @100%

Re: Run script from fp - Custom keyboard shortcuts

Post by highend »

You mean if "Allow Custom Keyboard Shortcuts in Preview" is enabled?
Yes
F8 is not supposed to work then. It should toggle navigation panels (it does not? that's a bug).
*laughs* That's the complete opposite of what I expected :mrgreen:
But generally, I currently think about having both sets of KS active in the FP always (and remove the option "Allow Custom Keyboard Shortcuts in Preview"), with priority to the FP's own set. All other KS would be handled by CKS definitions. Okay?
That's the right way :tup:
One of my scripts helped you out? Please donate via Paypal

ghost zero
Posts: 842
Joined: 26 Apr 2010 17:48

"Floating Preview: New way to handle keys"

Post by ghost zero »

v15.90.0031 - 2015-11-13 15:31
*** Floating Preview: New way to handle keys. Now Floating Preview keyboard
shortcuts and main window keyboard shortcuts (Custom Keyboard Shortcuts)
are always active in the Floating Preview, but Floating Preview keys have
priority. If a key combination does not trigger anything in the Floating
Preview then it's passed on to the main window.
Please add an option to turn this off. Because I don't want to risk accidently triggering an unknown function if I press a wrong hotkey in preview mode.

admin
Site Admin
Posts: 66631
Joined: 22 May 2004 16:48
Location: Win8.1, Win10, Win11, all @100%
Contact:

Re: "Floating Preview: New way to handle keys"

Post by admin »

ghost zero wrote:
v15.90.0031 - 2015-11-13 15:31
*** Floating Preview: New way to handle keys. Now Floating Preview keyboard
shortcuts and main window keyboard shortcuts (Custom Keyboard Shortcuts)
are always active in the Floating Preview, but Floating Preview keys have
priority. If a key combination does not trigger anything in the Floating
Preview then it's passed on to the main window.
Please add an option to turn this off. Because I don't want to risk accidently triggering an unknown function if I press a wrong hotkey in preview mode.
Argh. Should have seen this coming. :( So "Allow Custom Keyboard Shortcuts in Preview" will be back. :) (Only that this time the FP keys will stay active.) Sigh.

ghost zero
Posts: 842
Joined: 26 Apr 2010 17:48

Re: "Floating Preview: New way to handle keys"

Post by ghost zero »

admin wrote:
ghost zero wrote:
v15.90.0031 - 2015-11-13 15:31
*** Floating Preview: New way to handle keys. Now Floating Preview keyboard
shortcuts and main window keyboard shortcuts (Custom Keyboard Shortcuts)
are always active in the Floating Preview, but Floating Preview keys have
priority. If a key combination does not trigger anything in the Floating
Preview then it's passed on to the main window.
Please add an option to turn this off. Because I don't want to risk accidently triggering an unknown function if I press a wrong hotkey in preview mode.
Argh. Should have seen this coming. :( So "Allow Custom Keyboard Shortcuts in Preview" will be back. :) (Only that this time the FP keys will stay active.) Sigh.
thanks, and please also revert back to the previous behavior upon upgrade.

Post Reply