# ADDED: How to send string

**URL:** <https://forum.oscpilot.com/t/added-how-to-send-string/261>\
**Category:** OSC/PILOT General Discussion\
**Created:** [October 27, 2020, 2:17pm UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261 "2020-10-27T14:17:08Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![yvesw](https://avatars.discourse-cdn.com/v4/letter/y/a9a28c/32.png) [@yvesw](https://forum.oscpilot.com/u/yvesw)\
**Post date:** [October 27, 2020, 2:17pm UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261/1 "2020-10-27T14:17:09Z")

</div>

Hello there,

Is there any way to send a string instead of a float value ?  
Thxs

---

<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:** [October 27, 2020, 3:28pm UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261/2 "2020-10-27T15:28:07Z")

</div>

Currently there is not. Are you looking to send a string when a button is pressed? I was just thinking about this the other day

---

<div class="post-metadata">

**Author:** ![yvesw](https://avatars.discourse-cdn.com/v4/letter/y/a9a28c/32.png) [@yvesw](https://forum.oscpilot.com/u/yvesw)\
**Post date:** [October 27, 2020, 3:41pm UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261/3 "2020-10-27T15:41:25Z")

</div>

Yes exactly trying to make a nice UI for controlling a disguise for VP application J

Any idea ?

Thxs

Yves

---

<div class="post-metadata">

**Author:** ![yvesw](https://avatars.discourse-cdn.com/v4/letter/y/a9a28c/32.png) [@yvesw](https://forum.oscpilot.com/u/yvesw)\
**Post date:** [October 27, 2020, 3:42pm UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261/4 "2020-10-27T15:42:20Z")

</div>

And sending an integer ?

---

<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:** [October 28, 2020, 3:29am UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261/5 "2020-10-28T03:29:54Z")

</div>

I think I’ll change it so if you put a string in the ‘Off’ or ‘On’ OSC value fields for the Button widget, it’ll send those strings instead of a float.  
For integer, do you think it’s necessary? I’d assume most software that is expecting a number will accept either an int or a float for that number.  
Look for a new pre-release build in a few days with this new string feature.

---

<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:** [October 28, 2020, 4:36am UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261/6 "2020-10-28T04:36:20Z")

</div>

I’ve now added sending strings for Button widgets, and also integers will be sent if an int is in the Button field. New build coming soon

---

<div class="post-metadata">

**Author:** ![yvesw](https://avatars.discourse-cdn.com/v4/letter/y/a9a28c/32.png) [@yvesw](https://forum.oscpilot.com/u/yvesw)\
**Post date:** [October 28, 2020, 7:19am UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261/7 "2020-10-28T07:19:09Z")

</div>

Great news thank you  
Best

Mobile

---

<div class="post-metadata">

**Author:** ![yvesw](https://avatars.discourse-cdn.com/v4/letter/y/a9a28c/32.png) [@yvesw](https://forum.oscpilot.com/u/yvesw)\
**Post date:** [October 28, 2020, 9:24am UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261/8 "2020-10-28T09:24:47Z")

</div>

Another questions:

- Is there a way to have multiple action button ( I would like to do a kind of reset to default values button)
- Can a fader receive osc back so he’ll ajust to the value of disguise ?

Thxs

Yves

---

<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:** [October 28, 2020, 4:06pm UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261/9 "2020-10-28T16:06:25Z")

</div>

No way to have multiple commands for a button. I think you’d need to have your receiving system run a script, if it supports them.

Yes, you can send back values to the OSC address of any widget, it’ll take on those values

---

<div class="post-metadata">

**Author:** ![yvesw](https://avatars.discourse-cdn.com/v4/letter/y/a9a28c/32.png) [@yvesw](https://forum.oscpilot.com/u/yvesw)\
**Post date:** [October 29, 2020, 4:08pm UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261/10 "2020-10-29T16:08:16Z")

</div>

Hello Malcom,

Thank you for the update version really appreciated, it worked for me for the strings but what about the integer, is there a special character, expression to use to send one ?

Thxs

yves

---

<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:** [October 29, 2020, 9:21pm UTC](https://forum.oscpilot.com/t/added-how-to-send-string/261/11 "2020-10-29T21:21:41Z")

</div>

Just set the value as 1 instead of 1.0, and it’ll send an integer. In general I wouldn’t expect this to make a difference though.
