With Script Editor, I am used to reporting data with several 10’s of records, such as a report of all the EXIF data in an image file, or a list of images with broken links, by telling Script Editor to “log” a long string with an embedded “return” character after each line (record). This makes a fairly readable output in the vent log that I can copy parts of.
I have so far been unable to achieve a similar result with Script Debugger. I can log a long string with embedded returns or line feeds, but it is still a single line, with returns replaced by “\r” The Event Explorer window gives no information at all.
If I copy the event to a Text edit document, I haven’t found any way to replace the \r characters with a return or a linefeed.
I’ve tried converting the string to a list, and logging the list, but that seems to be even less useful, there is no indication where the line ends.
Has anyone found a clever way to do this?
A typiclal string (a part of it) might be like this (the \r are generated by SD in place or returns):
\r==========\r[ExifTool] ExifToolVersion : 10.94\r[File] FileName : GM5-16_0121.RW2\r[File] Directory : /Volumes/SSD_ss1/evSSD/Photos/2016 Misc\r[File] FileSize : 19 MB\r[File] FileModifyDate : 2016:12:26 14:19:44-05:00\r[File] FileAccessDate : 2019:01:02 19:56:04-05:00
and what I would like to see is like this:
========== [ExifTool] ExifToolVersion : 10.94 [File] FileName : GM5-16_0121.RW2 [File] Directory : /Volumes/SSD_ss1/evSSD/Photos/2016 Misc [File] FileSize : 19 MB [File] FileModifyDate : 2016:12:26 14:19:44-05:100: [File] FileAccessDate : 2019:01:02 19:56:04-05:00