The Omni Group Forums

The Omni Group Forums (
-   AppleScripting Omni Apps (
-   -   Document properties in OmniGraffle (

RobLewis 2008-11-12 03:55 PM

Document properties in OmniGraffle
It would be very handy if AppleScript could access document properties like Keywords, Projects, Authors, Version, Subject etc.

For my purposes, read-only would be OK, but read/write would be even better.

How 'bout it?

Lizard 2008-11-14 11:52 AM

Some of this info is already available through Finder, as follows:
set my_file_path to ""
tell application "OmniGraffle Professional 5"
set my_file_path to path of front document
end tell

tell application "Finder"
if my_file_path is not "" then
set my_file to (POSIX file my_file_path) as alias
properties of my_file
end if
end tell

All times are GMT -8. The time now is 12:14 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2021, vBulletin Solutions, Inc.