# Custom Command - Adding the CTRL and SHIFT key

**URL:** <https://community.yatse.tv/t/custom-command-adding-the-ctrl-and-shift-key/1837>\
**Category:** Solved\
**Tags:** custom-command, kodi\
**Created:** [June 12, 2019, 11:01pm UTC](https://community.yatse.tv/t/custom-command-adding-the-ctrl-and-shift-key/1837 "2019-06-12T23:01:58Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kccool2](https://community.yatse.tv/user_avatar/community.yatse.tv/kccool2/32/359_2.png) [@Kccool2](https://community.yatse.tv/u/Kccool2)\
**Post date:** [June 12, 2019, 11:01pm UTC](https://community.yatse.tv/t/custom-command-adding-the-ctrl-and-shift-key/1837/1 "2019-06-12T23:01:58Z")

</div>

Hi,

I’m trying to create a custom command that sends “CTRL+SHIFT+O” to kodi, but I cannot find, nor have any idea how to add in the CTRL or SHIFT button key.

Please oh please can someone help me as I’m pulling my hair out at this point.  
I couldn’t make head nor tail of the keymap wiki, such is the n00b I am.

Any help is massively appreciated all, thank you!

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 13, 2019, 9:38am UTC](https://community.yatse.tv/t/custom-command-adding-the-ctrl-and-shift-key/1837/2 "2019-06-13T09:38:17Z")

</div>

Your need is not to send the key combination but to start the command that this combination triggers 😉

That one is already provided, just import the Player debug info custom command 😉

---

<div class="post-metadata">

**Author:** ![Kccool2](https://community.yatse.tv/user_avatar/community.yatse.tv/kccool2/32/359_2.png) [@Kccool2](https://community.yatse.tv/u/Kccool2)\
**Post date:** [June 13, 2019, 9:44am UTC](https://community.yatse.tv/t/custom-command-adding-the-ctrl-and-shift-key/1837/3 "2019-06-13T09:44:42Z")

</div>

Oh wow, I had no idea about that! Thank you very much.

Although, how would I send the CTRL and SHIFT key via a custom command?

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [June 13, 2019, 9:46am UTC](https://community.yatse.tv/t/custom-command-adding-the-ctrl-and-shift-key/1837/4 "2019-06-13T09:46:55Z")

</div>

You can’t and there’s no reason you should.

You are creating commands, there’s no point in trying to send a key that will trigger a command that can change on Kodi side. Directly assign the end command.

---

<div class="post-metadata">

**Author:** ![Kccool2](https://community.yatse.tv/user_avatar/community.yatse.tv/kccool2/32/359_2.png) [@Kccool2](https://community.yatse.tv/u/Kccool2)\
**Post date:** [June 13, 2019, 9:50am UTC](https://community.yatse.tv/t/custom-command-adding-the-ctrl-and-shift-key/1837/5 "2019-06-13T09:50:03Z")

</div>

Ok, thank you for the quick response!

---

<div class="post-metadata">

**Author:** ![Chupa](https://community.yatse.tv/letter_avatar_proxy/v4/letter/c/bbce88/32.png) [@Chupa](https://community.yatse.tv/u/Chupa)\
**Post date:** [May 25, 2020, 11:19pm UTC](https://community.yatse.tv/t/custom-command-adding-the-ctrl-and-shift-key/1837/6 "2020-05-25T23:19:54Z")

</div>

I was reading this posy since I am struggling to get a custom command working.  
Since kodi now can play uhd blu ray menu’s I need a shortcut to display the blu-ray menu/uhd menu while the movie is playing. The shortcut with the board is ctrl+shift+m , how can I set this op with the yatse remote control app ?  
please help me , thanks.

---

<div class="post-metadata">

**Author:** ![MidnightWatcher](https://community.yatse.tv/user_avatar/community.yatse.tv/midnightwatcher/32/848_2.png) [@MidnightWatcher](https://community.yatse.tv/u/MidnightWatcher)\
**Post date:** [July 11, 2020, 1:13am UTC](https://community.yatse.tv/t/custom-command-adding-the-ctrl-and-shift-key/1837/7 "2020-07-11T01:13:19Z")

</div>

I also need to sent CTRL + J to bring up the madVR info screen during playback. How can I add this? We need proper documentation for adding CTRL and ALT and SHIFT as well as combinations.

---

<div class="post-metadata">

**Author:** ![Tolriq](https://community.yatse.tv/user_avatar/community.yatse.tv/tolriq/32/12_2.png) [@Tolriq](https://community.yatse.tv/u/Tolriq)\
**Post date:** [July 11, 2020, 5:14am UTC](https://community.yatse.tv/t/custom-command-adding-the-ctrl-and-shift-key/1837/8 "2020-07-11T05:14:21Z")

</div>

As explained a million time no you don’t 🙂

Ctrl+j start a command, just use that command directly from Yatse.  
There’s no need to use an intermediary keymap.

---

<div class="post-metadata">

**Author:** ![Jack\_Mithen](https://community.yatse.tv/user_avatar/community.yatse.tv/jack_mithen/32/1301_2.png) [@Jack\_Mithen](https://community.yatse.tv/u/Jack_Mithen)\
**Post date:** [February 18, 2024, 3:14am UTC](https://community.yatse.tv/t/custom-command-adding-the-ctrl-and-shift-key/1837/9 "2024-02-18T03:14:10Z")

</div>

Just thought I’d chime in here with my example as this thread helped me.

I use 2 audio profiles so I can send Bluetooth audio from my phone to Kodi, and I need to switch audio outputs to do so in system settings (and back again for Kodi use).

Mapped alt f4 to a tv remote button (running flirc so acting as a keyboard, alt f4 unneeded otherwise), which triggers audio profile change from addon.

In Yatse, created a custom command to RunScript(script.audio.profiles,0). So now I can switch the audio output with only my phone, useful for when starting phone bluetooth playback to Kodi.
