Zayik / CommandSender

Stream Deck plugin for sending UDP/TCP messages from a key press.
MIT License
14 stars 2 forks source link

Multi Action #3

Closed nooonde2 closed 2 years ago

nooonde2 commented 2 years ago

Hi, is it possible to set an udp-command in the "Multi Action Window"? I can't see the option there,

achanner commented 2 years ago

+1 for this.

The UDP send functionality works an absolute treat for what I need (Thanks BiffMasterZay!) but I would love to be able to send messages in Streamdeck as part of a Multi-Action command - is it possible that you can add this option please?

Zayik commented 2 years ago

Glad to hear that send functionality is working great for you!

I'll have to look into this. At first glance, I don't see anything that would be preventing it from showing up. Unfortunately, the developer documentation doesn't appear to have much information regarding upgrading a plugin to have multi-action support so it will take some research when I have a chance.

achanner commented 2 years ago

I'll have to look into this. At first glance, I don't see anything that would be preventing it from showing up. Unfortunately, the developer documentation doesn't appear to have much information regarding upgrading a plugin to have multi-action support so it will take some research when I have a chance.

Completely understand - best of luck and thanks for the plugin - Im amazed there doesnt seem to be any simple send UDP tool for streamdeck out there, and yours worked an absolute treat first time!

Zayik commented 2 years ago

Part of the issue is that Javascript by default doesn't work with udp, at least not with streamdeck. So that's an entry barrier for making udp related apps. I think there exist js libraries for using udp but they are not accessible using stream deck. Luckily somebody made a library for using c# which fully supported udp and thats what I used. I might try to look at it tonight or tomorrow.

On Mon, Feb 28, 2022, 9:25 AM achanner @.***> wrote:

I'll have to look into this. At first glance, I don't see anything that would be preventing it from showing up. Unfortunately, the developer documentation doesn't appear to have much information regarding upgrading a plugin to have multi-action support so it will take some research when I have a chance.

Completely understand - best of luck and thanks for the plugin - Im amazed there doesnt seem to be any simple send UDP tool for streamdeck out there, and yours worked an absolute treat first time!

— Reply to this email directly, view it on GitHub https://github.com/Zayik/CommandSender/issues/3#issuecomment-1054488955, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACEELKWC52KODP3VSM662VTU5OVZ7ANCNFSM5PKNGWSA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you commented.Message ID: @.***>

gaffatejp commented 2 years ago

It is not enough to just set the multi action support flag to true in the manifest file?

gaffatejp commented 2 years ago

Yup, it's that simple. Just change to "SupportedInMultiActions": true in the manifestfile, and it works with multi action buttons. I tested it with a receiver to make sure. Note: You have to download the project, change the manifest file, build in Visual Studio, run CreatePackageInstaller.bat, then install the plugin.

Zayik commented 2 years ago

Hey gaffatejp,

Thanks for sending back your findings. I lowkey forgot about this after spending quite a few 10-12hr+ days of work. I'm going to set a reminder to get this updated after work today.

Thanks again and hope it's working out well for you. If you have any feedback, please let me know and I can look at adding features to it if needed.

Zayik commented 2 years ago

An update has been made and the easy installer updated. Multi Action now operational! image