OO3 & Applescript

Jan Erik Moström lists at mostrom.pp.se
Tue Nov 30 09:39:07 PST 2004


On 2004-11-30 18:08, mentorsw <omni at mentorsw.com> wrote:

> You don't need the id.
> 
> Here are some examples:
> 
> set theRows to selected rows
>      A list of selected rows

I wasn't actually interested in the id, it was just an example :-) This was a
more typical row

tell application "OmniOutliner Professional"
    tell document 1
        get topic of the selected row
    end tell
end tell

which doesn't work, it should be

tell application "OmniOutliner Professional"
    tell document 1
        get topic of the selected row 1
    end tell
end tell

Thanks for the answer !!

                jem
-- 
Jan Erik Moström   www.mostrom.pp.se



More information about the OmniOutliner-Users mailing list