How to pass arguments to BTT via external URL call

Hi @Andreas_Hegenberg , trying to activate a BTT trigger via BTT URL to the trigger but also want to pass in some args. How can I do that?

URL: btt://trigger_named/?trigger_name=ShowHUD

Want something like btt://trigger_named/?trigger_name=ShowHUD&arg2=Test and arg2 can be used in the action.

In this case, I'm trying to send in some text from an external application to HUD action so it can show up.

config of trigger

[
  {
    "BTTLastUpdatedAt" : 1708489241.4778409,
    "BTTTriggerType" : 643,
    "BTTTriggerTypeDescription" : "Named Trigger: ShowHUD",
    "BTTTriggerClass" : "BTTTriggerTypeOtherTriggers",
    "BTTUUID" : "8095AA02-81A8-4D5F-BB79-6930478EC6DE",
    "BTTPredefinedActionType" : 366,
    "BTTPredefinedActionName" : "Empty Placeholder",
    "BTTTriggerName" : "ShowHUD",
    "BTTEnabled" : 1,
    "BTTEnabled2" : 1,
    "BTTOrder" : 6,
    "BTTAdditionalActions" : [
      {
        "BTTLastUpdatedAt" : 1708489086.4441919,
        "BTTTriggerType" : -1,
        "BTTTriggerParentUUID" : "8095AA02-81A8-4D5F-BB79-6930478EC6DE",
        "BTTIsPureAction" : true,
        "BTTTriggerClass" : "BTTTriggerTypeOtherTriggers",
        "BTTUUID" : "D40E9440-23FB-4136-B80F-495A488FA56F",
        "BTTPredefinedActionType" : 254,
        "BTTPredefinedActionName" : "Show HUD Overlay",
        "BTTHUDActionConfiguration" : "{\"BTTActionHUDBlur\":true,\"BTTActionHUDBackground\":\"0.000000, 0.000000, 0.000000, 243.880341\",\"BTTIconConfigImageHeight\":100,\"BTTActionHUDPosition\":0,\"BTTActionHUDDetail\":\"\",\"BTTActionHUDDuration\":0.89999997615814209,\"BTTActionHUDDisplayToUse\":0,\"BTTIconConfigImageWidth\":100,\"BTTActionHUDSlideDirection\":0,\"BTTActionHUDHideWhenOtherHUDAppears\":false,\"BTTActionHUDWidth\":220,\"BTTActionHUDAttributedTitle\":\"cnRmZAAAAAADAAAAAgAAAAcAAABUWFQucnRmAQAAAC6DAQAAKwAAAAEAAAB7AQAAe1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcY29jb2FydGYyNzU5Clxjb2NvYXRleHRzY2FsaW5nMFxjb2NvYXBsYXRmb3JtMHtcZm9udHRibFxmMFxmbmlsXGZjaGFyc2V0MCBIZWx2ZXRpY2FOZXVlO30Ke1xjb2xvcnRibDtccmVkMjU1XGdyZWVuMjU1XGJsdWUyNTU7XHJlZDI1NVxncmVlbjI1NVxibHVlMjU1O30Ke1wqXGV4cGFuZGVkY29sb3J0Ymw7O1xjc3NyZ2JcYzEwMDAwMFxjMTAwMDAwXGMxMDAwMDA7fQpccGFyZFx0eDU2MFx0eDExMjBcdHgxNjgwXHR4MjI0MFx0eDI4MDBcdHgzMzYwXHR4MzkyMFx0eDQ0ODBcdHg1MDQwXHR4NTYwMFx0eDYxNjBcdHg2NzIwXHBhcmRpcm5hdHVyYWxccWNccGFydGlnaHRlbmZhY3RvcjAKClxmMFxmczUwIFxjZjIgVEVTVDExfQEAAAAjAAAAAQAAAAcAAABUWFQucnRmEAAAAH551WW2AQAAAAAAAAAAAAA=\",\"BTTActionHUDBorderWidth\":1,\"BTTActionHUDTitle\":\"\",\"BTTActionHUDHeight\":220}",
        "BTTEnabled" : 1,
        "BTTEnabled2" : 1,
        "BTTOrder" : 2
      }
    ]
  }
]

BTT doesn't have such functionality.

Maybe you could use the trigger_action function and pass the necessary json:

