AppleScript: Get Attachments

Michael Terry formido at mac.com
Thu Dec 30 13:53:46 PST 2004


Hi,

I've got an outline with rows that contain symbols for a phonetic alphabet. I got them off a web page, and some of the characters are difficult or impossible to represent in compatible HTML ('oo' with a breve, for example), so these characters came from the source as pictures.

Is there any way to get this out of Outliner? I think the pictures would be considered attachments, flowed with the text of the row. However, any way I access them, they just come out as "?". Any suggestions?

I wanted to fall back on using GUI scripting to copy the rows, and then parse them in AS, but this is a little tricky, partly because Outliner doesn't seem to use nearly as many controls as it used to. The entire window content area comes up as one Scroll View in UI Element Inspector, so it's tough to manipulate. (I'm sure we owe Outliner's increased performance partly to this.) This dovetails with my last message, where I was hoping to change the selection with AppleScript. Thats another way I could loop over the rows and copy them with GUI scripting.

Michael



More information about the OmniOutliner-Users mailing list