-
-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A button change another button state feature #427
Comments
Hi. This is also exactly what I've been wishing for, a button action which acts on other buttons selected from a list of created buttons, much like the "This action button". I've been creating a matrix of buttons for view selection in MSFS, and I'd like to show the active button. But when selecting another view, I'd like any active button to automatically switch off, so as to only have one view selected at a time. Thank you. Love the app. |
Thank you very much Paco. BTW, your English is better than my Spanish.
…________________________________
From: Paco Salcedo ***@***.***>
Sent: Saturday, May 25, 2024 5:31 PM
To: Macro-Deck-App/Macro-Deck ***@***.***>
Cc: RedLeader24 ***@***.***>; Manual ***@***.***>
Subject: Re: [Macro-Deck-App/Macro-Deck] A button change another button state feature (Issue #427)
use variables
when pressing, set a var value.
example; position = 0, position = 1, position = 2...
in case of an event, set a desendace Variable Change / variable name
if varieble - variable name - equals (0,1,2,....)
your action
else
status button
images (spanish)
when pressing set variable value "camarapos"
image.png (view on web)<https://github.com/Macro-Deck-App/Macro-Deck/assets/1094633/0235abeb-2042-4553-9f2a-0f3af79a3cd5>
in case of an event
image.png (view on web)<https://github.com/Macro-Deck-App/Macro-Deck/assets/1094633/cc562fdd-3689-43da-8ff9-1c1bfc580cb6>
Sorry 4 may english
—
Reply to this email directly, view it on GitHub<#427 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/BIKRTQ73HGI7BH2LEM24AMDZEDDGDAVCNFSM6AAAAAA3TOFFKOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZRGM3DSMJZGU>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hi there! I'd like to suggest a feature that makes it possible to change one button state when pressing another button.
The situation: I have a button that start/ pause a scoreboard timer and another one that reset the timer. The problem is that when the start/pause button is on, I'd like it to be changed to off when pressing the reset button because when it's on, I have to press it twice in order to start the timer again. A workaround would be the possibility of changing its state by changing an obs source visibility so I'd set the reset timer button to change the source visibility to hidden and the start/pause button state would be changed to off.
EDIT: I know I could add an extra button so I'd have one to start the timer, another one to pause it and the third one to stop it but it would cost me an extra slot on Macro Deck page and my MD page is full and I wouldn't like to add extra row or column because I like its current design and buttons size.
EDIT 2: I found a way to overcome this issue. I added an event to the start/pause button so when I press the stop button, it turns a source to hidden in OBS. When this happen, the start/pause button state turns to off. And I added a command to start/pause button that turns the obs source to visible when pressed.
Well, I think that's all for now. Thanks!
The text was updated successfully, but these errors were encountered: