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 Today's Posts

 
Can you set page-zoom percent globally? Thread Tools Search this Thread Display Modes
I was initially thinking that only the Zoom popup would work in this case, however that's a good point -- Using the Zoom Tool or View Menu should have some sort of impact on a multiple canvas selection, or I dunno, maybe it shouldn't.

Will have to chat up the UI team about this as a sanity check.
__________________
"Vroom! Vroom!!"
 
While you are discussing adding the "set all/set selected canvases to same zoom" feature with the UI team, can you give us an applescript to accomplish it?

I'm not an applescripter, but looking into the Omnigrafle dictionary with the script editor, it appears that the zoom level is a factor of the window, not the canvas. This is confusing to me.

Thanks!
 
Quote:
Originally Posted by Joel View Post
I was initially thinking that only the Zoom popup would work in this case, however that's a good point -- Using the Zoom Tool or View Menu should have some sort of impact on a multiple canvas selection, or I dunno, maybe it shouldn't.

Will have to chat up the UI team about this as a sanity check.
I would very much like this feature.

While selecting all of the Canvases to set a Zoom level feels elegant, and direct, I wonder if it might not be terribly obvious to all users, esp. given that the Zoom pop-up control is on the opposite side of the window..?

Using the Zoom Menu items helps, in that it's the 'global' location, but is still distant from the Canvas thumbnails, so still could be missed.

Perhaps one way to make this feature slightly more evident to some users could be to add Canvas Zoom options to the Thumbnail Contextual Menu (i.e. when I Ctrl/Right-Click on the Canvas Thumbnails?

That way the control is directly related to the Canvas representations, and while not ideal (in that they're initially invisible, Contextual Menus are widely used, esp. by users with Windows experience.)
 
An applescript to do this would be very useful.... I can't work it out.

I have so far:
Code:
tell application "OmniGraffle Professional 5"
	set theDocument to front document
	set canvasCount to count of canvases of theDocument
	repeat with canvasNumber from 1 to canvasCount
		set oCanvas to canvas canvasNumber of theDocument
		set zoom of the window to 100
	end repeat
end tell
 
In the OG Applescript dictionary, the zoom state is a property of windows rather than canvases.

You could reset the zoom level of all open windows:

Code:
tell application "OmniGraffle Professional 5"
	repeat with oWin in windows
		tell oWin
			if zoomable then set zoom to 2
		end tell
	end repeat
end tell

Last edited by RobTrew; 2008-10-27 at 04:43 AM..
 
Has this feature been added?
 
I would LOVE LOVE LOVE a global zoom!
 
thank you john.gersh!!!!
 
Here's a quick and dirty Applescript for setting zoom globally. It's true that the script-accessible zoom is a property of the window, though canvasas obviously retain a zoom level. This script just asks for a new zoom level (default is the current one) and then cycles the canvases through the window to set their zoom level.
Code:
tell application "OmniGraffle Professional 5"
	set currentZoom to the zoom of the front window
	set theDialog to display dialog "Zoom all canvases to:" default answer 100 * currentZoom
	set theZoom to the text returned of theDialog
	set currentCanvas to the canvas of the front window
	repeat with theCanv in every canvas in the document of the front window
		set the canvas of the front window to theCanv
		set the zoom of the front window to theZoom / 100
	end repeat
	set the canvas of the front window to currentCanvas
end tell

Last edited by john.gersh; 2011-08-08 at 11:47 AM..
 
 




Similar Threads
Thread Thread Starter Forum Replies Last Post
Disable Full Page Zoom Intel iMac OmniWeb General 1 2011-04-11 09:35 AM
Full page zoom? Juan Lupion OmniWeb Feature Requests 4 2010-06-05 07:52 AM
Turning on Page Zoom in OmniWeb 5.9.2 Sneaky Peeks dave_m OmniWeb General 2 2009-03-11 11:14 AM
Change default page zoom? Leon Starr OmniGraffle General 2 2007-05-19 12:42 PM


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


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