applescript to copy an OmniGraffle graphic?
Can anyone show me an example of an applescript that copies an existing graphic to a new canvas?
Thanks! ST |
[CODE]tell application id "OGfl"
set lstSeln to (selection of front window) set oShape to first item of lstSeln tell front document duplicate oShape to end of graphics of canvas 2 end tell end tell [/CODE] |
or, of course
[CODE]tell application id "OGfl" set lstSeln to (selection of front window) set oShape to first item of lstSeln tell front document set oSecondCanvas to make new canvas duplicate oShape to end of graphics of oSecondCanvas end tell end tell[/CODE] |
thanks
I also tried doing this but do not have any result, I have encountered some technical problems
|
All times are GMT -8. The time now is 09:48 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.