AppleScript: Get Attachments

Michael Terry formido at mac.com
Fri Jan 7 13:05:09 PST 2005


 
>> 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.
>
>   You might have some luck with 'select MyCell'.  This will start 
>editing in the specified cell and then you might be able to use UI 
>scripting to futz with the text object that is the first responder of 
>the window.  

Yes, now that I see 'select', the rest will be easy, thanks.

>We also want to support accessibility in our outline view, 
>but this involves a fair bit of work that didn't make it into 3.0.  
>With infinite time, all things are possible... :)

Heh.

Michael



More information about the OmniOutliner-Users mailing list