# ADDED: Send OSC without Argument

**URL:** <https://forum.oscpilot.com/t/added-send-osc-without-argument/309>\
**Category:** OSC/PILOT Bugs And Feature Requests\
**Created:** [December 15, 2020, 5:17pm UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309 "2020-12-15T17:17:46Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![HarryG](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@HarryG](https://forum.oscpilot.com/u/HarryG)\
**Post date:** [December 15, 2020, 5:17pm UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/1 "2020-12-15T17:17:47Z")

</div>

First of all, thanks for the constant support and updates with this software. It is far better than a lot of what is currently on offer given the power of its flexibility.

Can you add a feature to allow you to send an OSC command without an Argument?

I have seen further down in the forum that you pushed an update allowing the use of Integers and Strings and that is a great add, but I have a few applications that just require the command with no argument after. I notice that if I leave either the OSC ON or OFF fields blank it simply won’t send that command. I think there may need to be an option to send the command with no argument if the field is left empty. Equally if the user placed a special character in the box it would send On or OFF with no argument?

Possible or am I barking up the wrong tree?

Thanks.

---

<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:** [December 22, 2020, 6:41am UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/2 "2020-12-22T06:41:41Z")

</div>

Thanks for the feedback. Yea, there’s no way to do that right now. I’m trying to think what the UI would be that would allow for that. A special character wouldn’t work since it’s possible someone would want that character to be sent as their string. I’ll try to think of something though

---

<div class="post-metadata">

**Author:** ![HarryG](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@HarryG](https://forum.oscpilot.com/u/HarryG)\
**Post date:** [December 22, 2020, 10:45am UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/3 "2020-12-22T10:45:22Z")

</div>

Thanks Malcolm,

Understood on the character, that makes sense and may cause another issue later down the line for someone!

Maybe a simple tick box, to turn each field on or off? Or could this be global in the main settings.

Thanks.

---

<div class="post-metadata">

**Author:** ![coupe70](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@coupe70](https://forum.oscpilot.com/u/coupe70)\
**Post date:** [January 21, 2021, 9:22pm UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/4 "2021-01-21T21:22:17Z")

</div>

Is it even necessary to change the UI for that?  
What about sending the message without argument if OSC on/off are empty,  
but an OSC address is given?

---

<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:** [January 22, 2021, 4:13am UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/5 "2021-01-22T04:13:31Z")

</div>

Currently that means don’t send the message at all. For example for cases where people want something sent when a button is pressed, but nothing sent when it’s released.

---

<div class="post-metadata">

**Author:** ![coupe70](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@coupe70](https://forum.oscpilot.com/u/coupe70)\
**Post date:** [January 22, 2021, 11:30am UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/6 "2021-01-22T11:30:27Z")

</div>

So this could still mean:  
Both values empty, but address given → send address only.

But I understand that this is somewhat inconsistent, I was thinking from the “simple UI” side only. Maybe a check box “send address only” would be better, the presence of values could then decide WHEN to send the address.

---

<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:** [January 22, 2021, 5:54pm UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/7 "2021-01-22T17:54:44Z")

</div>

Yeah that’s the issue, just clearing the fields doesn’t say when to send it. A checkbox would work for sure. I’m just always trying to think of ways to keep the UI from becoming overloaded with options

---

<div class="post-metadata">

**Author:** ![coupe70](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@coupe70](https://forum.oscpilot.com/u/coupe70)\
**Post date:** [January 31, 2021, 6:51pm UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/8 "2021-01-31T18:51:13Z")

</div>

No address → don’t send OSC  
Address given, but both values empty → Send without argument

I would consider this only useful being sent on press / on, not on release / off.

Address given, only LOW value given → Send on release / off only (LOW value)  
Address given, only HIGH value given → Send on press / on only (HIGH value)  
Address given, both values given → Send on press / on (HIGH value) and on release / off (LOW value)

Btw, I just tested the (Multi-)Buttons and it seems they are ALWAYS “single OSC address”, no matter if the option is ticked or not. Or I don’t get how to input different OSC addresses for the buttons…

---

<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:** [January 31, 2021, 7:07pm UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/9 "2021-01-31T19:07:49Z")

</div>

Ya good point, I can see that making sense.

The extra addresses are automatically built from the single address you provide, by appending an index to them. In the latest build you put a # in the address to decide where the index goes.

---

<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:** [January 31, 2021, 10:56pm UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/10 "2021-01-31T22:56:39Z")

</div>

Here’s a daily build with this functionality included:  
[https://software.mau5trap.com/OSCpilot-Installer-v1.4.1.exe](https://software.mau5trap.com/OSCpilot-Installer-v1.4.1.exe)  
Let me know if you have any issues.

---

<div class="post-metadata">

**Author:** ![HarryG](https://avatars.discourse-cdn.com/v4/letter/h/7bcc69/32.png) [@HarryG](https://forum.oscpilot.com/u/HarryG)\
**Post date:** [February 1, 2021, 8:51am UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/11 "2021-02-01T08:51:34Z")

</div>

Hi Malcolm, this works a treat! Thanks for getting this in.

---

<div class="post-metadata">

**Author:** ![coupe70](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@coupe70](https://forum.oscpilot.com/u/coupe70)\
**Post date:** [February 4, 2021, 3:00pm UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/12 "2021-02-04T15:00:28Z")

</div>

Works as suggested, cool!  
Two tiny things that feel odd to me:

1. I would expect OSC ON to be first the row, then OFF as the ON value is sent first and is the “more important” one.
2. When you clear the OSC address “/” is always left. This is kind of confusing as OSC address has to be EMPTY if you don’t want the message to be sent. Suggestion if your intention was to help the user not to forget the first “/”: If the user enters an OSC address without “/” in front, just add it then.

Anything else to check in 1.4.1. while we’re at it? 🙂

---

<div class="post-metadata">

**Author:** ![coupe70](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@coupe70](https://forum.oscpilot.com/u/coupe70)\
**Post date:** [February 4, 2021, 3:20pm UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/13 "2021-02-04T15:20:36Z")

</div>

Short addition:  
‘#’ in OSC address does not work for me as expected in 1.4.1  
Modifying a button in default layout to /PLAY\_R/#/x outputs /PLAY\_R/#/x and not /PLAY\_R/1/x

---

<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:** [February 7, 2021, 5:56pm UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/14 "2021-02-07T17:56:39Z")

</div>

The # only works for Buttons and Sliders, not Button. A single button doesn’t support # since there is nothing to replace, there’s only one of them. I should make it so it doesn’t accept # though for clarity. Or am I misunderstanding you? It works a correctly for Buttons for me

Agreed about the /, I’ll make it so that can be removed. Ya, I’m trying to make it easier to put the leading / in the address there and not forget it.

---

<div class="post-metadata">

**Author:** ![coupe70](https://avatars.discourse-cdn.com/v4/letter/c/4491bb/32.png) [@coupe70](https://forum.oscpilot.com/u/coupe70)\
**Post date:** [February 7, 2021, 7:33pm UTC](https://forum.oscpilot.com/t/added-send-osc-without-argument/309/15 "2021-02-07T19:33:07Z")

</div>

Ooooh, my bad! I didn’t read properly.  
I thought the ‘#’ would represent the number of the page the control is on and  
actually didn’t see too much use in it…  
Now it makes perfect sense to have ‘#’ represent the number of a button or fader  
in the multi-button/fader! I wouldn’t block ‘#’ for other controls, I just misread the  
explanation.

What I always like in such apps are switchable tooltipps in the edit window.  
(if you are not sure what I mean, search for pictures of “windows tooltips”).  
These special tweaks you did for the “send OSC without argument” for example  
are always a little hard to remember when not using the editor all the time. And  
it is annoying to always search in the manual. I find it handy to just turn on tooltipps  
and then getting short explanations when hovering over the switches and values.
