rivafarabi / deckboard

Control your PC with your phone in easy way possible. News and updates on @DeckboardApp.
https://deckboard.app/
560 stars 30 forks source link

Conditions/Program feature #381

Open elmundomusical2 opened 4 years ago

elmundomusical2 commented 4 years ago

@rivafarabi , you don't know how feasible this would be.

But a idea is to change the button based on a condition such as what program is run.

For example you can have a button for quit program with a close icon.

As different programs may use different shortcuts to close the program.

MPC-HC - Alt X General - Alt F4 / CTRL W Chrome - CTRL Shift Q

Other programs have their own quit commands etc.

So instead of having a dedicated page full of different close or other commands for all the apps used it would be nice to have a fluid button you can input programs like run on and it'll send the correct command to whatever app is in the foreground active at that time.

Can be used as a dynamic button for a dedicated function.

Some examples of programs using different commands are close, save, find I'm sure there are many more.

YaFou commented 4 years ago

Duplicate of #193. I think just update the older issue will send a notification.

elmundomusical2 commented 4 years ago

I've already tried it, but it doen't send a notification... :(

Yurlyn commented 4 years ago

Have you tried using Deckboard in conjuction with AutoHotKey? Use DB's Run Program for the AutoHotKey script and it'll work. I have a window resizer/mover script that I use just in case they get moved due to one of my three monitors failing to stay connected and it works like a charm :D

Example:

if WinExist("Untitled - Notepad") WinClose ; use the window found above else WinClose, Calculator

elmundomusical2 commented 4 years ago

But I don't know how to write those scripts😅😅

Yurlyn commented 4 years ago

I'm no expert but I can help you set this up and teach you how to do it if you want :D