files-community / files-community/Files

Feature: Add support for assigning keyboard shortcut to shortcut files

Open
#13,438 4 comments 0 reactions 0 assignees View on GitHub
area - properties window
Dominant language
C#
Stars
45.4k
Forks
2.9k
Avg merge
19h 7m
Merged PRs (30d)
62

Description

### What feature or improvement do you think would benefit Files?

On Windows, shortcuts located within certain folders will be scanned and their designated hotkey specified within their metadata will be listened to, and such shortcuts will be ran once their hotkey is pressed.

One is able to fill such a field through the Windows Explorer, in the properties dialog of a shortcut.

This field is not present in the Files App properties dialog.

### Requirements

As this field corresponds to a combination of modifiers and a single key, as opposed to other fields which are typically text only, a new sub-kind of field would have to be implemented, wherein modifiers would be mapped to a string spelling their name.

1. Display the currently selected shortcut if one is set
2. Display edit button or icon upon which clicking will allow the user to change the shortcut
3. Display save button or icon to allow user to save the shortcut

### Files Version

4.5.21.0

### Windows Version

10.0.19045.2788 | Windows 10 Pro | Version 22H2 | OS build 19045.2788 | Windows Feature Experience Pack 120.2212.4190.0

### Comments

_No response_

Contributor guide

Open the contributing guide

Research direction

Start by tracing the Files properties dialog for shortcut files and the existing shortcut metadata handling. Confirm how Windows represents the hotkey, then define the modifier/key field's edit and save flow. Done means the selected shortcut is displayed, can be edited and saved, and launches with its assigned hotkey.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
desktop
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.