aasmal97 / Window-Actions

A StreamDeck Plugin that allows a user to perform window actions, and navigate virtual desktops, on a windows machine
https://marketplace.elgato.com/product/window-actions-1466943f-b058-4e6c-be04-cbd65ce09b31
MIT License
8 stars 0 forks source link

Add support for ititle identifier type #1

Closed fpayer closed 1 year ago

fpayer commented 1 year ago

There is currently no way to minimize/maximize a window by a substring match of the window title.

Selecting the "Window Title" identifier type executes the nircmd with the command win {min|max} title {name}. This command requires an exact match of the window title. However, I would like to select a window using a partial match because I'm trying to select a window that dynamically updates a portion of the title.

I would like to suggest adding a new Identifier Type for a partial window title match that will execute nircmd with win {min|max} ititle {name}, which will support a partial match on the window title. I believe this change should only require a small update to the commands.js and index.html

aasmal97 commented 1 year ago

I agree! I'll create a new branch to implement this.

aasmal97 commented 1 year ago

@fpayer This is updated! You can wait for Elgato to update the app version in their store, or download the v1.2 release file

fpayer commented 1 year ago

Wow that was quick! Thanks so much.

How long do you think it'll take Elgato to update the app version in the store?

aasmal97 commented 1 year ago

Usually takes 1-2 weeks. However, the current version can be downloaded straight from github, here and will automatically be added to your stream deck, replacing the older version. It will prompt you to trust the author/file though, before you can use it :) !