{ "BTTPredefinedActionType" : 254,
  "BTTPredefinedActionName" : "Show HUD Overlay", 
  "BTTHUDActionConfiguration" : "{\"BTTActionHUDBlur\":true,\"BTTActionHUDBackground\":\"0.000000, 0.000000, 0.000000, 243.880341\",\"BTTIconConfigImageHeight\":100,\"BTTActionHUDPosition\":0,\"BTTActionHUDDetail\":\"\",\"BTTActionHUDDuration\":0.89999997615814209,\"BTTActionHUDDisplayToUse\":0,\"BTTIconConfigImageWidth\":100,\"BTTActionHUDSlideDirection\":0,\"BTTActionHUDHideWhenOtherHUDAppears\":false,\"BTTActionHUDWidth\":220,\"BTTActionHUDAttributedTitle\":\"cnRmZAAAAAADAAAAAgAAAAcAAABUWFQucnRmAQAAAC6DAQAAKwAAAAEAAAB7AQAAe1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcY29jb2FydGYyNzU5Clxjb2NvYXRleHRzY2FsaW5nMFxjb2NvYXBsYXRmb3JtMHtcZm9udHRibFxmMFxmbmlsXGZjaGFyc2V0MCBIZWx2ZXRpY2FOZXVlO30Ke1xjb2xvcnRibDtccmVkMjU1XGdyZWVuMjU1XGJsdWUyNTU7XHJlZDI1NVxncmVlbjI1NVxibHVlMjU1O30Ke1wqXGV4cGFuZGVkY29sb3J0Ymw7O1xjc3NyZ2JcYzEwMDAwMFxjMTAwMDAwXGMxMDAwMDA7fQpccGFyZFx0eDU2MFx0eDExMjBcdHgxNjgwXHR4MjI0MFx0eDI4MDBcdHgzMzYwXHR4MzkyMFx0eDQ0ODBcdHg1MDQwXHR4NTYwMFx0eDYxNjBcdHg2NzIwXHBhcmRpcm5hdHVyYWxccWNccGFydGlnaHRlbmZhY3RvcjAKClxmMFxmczUwIFxjZjIgVEVTVDExfQEAAAAjAAAAAQAAAAcAAABUWFQucnRmEAAAAH551WW2AQAAAAAAAAAAAAA=\",\"BTTActionHUDBorderWidth\":1,\"BTTActionHUDTitle\":\"\",\"BTTActionHUDHeight\":220}"
}

However you'd need to url encode this (e.g. via https://www.urlencoder.org )

btt://trigger_action/?json=%7B%20%22BTTPredefinedActionType%22%20%3A%20254%2C%0A%20%20%22BTTPredefinedActionName%22%20%3A%20%22Show%20HUD%20Overlay%22%2C%20%0A%20%20%22BTTHUDActionConfiguration%22%20%3A%20%22%7B%5C%22BTTActionHUDBlur%5C%22%3Atrue%2C%5C%22BTTActionHUDBackground%5C%22%3A%5C%220.000000%2C%200.000000%2C%200.000000%2C%20243.880341%5C%22%2C%5C%22BTTIconConfigImageHeight%5C%22%3A100%2C%5C%22BTTActionHUDPosition%5C%22%3A0%2C%5C%22BTTActionHUDDetail%5C%22%3A%5C%22%5C%22%2C%5C%22BTTActionHUDDuration%5C%22%3A0.89999997615814209%2C%5C%22BTTActionHUDDisplayToUse%5C%22%3A0%2C%5C%22BTTIconConfigImageWidth%5C%22%3A100%2C%5C%22BTTActionHUDSlideDirection%5C%22%3A0%2C%5C%22BTTActionHUDHideWhenOtherHUDAppears%5C%22%3Afalse%2C%5C%22BTTActionHUDWidth%5C%22%3A220%2C%5C%22BTTActionHUDAttributedTitle%5C%22%3A%5C%22cnRmZAAAAAADAAAAAgAAAAcAAABUWFQucnRmAQAAAC6DAQAAKwAAAAEAAAB7AQAAe1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcY29jb2FydGYyNzU5Clxjb2NvYXRleHRzY2FsaW5nMFxjb2NvYXBsYXRmb3JtMHtcZm9udHRibFxmMFxmbmlsXGZjaGFyc2V0MCBIZWx2ZXRpY2FOZXVlO30Ke1xjb2xvcnRibDtccmVkMjU1XGdyZWVuMjU1XGJsdWUyNTU7XHJlZDI1NVxncmVlbjI1NVxibHVlMjU1O30Ke1wqXGV4cGFuZGVkY29sb3J0Ymw7O1xjc3NyZ2JcYzEwMDAwMFxjMTAwMDAwXGMxMDAwMDA7fQpccGFyZFx0eDU2MFx0eDExMjBcdHgxNjgwXHR4MjI0MFx0eDI4MDBcdHgzMzYwXHR4MzkyMFx0eDQ0ODBcdHg1MDQwXHR4NTYwMFx0eDYxNjBcdHg2NzIwXHBhcmRpcm5hdHVyYWxccWNccGFydGlnaHRlbmZhY3RvcjAKClxmMFxmczUwIFxjZjIgVEVTVDExfQEAAAAjAAAAAQAAAAcAAABUWFQucnRmEAAAAH551WW2AQAAAAAAAAAAAAA%3D%5C%22%2C%5C%22BTTActionHUDBorderWidth%5C%22%3A1%2C%5C%22BTTActionHUDTitle%5C%22%3A%5C%22%5C%22%2C%5C%22BTTActionHUDHeight%5C%22%3A220%7D%22%0A%7D

