Re: How does Applescript recognize grouped images in Omnigraffle?

John Gersh <[email protected]>
Newsgroups gmane.comp.graphics.omnigraffle.user
Message-ID <C694CF18.1A255%[email protected]>
I'm not sure if this is what you mean by "selecting each group," but you can
get a list of all the groups with:

tell application "OmniGraffle Professional 5"
    set allGroups to {}
    repeat with theCanvas in every canvas of the first document
        repeat with theLayer in theCanvas
            set allGroups to allGroups & every group in theLayer
        end repeat
    end repeat
    return allGroups
end tell


- John Gersh



On 7/28/09 12:54 PM, "Daria Shmaria" <[email protected]> wrote:

> 
> I want to write a script selecting each group in each layer of each canvas of
> a given Omnigraffle file, but I'm not sure how Applescript recognizes
> grouped images or how the groups are ordered/indexed in the file. Any
> suggestions on how to do this would be greatly appreciated.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.