Other Entries

Log

Image Dimensions AppleScript

Here’s an applescript to get the dimensions of an image from the finder.

tell application "Finder"
	set imageFile to (item 1 of (get selection)) as alias
	set imagePath to quoted form of POSIX path of imageFile
end tell
tell application "Image Capture Scripting"
	set image_ to open imageFile
	set {width_, height_} to {width, height} of image_
	close image_
end tell
tell application "Finder"
	display dialog "Dimensions of  " & imagePath & "
	
	Width: " & width_ & "
	Height: " & height_
end tell

06/05/03 10:01AM Geekiness Macintosh

Recently Played on iTunes

  1. “Heroin”
    The Velvet Underground & Nico
    The Velvet Underground
    11/17/08 16:26
  2. “All Tomorrow's Parties”
    The Velvet Underground & Nico
    The Velvet Underground
    11/17/08 16:20
  3. “Run Run Run”
    The Velvet Underground & Nico
    The Velvet Underground
    11/17/08 16:16

Last 100 Songs >