Starting with BTT 4.405 you can also pass HTML that will be rendered on the HUD like this:

{
   "BTTPredefinedActionType":254,
   "BTTPredefinedActionName":"Show HUD Overlay",
   "BTTHUDActionConfiguration":"{\"BTTActionHUDAttributedTitle\":\"<html><b style='color:white;'>test</b></html>\", \"BTTActionHUDBlur\":true,\"BTTActionHUDBackground\":\"0.000000, 0.000000, 0.000000, 243.880341\",\"BTTIconConfigImageHeight\":100,\"BTTActionHUDPosition\":0,\"BTTActionHUDDuration\":0.89999997615814209,\"BTTActionHUDDisplayToUse\":0,\"BTTIconConfigImageWidth\":100,\"BTTActionHUDSlideDirection\":0,\"BTTActionHUDHideWhenOtherHUDAppears\":false,\"BTTActionHUDWidth\":220,\"BTTActionHUDBorderWidth\":1,\"BTTActionHUDTitle\":\"\",\"BTTActionHUDHeight\":220}"
}

(again, needs to be url encoded)

Thanks.

I prefer not to use HTML in the calls.

What encoding is this?

{\"BTTActionHUDAttributedTitle\":\"cnRmZAAAAAADAAAAAgAAAAcAAABUWFQucnRmAQAAAC6DAQAAKwAAAAEAAAB7AQAAe1xydGYxXGFuc2lcYW5zaWNwZzEyNTJcY29jb2FydGYyNzU5Clxjb2NvYXRleHRzY2FsaW5nMFxjb2NvYXBsYXRmb3JtMHtcZm9udHRibFxmMFxmbmlsXGZjaGFyc2V0MCBIZWx2ZXRpY2FOZXVlO30Ke1xjb2xvcnRibDtccmVkMjU1XGdyZWVuMjU1XGJsdWUyNTU7XHJlZDI1NVxncmVlbjI1NVxibHVlMjU1O30Ke1wqXGV4cGFuZGVkY29sb3J0Ymw7O1xjc3NyZ2JcYzEwMDAwMFxjMTAwMDAwXGMxMDAwMDA7fQpccGFyZFx0eDU2MFx0eDExMjBcdHgxNjgwXHR4MjI0MFx0eDI4MDBcdHgzMzYwXHR4MzkyMFx0eDQ0ODBcdHg1MDQwXHR4NTYwMFx0eDYxNjBcdHg2NzIwXHBhcmRpcm5hdHVyYWxccWNccGFydGlnaHRlbmZhY3RvcjAKClxmMFxmczUwIFxjZjIgVEVTVDExfQEAAAAjAAAAAQAAAAcAAABUWFQucnRmEAAAAH551WW2AQAAAAAAAAAAAAA=\"}

I tried base64 decode and it decodes it partially:

rtfdaTXT.rtf.ƒ+{{\rtf1\ansi\ansicpg1252\cocoartf2759
\cocoatextscaling0\cocoaplatform0{\fonttbl\f0\fnil\fcharset0 HelveticaNeue;}
{\colortbl;\red255\green255\blue255;\red255\green255\blue255;}
{\*\expandedcolortbl;;\cssrgb\c100000\c100000\c100000;}
\pard\tx560\tx1120\tx1680\tx2240\tx2800\tx3360\tx3920\tx4480\tx5040\tx5600\tx6160\tx6720\pardirnatural\qc\partightenfactor0

\f0\fs50 \cf2 TEST11}#aTXT.rtf~yÕe¶

Also I tried the HTML and it doesn't show the test passed. I tried

btt://trigger_action/?json={"BTTPredefinedActionType":254,"BTTPredefinedActionName":"Show HUD Overlay","BTTHUDActionConfiguration":"{\"BTTActionHUDAttributedTitle\":\"<html><b style='color:white;'>TEST</b></html>\", \"BTTActionHUDBlur\":true,\"BTTActionHUDBackground\":\"0.000000, 0.000000, 0.000000, 243.880341\",\"BTTIconConfigImageHeight\":100,\"BTTActionHUDPosition\":0,\"BTTActionHUDDuration\":0.89999997615814209,\"BTTActionHUDDisplayToUse\":0,\"BTTIconConfigImageWidth\":100,\"BTTActionHUDSlideDirection\":0,\"BTTActionHUDHideWhenOtherHUDAppears\":false,\"BTTActionHUDWidth\":220,\"BTTActionHUDBorderWidth\":1,\"BTTActionHUDTitle\":\"\",\"BTTActionHUDHeight\":220}"}

and encoded version

btt://trigger_action/?json=%7B%22BTTPredefinedActionType%22%3A254%2C%22BTTPredefinedActionName%22%3A%22Show%20HUD%20Overlay%22%2C%22BTTHUDActionConfiguration%22%3A%22%7B%5C%22BTTActionHUDAttributedTitle%5C%22%3A%5C%22%3Chtml%3E%3Cb%20style%3D'color%3Awhite%3B'%3ETEST%3C%2Fb%3E%3C%2Fhtml%3E%5C%22%2C%20%5C%22BTTActionHUDBlur%5C%22%3Atrue%2C%5C%22BTTActionHUDBackground%5C%22%3A%5C%220.000000%2C%200.000000%2C%200.000000%2C%20243.880341%5C%22%2C%5C%22BTTIconConfigImageHeight%5C%22%3A100%2C%5C%22BTTActionHUDPosition%5C%22%3A0%2C%5C%22BTTActionHUDDuration%5C%22%3A0.89999997615814209%2C%5C%22BTTActionHUDDisplayToUse%5C%22%3A0%2C%5C%22BTTIconConfigImageWidth%5C%22%3A100%2C%5C%22BTTActionHUDSlideDirection%5C%22%3A0%2C%5C%22BTTActionHUDHideWhenOtherHUDAppears%5C%22%3Afalse%2C%5C%22BTTActionHUDWidth%5C%22%3A220%2C%5C%22BTTActionHUDBorderWidth%5C%22%3A1%2C%5C%22BTTActionHUDTitle%5C%22%3A%5C%22%5C%22%2C%5C%22BTTActionHUDHeight%5C%22%3A220%7D%22%7D

Both of them open the HUD but don't show "TEST" in the title

The HTML only works with the very latest alpha. The alpha also encodes the rtf in a way that is more suitable for scripting.

The alpha version works for that!

I'm trying to pass in an emoji via the URL but it shows up as random chars instead of an emoji.

Sending the text TEST📋

Shows up as TEST<weirdcode>. Any way to resolve this?

btt://trigger_action/?json=%7B%22BTTPredefinedActionType%22%3A254%2C%22BTTPredefinedActionName%22%3A%22Show%20HUD%20Overlay%22%2C%22BTTHUDActionConfiguration%22%3A%22%7B%5C%22BTTActionHUDBlur%5C%22%3Atrue%2C%5C%22BTTActionHUDBackground%5C%22%3A%5C%2225.328508%2C%2025.328508%2C%2025.328508%2C%20255.000000%5C%22%2C%5C%22BTTIconConfigImageHeight%5C%22%3A100%2C%5C%22BTTActionHUDPosition%5C%22%3A0%2C%5C%22BTTActionHUDDetail%5C%22%3A%5C%22%5C%22%2C%5C%22BTTActionHUDDuration%5C%22%3A0.89999997615814209%2C%5C%22BTTActionHUDDisplayToUse%5C%22%3A0%2C%5C%22BTTIconConfigImageWidth%5C%22%3A100%2C%5C%22BTTActionHUDSlideDirection%5C%22%3A0%2C%5C%22BTTActionHUDHideWhenOtherHUDAppears%5C%22%3Afalse%2C%5C%22BTTActionHUDWidth%5C%22%3A220%2C%5C%22BTTActionHUDAttributedTitle%5C%22%3A%5C%22%7B%5C%5C%5C%5Crtf1%5C%5C%5C%5Cansi%5C%5C%5C%5Cansicpg1252%5C%5C%5C%5Ccocoartf2759%5C%5Cn%5C%5C%5C%5Ccocoatextscaling0%5C%5C%5C%5Ccocoaplatform0%7B%5C%5C%5C%5Cfonttbl%5C%5C%5C%5Cf0%5C%5C%5C%5Cfnil%5C%5C%5C%5Cfcharset0%20HelveticaNeue%3B%7D%5C%5Cn%7B%5C%5C%5C%5Ccolortbl%3B%5C%5C%5C%5Cred255%5C%5C%5C%5Cgreen255%5C%5C%5C%5Cblue255%3B%5C%5C%5C%5Cred255%5C%5C%5C%5Cgreen255%5C%5C%5C%5Cblue255%3B%7D%5C%5Cn%7B%5C%5C%5C%5C*%5C%5C%5C%5Cexpandedcolortbl%3B%3B%5C%5C%5C%5Ccssrgb%5C%5C%5C%5Cc100000%5C%5C%5C%5Cc100000%5C%5C%5C%5Cc100000%3B%7D%5C%5Cn%5C%5C%5C%5Cpard%5C%5C%5C%5Ctx560%5C%5C%5C%5Ctx1120%5C%5C%5C%5Ctx1680%5C%5C%5C%5Ctx2240%5C%5C%5C%5Ctx2800%5C%5C%5C%5Ctx3360%5C%5C%5C%5Ctx3920%5C%5C%5C%5Ctx4480%5C%5C%5C%5Ctx5040%5C%5C%5C%5Ctx5600%5C%5C%5C%5Ctx6160%5C%5C%5C%5Ctx6720%5C%5C%5C%5Cpardirnatural%5C%5C%5C%5Cqc%5C%5C%5C%5Cpartightenfactor0%5C%5Cn%5C%5Cn%5C%5C%5C%5Cf0%5C%5C%5C%5Cfs50%20%5C%5C%5C%5Ccf2%20TEST📋%7D%5C%22%2C%5C%22BTTActionHUDBorderWidth%5C%22%3A1%2C%5C%22BTTActionHUDTitle%5C%22%3A%5C%22%5C%22%2C%5C%22BTTActionHUDHeight%5C%22%3A220%7D%22%7D

Unfortunately I think the macOS parser for this can't handle emoji. You can however use the rtf format instead:

{
   "BTTPredefinedActionType":254,
   "BTTPredefinedActionName":"Show HUD Overlay",
  "BTTHUDActionConfiguration" : "{\"BTTActionHUDBlur\":true,\"BTTActionHUDBackground\":\"0.000000, 0.000000, 0.000000, 0.000000\",\"BTTIconConfigImageHeight\":100,\"BTTActionHUDPosition\":0,\"BTTActionHUDDetail\":\"\",\"BTTActionHUDDuration\":0.89999997615814209,\"BTTActionHUDDisplayToUse\":0,\"BTTIconConfigImageWidth\":100,\"BTTActionHUDSlideDirection\":0,\"BTTActionHUDHideWhenOtherHUDAppears\":false,\"BTTActionHUDWidth\":220,\"BTTActionHUDAttributedTitle\":\"{\\\\rtf1\\\\ansi\\\\ansicpg1252\\\\cocoartf2759\\n\\\\cocoatextscaling0\\\\cocoaplatform0{\\\\fonttbl\\\\f0\\\\fnil\\\\fcharset0 SFPro-Bold;}\\n{\\\\colortbl;\\\\red255\\\\green255\\\\blue255;\\\\red0\\\\green0\\\\blue0;}\\n{\\\\*\\\\expandedcolortbl;;\\\\cssrgb\\\\c0\\\\c0\\\\c0\\\\c84706\\\\cname labelColor;}\\n\\\\pard\\\\tx560\\\\tx1120\\\\tx1680\\\\tx2240\\\\tx2800\\\\tx3360\\\\tx3920\\\\tx4480\\\\tx5040\\\\tx5600\\\\tx6160\\\\tx6720\\\\pardirnatural\\\\qc\\\\partightenfactor0\\n\\n\\\\f0\\\\b\\\\fs80 \\\\cf2 Test\\\\uc0\\\\u55357 \\\\u56523}\",\"BTTActionHUDBorderWidth\":0,\"BTTActionHUDTitle\":\"\",\"BTTActionHUDHeight\":220}"
}

The emoji is encoded as \\u55357 \\u56523 there

btt://trigger_action/?json=%7B%0A%20%20%20%22BTTPredefinedActionType%22%3A254%2C%0A%20%20%20%22BTTPredefinedActionName%22%3A%22Show%20HUD%20Overlay%22%2C%0A%20%20%22BTTHUDActionConfiguration%22%20%3A%20%22%7B%5C%22BTTActionHUDBlur%5C%22%3Atrue%2C%5C%22BTTActionHUDBackground%5C%22%3A%5C%220.000000%2C%200.000000%2C%200.000000%2C%200.000000%5C%22%2C%5C%22BTTIconConfigImageHeight%5C%22%3A100%2C%5C%22BTTActionHUDPosition%5C%22%3A0%2C%5C%22BTTActionHUDDetail%5C%22%3A%5C%22%5C%22%2C%5C%22BTTActionHUDDuration%5C%22%3A0.89999997615814209%2C%5C%22BTTActionHUDDisplayToUse%5C%22%3A0%2C%5C%22BTTIconConfigImageWidth%5C%22%3A100%2C%5C%22BTTActionHUDSlideDirection%5C%22%3A0%2C%5C%22BTTActionHUDHideWhenOtherHUDAppears%5C%22%3Afalse%2C%5C%22BTTActionHUDWidth%5C%22%3A220%2C%5C%22BTTActionHUDAttributedTitle%5C%22%3A%5C%22%7B%5C%5C%5C%5Crtf1%5C%5C%5C%5Cansi%5C%5C%5C%5Cansicpg1252%5C%5C%5C%5Ccocoartf2759%5C%5Cn%5C%5C%5C%5Ccocoatextscaling0%5C%5C%5C%5Ccocoaplatform0%7B%5C%5C%5C%5Cfonttbl%5C%5C%5C%5Cf0%5C%5C%5C%5Cfnil%5C%5C%5C%5Cfcharset0%20SFPro-Bold%3B%7D%5C%5Cn%7B%5C%5C%5C%5Ccolortbl%3B%5C%5C%5C%5Cred255%5C%5C%5C%5Cgreen255%5C%5C%5C%5Cblue255%3B%5C%5C%5C%5Cred0%5C%5C%5C%5Cgreen0%5C%5C%5C%5Cblue0%3B%7D%5C%5Cn%7B%5C%5C%5C%5C%2A%5C%5C%5C%5Cexpandedcolortbl%3B%3B%5C%5C%5C%5Ccssrgb%5C%5C%5C%5Cc0%5C%5C%5C%5Cc0%5C%5C%5C%5Cc0%5C%5C%5C%5Cc84706%5C%5C%5C%5Ccname%20labelColor%3B%7D%5C%5Cn%5C%5C%5C%5Cpard%5C%5C%5C%5Ctx560%5C%5C%5C%5Ctx1120%5C%5C%5C%5Ctx1680%5C%5C%5C%5Ctx2240%5C%5C%5C%5Ctx2800%5C%5C%5C%5Ctx3360%5C%5C%5C%5Ctx3920%5C%5C%5C%5Ctx4480%5C%5C%5C%5Ctx5040%5C%5C%5C%5Ctx5600%5C%5C%5C%5Ctx6160%5C%5C%5C%5Ctx6720%5C%5C%5C%5Cpardirnatural%5C%5C%5C%5Cqc%5C%5C%5C%5Cpartightenfactor0%5C%5Cn%5C%5Cn%5C%5C%5C%5Cf0%5C%5C%5C%5Cb%5C%5C%5C%5Cfs80%20%5C%5C%5C%5Ccf2%20Test%5C%5C%5C%5Cuc0%5C%5C%5C%5Cu55357%20%5C%5C%5C%5Cu56523%7D%5C%22%2C%5C%22BTTActionHUDBorderWidth%5C%22%3A0%2C%5C%22BTTActionHUDTitle%5C%22%3A%5C%22%5C%22%2C%5C%22BTTActionHUDHeight%5C%22%3A220%7D%22%0A%7D

How do I encode an emoji?

You can lookup the codes here. RTF uses the"UTF-16 Dec" format

Alternatively configure it in the BTT UI, then copy the trigger

1 Like