Hi,
can you provide more information?
How are you getting the mail? Are you doing it through browser or through an api?
you can use regex, get substring or get html for this.
Is there a way to write code that would be automatically usable in bas visual editor?
-
Is there way to know how the base64 green string in each action is created(I understand that it is responsible for actions show in visual editor)?
also how action's ids are assign to actions?
would any not repeating id work?the goal is to be able to write or fix .xml files that the BAS projects are stored in outside of BAS editor mode (in VScode for example)
section_start("", 312442188)!
/Dat:eyJzIjoibG9nIiwidiI6MSwiZiI6W10sInV3IjoiMCIsInV0IjoiMCIsInV0byI6IjAiLCJ1bSI6IjAiLCJkIjpbeyJpZCI6IkxvZ1RleHQiLCJ0eXBlIjoiY29uc3RyIiwiZGF0YSI6ImhlbGxvIHdvcmxkIiwiY2xhc3MiOiJzdHJpbmcifV19/
log("hello world")
section_end()!

-
if you just decode it you will see it is json with info about action itself so you can reverseengeneer that
This is a Base64-encoded JSON string. After decoding, here's the content:
json
{
"s": "log",
"v": 1,
"f": [],
"uw": "0",
"ut": "0",
"uto": "0",
"um": "0",
"d": [
{
"id": "LogText",
"type": "constr",
"data": "hello world",
"class": "string"
}
]
}