(OmniGraffle Professional.app terminology, generated from /Applications/Graphisme/OmniGraffle Professional.app)
Standard Suite
Common classes and commands for most applications.
Commands
reference.get() -- Get the data for an object.
Result: Anything -- the reply for the command
reference.save(...) -- Save an object.
[as=UnicodeText] -- The file type in which to save the data.
[in_=Alias] -- The file in which to save the object.
Result: None
reference.set(...) -- Set an object's data.
to=Anything -- The new value.
Result: None
application.print_(...) -- Print an object.
[Alias] -- The file(s) or document(s) to be printed.
Result: None
reference.duplicate(...) -- Copy object(s) and put the copies at a new location.
to=InsertionLoc -- The location for the new object(s).
[with_properties=AERecord] -- Properties to be set in the new duplicated object(s).
Result: None
reference.exists() -- Verify if an object exists.
Result: Boolean -- the reply for the command
reference.delete() -- Delete an object.
Result: None
application.make(...) -- Make a new object.
[with_properties=AERecord] -- The initial values for properties of the object.
new=Type -- The class of the new object.
[with_data=Anything] -- The initial data for the object.
[at=InsertionLoc] -- The location at which to insert the object.
Result: ObjectSpecifier -- the reply for the command
application.open(...) -- Open an object.
[Alias] -- The file(s) to be opened.
Result: None
reference.close(...) -- Close an object.
[saving=k.yes | k.no | k.ask] -- Specifies whether changes should be saved before closing.
[saving_in=Alias] -- The file in which to save the object.
Result: None
reference.count(...) -- Return the number of elements of a particular class within an object.
[each=Type] -- The class of objects to be counted.
Result: SInt32 -- the reply for the command
reference.move(...) -- Move object(s) to a new location.
to=InsertionLoc -- The new location for the object(s).
Result: None
reference.quit(...) -- Quit an application.
[saving=k.yes | k.no | k.ask] -- Specifies whether changes should be saved before quitting.
Result: None
Classes
document -- An /OmniGraffle document
- Parent: Properties:
modified (r/o) Boolean -- Has the document been modified since the last save?
path UnicodeText -- The document's path.
name UnicodeText -- The document's name.
links_visible Boolean -- Whether link indicators are visible
alignment_guides_enabled Boolean -- Whether smart alignment guides are enabled
distance_guides_enabled Boolean -- Whether smart distance guides are enabled
show_guides Boolean -- Whether manually set guides are visible
page_breaks_visible Boolean -- Whether page breaks are visible
magnets_visible Boolean -- Whether magnets are visible
pages -- name | index | relative | range | test
item -- A scriptable object.
- Parent: Properties:
