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 > OmniGraffle > OmniGraffle General
FAQ Members List Calendar Search Today's Posts Mark Forums Read

AppleScript - How to Operate on Group of Selected Graphic Objects? Thread Tools Search this Thread Display Modes
What is the syntax to operate on a group of selected objects?

tell application "OmniGraffle Professional 5"
	tell canvas of front window
		-- somehow set selection?
		repeat with thisGraphic in every graphic -- with however a selection is specified
			tell thisGraphic
				-- do whatever is needed
			end tell
		end repeat
	end tell
end tell
Any clues?
tell application id "OGfl"
	tell front window
		repeat with oShape in (selection as list)
			-- do sth to oShape
		end repeat
	end tell
end tell

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to hide the highlight on the selected objects? sprugman OmniGraffle General 0 2012-04-13 10:01 AM
Bringing graphic objects to front in OmniGraffle mediaczar AppleScripting Omni Apps 3 2012-01-15 03:11 AM
applescript to copy an OmniGraffle graphic? supertwang AppleScripting Omni Apps 3 2011-12-08 09:56 PM
Convert objects to a selected stencil? enderw88 OmniGraffle General 1 2010-10-28 03:51 PM
Using graphic objects as stencil items? (+ 2 hints) epo OmniGraffle Extras 0 2006-08-18 01:47 AM

All times are GMT -8. The time now is 05:59 AM.

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