AppleScript/stencil ideas for OG?

Timothy Bates tim at maccs.mq.edu.au
Wed Jun 4 18:54:07 PDT 2003


If I select a line in a document, then

tell application "OmniGraffle Professional"
    set thisLine to item 1 of selection of window 1
--if I say ³class of thisline² is get ³line² here
    set thisLabel to label 1 of thisLine
    return thisLabel
    --> «class » 1 of graphic id 28222880 of page 1 of document 1 of
application "OmniGraffle Professional"
-- I cannot do anything with this object. The class thing at the front is
weird, and I cannot get any property of the lable object
    get filled of thisLabel
--> error: can¹t make script
end tell
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /mailman/archive/omnigraffle-users/attachments/20030604/dbe92fd5/attachment.html


More information about the OmniGraffle-Users mailing list