The Omni Group
These forums are now read-only. Please visit our new forums to participate in discussion. A new account will be required to post in the new forums. For more info on the switch, see this post. Thank you!

Go Back   The Omni Group Forums > Developer > AppleScripting Omni Apps
FAQ Members List Calendar Search Today's Posts Mark Forums Read

Document properties in OmniGraffle Thread Tools Search this Thread Display Modes
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?
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

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cant close an Omnigraffle trial version document - help amuri OmniGraffle General 2 2012-01-26 11:59 AM
Strange pink circles in my omnigraffle document thedeadcocks OmniGraffle General 2 2011-09-28 12:22 AM
Subitem properties kuepper OmniPlan General 0 2010-01-30 01:22 PM
OmniGraffle Pro 5.0 document cannot be saved peternies OmniGraffle General 0 2008-05-19 01:33 PM
hoist a part of omnigraffle document steve OmniGraffle General 2 2007-03-10 02:42 PM

All times are GMT -8. The time now is 01:02 PM.

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