# Register the times a translator has been triggered. CMD+TAB functionality on windows (not apps). MacOS related

**URL:** <https://forum.bome.com/t/register-the-times-a-translator-has-been-triggered-cmd-tab-functionality-on-windows-not-apps-macos-related/5578>\
**Category:** Bome Products\
**Tags:** midi-translator\
**Created:** [October 23, 2023, 5:17pm UTC](https://forum.bome.com/t/register-the-times-a-translator-has-been-triggered-cmd-tab-functionality-on-windows-not-apps-macos-related/5578 "2023-10-23T17:17:27Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![SteveC](https://forum.bome.com/user_avatar/forum.bome.com/stevec/32/8250_2.png) [@SteveC](https://forum.bome.com/u/SteveC)\
**Post date:** [October 24, 2023, 2:36pm UTC](https://forum.bome.com/t/register-the-times-a-translator-has-been-triggered-cmd-tab-functionality-on-windows-not-apps-macos-related/5578/4 "2023-10-24T14:36:11Z")

</div>

If the value of ga is equal to 0, the below rule, will toggle the value between 0 and 1

ga=ga^1

This is an exclusive OR operator so what it does is it compares the current takes the current value and swaps it. It is a bitwise operator so in this case it works only on bit 0 of 32 bits.

See [this post](https://forum.bome.com/t/bitwise-operations-and-reference/1862) on bitwise operations.

Steve Caldwell  
Bome Customer Care

* * *
_Also available for paid consulting services: bome@sniz.biz_

---

_[View the full topic](https://forum.bome.com/t/register-the-times-a-translator-has-been-triggered-cmd-tab-functionality-on-windows-not-apps-macos-related/5578)._
