# How to edit source code of a trigger directly

**URL:** <https://community.folivora.ai/t/how-to-edit-source-code-of-a-trigger-directly/10565>\
**Category:** Configuration Help & General Discussion\
**Created:** [August 28, 2019, 5:55pm UTC](https://community.folivora.ai/t/how-to-edit-source-code-of-a-trigger-directly/10565 "2019-08-28T17:55:21Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![modusponens](https://community.folivora.ai/user_avatar/community.folivora.ai/modusponens/32/7505_2.png) [@modusponens](https://community.folivora.ai/u/modusponens)\
**Post date:** [August 28, 2019, 5:55pm UTC](https://community.folivora.ai/t/how-to-edit-source-code-of-a-trigger-directly/10565/1 "2019-08-28T17:55:21Z")

</div>

I know if I right-click on a trigger it copies the source code to the clipboard. If I go to the Apple Notes app and paste I can see this kind of business

> ```
> [
> {
> "BTTTriggerType" : 0,
> "BTTTriggerClass" : "BTTTriggerTypeKeyboardShortcut",
> 
> ```

I assumed if I made a change to this code and then copied it, I would then be able to paste it back into BTT but it's not working. What am I missing?

---

<div class="post-metadata">

**Author:** ![Andreas\_Hegenberg](https://community.folivora.ai/user_avatar/community.folivora.ai/andreas_hegenberg/32/39221_2.png) [@Andreas\_Hegenberg](https://community.folivora.ai/u/Andreas_Hegenberg)\
**Post date:** [August 28, 2019, 6:03pm UTC](https://community.folivora.ai/t/how-to-edit-source-code-of-a-trigger-directly/10565/2 "2019-08-28T18:03:27Z")

</div>

this works. However it is not officially supported and the different keys and possible values are not documented. It’s mostly for sharing configuration.

Make sure to use a plain text texteditor, notes is bad for such things.
