Skip to content

Conversation

Copy link

Copilot AI commented Jan 20, 2026

Implements a dynamic toolbar for macOS Finder with common file operations accessible via Loupedeck devices.

Structure

  • FinderApplication: Links plugin to macOS Finder (com.apple.finder)
  • FinderFolder: Dynamic toolbar container for organizing commands
  • 9 Command Classes: File operations using native keyboard shortcuts

Commands

Command Shortcut Operation
New Window ⌘N Opens new Finder window
New Folder ⌘⇧N Creates folder in current location
Move to Trash ⌘Delete Deletes selected items
Get Info ⌘I Shows item properties
Quick Look Space Previews selected items
Go Back ⌘[ Previous folder navigation
Go Forward ⌘] Forward folder navigation
View Options ⌘J View customization panel
Duplicate ⌘D Duplicates selected items

All commands inherit from PluginDynamicCommand and use SendKeyboardShortcut() for reliability. Toolbar auto-activates when Finder is frontmost.

Example

public class FinderNewWindowCommand : PluginDynamicCommand
{
    public FinderNewWindowCommand()
        : base(displayName: "New Window", description: "Opens a new Finder window", groupName: "Finder")
    {
    }

    protected override void RunCommand(String actionParameter)
    {
        this.Plugin.ClientApplication.SendKeyboardShortcut(VirtualKeyCode.VK_N, ShiftKeyFlags.Command);
    }
}

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • logitech.github.io
    • Triggering command: /home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js (dns block)

If you need me to access, download, or install something from one of these locations, you can either:

Original prompt

Make me a dynamic toolbar for finder


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI and others added 3 commits January 20, 2026 08:17
Co-authored-by: jakePDP <177174750+jakePDP@users.noreply.github.com>
Co-authored-by: jakePDP <177174750+jakePDP@users.noreply.github.com>
Co-authored-by: jakePDP <177174750+jakePDP@users.noreply.github.com>
Copilot AI changed the title [WIP] Add dynamic toolbar for Finder Add macOS Finder dynamic toolbar with 9 file management commands Jan 20, 2026
Copilot AI requested a review from jakePDP January 20, 2026 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants