# Workspace/Select with Buttons

**URL:** <https://forum.oscpilot.com/t/workspace-select-with-buttons/639>\
**Category:** OSC/PILOT General Discussion\
**Created:** [July 4, 2022, 1:19am UTC](https://forum.oscpilot.com/t/workspace-select-with-buttons/639 "2022-07-04T01:19:20Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![stratospheric](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.oscpilot.com/stratospheric/32/150_2.png) [@stratospheric](https://forum.oscpilot.com/u/stratospheric)\
**Post date:** [July 4, 2022, 1:19am UTC](https://forum.oscpilot.com/t/workspace-select-with-buttons/639/1 "2022-07-04T01:19:20Z")

</div>

Is there a way to have Workspace/Select work with BUTTONS?

The fixed spacing of the BUTTONS widget is perfect for menu bars, but the final /1 /2 /3, etc is not interpreted as a selector.

Missing something or a feature request?

---

<div class="post-metadata">

**Author:** ![malcolm](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.oscpilot.com/malcolm/32/19_2.png) [@malcolm](https://forum.oscpilot.com/u/malcolm)\
**Post date:** [July 4, 2022, 5:07pm UTC](https://forum.oscpilot.com/t/workspace-select-with-buttons/639/2 "2022-07-04T17:07:29Z")

</div>

You set the value that the button sends to be the workspace you want it to switch to, not as part of the OSC Address. So leave the address as /Workspace/Select, and then just set the value in the On value parameter.

---

<div class="post-metadata">

**Author:** ![stratospheric](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.oscpilot.com/stratospheric/32/150_2.png) [@stratospheric](https://forum.oscpilot.com/u/stratospheric)\
**Post date:** [July 5, 2022, 7:51am UTC](https://forum.oscpilot.com/t/workspace-select-with-buttons/639/3 "2022-07-05T07:51:49Z")

</div>

As I understand, that is the approach for BUTTON.

When I use BUTTONS, a multi-button widget, I cannot control the value for each button, the button goes out as a unique address example: /Workspace/Select/1 /Workspace/Select/2  
/Workspace/Select/3

Am I missing something?

---

<div class="post-metadata">

**Author:** ![stratospheric](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.oscpilot.com/stratospheric/32/150_2.png) [@stratospheric](https://forum.oscpilot.com/u/stratospheric)\
**Post date:** [July 10, 2022, 12:38am UTC](https://forum.oscpilot.com/t/workspace-select-with-buttons/639/4 "2022-07-10T00:38:19Z")

</div>

The answer is much simpler for BUTTONS. “A matrix of N by M buttons grouped together”

The address as /Workspace/Select

SINGLE OSC ADDRESS checkbox checked. "The values sent to this address will be the button number last pressed, starting with 1.0 for the top-left button. "

Thanks for the tight programming 🙂

---

<div class="post-metadata">

**Author:** ![DocJoe](https://avatars.discourse-cdn.com/v4/letter/d/ecccb3/32.png) [@DocJoe](https://forum.oscpilot.com/u/DocJoe)\
**Post date:** [July 5, 2023, 6:48am UTC](https://forum.oscpilot.com/t/workspace-select-with-buttons/639/5 "2023-07-05T06:48:11Z")

</div>

Woot! Just what I needed! Thanks
