View Single Post
Within the OG interface I can select a canvas and then provide some user data items for the canvas. However, I can not access this information via applescript like I do with an object.

Is this a bug, or am I doing it wrong?

Code:
tell application "OmniGraffle Professional 5"
	tell document 1
		tell canvas 1
			tell graphic 1
				set myKind to value of user data item "myKind"
				display dialog myKind
                                -- works with appropriate user data
			end tell
		end tell
		
		tell canvas 1
			set myClassification to value of user data item "myClassification"
			display dialog myClassification
                        -- OmniGraffle Professional 5 got an error: Can’t get user data item "myClassification" of canvas 1 of document 1.
		end tell
	end tell
end tell