Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom keyboard shortcuts for profiles #534

Open
muescha opened this issue Jan 22, 2025 · 0 comments
Open

Custom keyboard shortcuts for profiles #534

muescha opened this issue Jan 22, 2025 · 0 comments
Labels

Comments

@muescha
Copy link

muescha commented Jan 22, 2025

Is your feature request related to a problem? Please describe.

There are default shortcuts for Scan Profiles. But the ShortCuts depends on the ScanProfile order.

Describe the solution you'd like

Allow to change the Shortcut per Profile, but it should be independent of the order. It should be placed in the edit profile dialog and/or in the General Settings Dialog (see #207 )

Describe alternatives you've considered

Reorder the profiles to fit the F2-F9 order. but sometimes user in the family do interesting things and then complain that the scan output is not the right one ;)

Implementation details

Each profile should get an UUID in the profiles.xml and in the config.xml:

<?xml version="1.0" encoding="utf-8"?>
 <ArrayOfScanProfile xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <ScanProfile>
     <Version>2</Version>
     <UUDI>bd01ce1e-7a20-42cb-aff6-523054f0fcbb</UUDI>
     <DisplayName>7320 Einzug Grau 200dpi</DisplayName>
<KeyboardShortcuts>
    <ScanDefault>Ctrl+Enter</ScanDefault>
    <ScanProfile uuid="bd01ce1e-7a20-42cb-aff6-523054f0fcbb">F2</ScanProfile>
@muescha muescha changed the title Keyboard shortcuts for ScanProfiles Change keyboard shortcuts for ScanProfiles Jan 22, 2025
@cyanfish cyanfish changed the title Change keyboard shortcuts for ScanProfiles Custom keyboard shortcuts for profiles Jan 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants