Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • your other option is that you can work with the python / nodejs packages for apple's typestreams. I've not quite yet gotten the code to work where it will read the BLOB in attributedBody and decode it to perform an update the messageText. But i'm working on it; Commented Feb 7, 2023 at 19:21
  • alright now, this is HACKY like a sack but it worked. I wish i could do it all in nodejs but i'm not getting how to read the pipeline to get out the strings. Commented Feb 9, 2023 at 19:29
  • The script is too long so I made a GIST gist.github.com/johnnyspire/b9cc2a649edfcec97ed0e0b1175d7caa Commented Feb 9, 2023 at 19:34
  • In your GIST, you write the attributedBody field to a file, then use an executable called pytypedstream.exe to decode it. However, I did a search and found no such known executable. Maybe you can comment on how you actually decode that field? Commented Mar 21, 2023 at 20:29
  • 1
    @JessePangburn thanks for catching that - the python lib I used and how to configure it is here - github.com/dgelessus/python-typedstream - I tried like hell to make this work in Node but it was eating up time so I just used what worked. Sometimes "good enough" has to be good enough. If someone else is better at this, I'd love to see it in all NodeJs or something. Commented Mar 23, 2023 at 18:15