Base64 in some places

Hey Andreas,

In the previous versions (or maybe this was always the case for the action "Show / Choose From List (Configurable)"? ) whenever I wanted to share a trigger/action of mine without exposing some PII I was sanitizing the content, but now I see that some parts of the config are base64 encoded, e.g. BTTActionCustomScriptSettings of "Show / Choose From List (Configurable)" (to be fair I have not looked further). So now there is no clean/easy way to do this.

Hope that this makes sense.

Thank you in advance.

Andreas,

I guess you changed this, right? Because now I see BTTActionCustomScriptSettingsJSON instead of BTTActionCustomScriptSettings.

BTT 5.715

Appreciate this!

Yes, I added custom encoders for the "Show / Choose From List" action! (However it has always been base64 in the past for that action)

Should the BTTActionCustomScriptSettingsJSON [BTTAppleScriptString] contain the whole script? I see some items are missing, here's screenshot for better understanding, left side is what is BTTActionCustomScriptSettingsJSON [BTTAppleScriptString] and right side is the actual script:

it should. Does it reflect changes you make to your script?

Yes - if I change the script (not from BTT, but from a text editor) the changes are visible in BTT script viewer (the text field/box you marked on your screenshot), but once I copy either the whole trigger or the action itself - the "icon" item is missing, also title is not full as seen in the above screenshot.

The script is an external file, if this matters.

Ah, external files are only referenced not stored in the export. Most likely what you are seeing in the JSON is the last script you had entered before switching to external file.

Ah, ok got it. It makes sense now.

It's confusing, I'll remove that part from the export if the file is external.