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

 
Script: Quicker image cropping Thread Tools Search this Thread Display Modes
A faster workaround for the lack of a crop tool in OG5.

If you save this script as a compiled .scpt file and assign it to a keystroke, you will find that:
  1. The first click produces a transparent cropping rectangle,
  2. you can then re-size the rectangle if necessary, positioning it over a full-sized image.
  3. the second click will crop the image and remove the cropping rectangle.
  • The size of the cropping rectangle is remembered between uses, in case you want to make several crops of the same size.
  • Neither cropping rectangle nor image need to be selected for the script to work.

(A re-working of an approach used in Bill Van Hecke's useful script. The aim is to cut out a few of the steps involved in preparing and sizing a transparent rectangle, and to drop the need to select both image and rectangle I kept finding that I was forgetting to extend the selection to the image).

(The .zip contains both .applescript and .scpt versions. The .scpt copy was compiled on 10.6. If you are using another version of OS X you will need to load the .applescript copy in Applescript Editor, and Save As in script format. The text version, with an .applescript extension, will not remember the size of the cropping rectangle between uses.)

--
Attached Thumbnails
Click image for larger version

Name:	Screen shot 2012-01-05 at 08.50.07.png
Views:	427
Size:	82.9 KB
ID:	2188   Click image for larger version

Name:	Screen shot 2012-01-05 at 08.51.04.png
Views:	394
Size:	79.2 KB
ID:	2189   Click image for larger version

Name:	Screen shot 2012-01-05 at 08.51.51.png
Views:	425
Size:	12.2 KB
ID:	2190   Click image for larger version

Name:	Screen shot 2012-01-05 at 08.52.07.png
Views:	403
Size:	13.1 KB
ID:	2191  
Attached Files
File Type: zip QuickCrop05.zip (22.2 KB, 342 views)
 
 


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Crop Image script Bill Van Hecke OmniGraffle Extras 16 2013-02-13 02:12 PM
Cropping an image Angostura OmniGraffle General 5 2008-09-28 05:34 AM
Drag linked image downloads the image Handycam OmniWeb Feature Requests 31 2006-11-13 03:40 AM
cropping? mdhayes OmniGraffle Extras 1 2006-09-18 05:17 PM


All times are GMT -8. The time now is 04:09 PM.


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