Rating Podcasts

The iPod doesn’t allow for rating of a Podcast - I guess it assumes they are throwaway items, rather than worth keeping.

Resizing Images in AppleScript/Automator

I’ve already written a small Automator application that will resize an image to 640x480, but what about if I want to change it to a different size. There’s no way to set the resize amount on the fly in Automator, so I thought, it should be easy to do it in AppleScript. Except, for some reason, Preview.app isn’t scriptable. I do have Image Events.app floating around (not sure if it’s a standard part of the system), which can do what I want.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
    tell application "Finder"
    	set sels to selection
    end tell
    
    
    repeat with sel in sels
    	tell application "Image Events"
    		set img to open sel as alias
    		set dims to dimensions of img
    	end tell
    	
    	set cursize to "Current Size of Image: " & (first item of dims as integer as text) & " x " & (last item of dims as integer as text)
    	
    	display dialog cursize
    end repeat

This gets the current size, but I’m yet to find an easy way to get input from the user, and resize it according to this. I’m sure it can’t be that tricky!

Renovations Update

I know that a couple of people read this who are a bit interested in how my house renovations are coming along. Jaq and I have spent the last couple of months preparing the main living area: Kitchen, Dining, Lounge and Study. We knocked out about 3m of a wall which will have a table inserted into it, and replaced the floorboards, ceilings and fixed the walls. We have spent the last weekends doing some final prep for painting, and now painting the kitchen/study area. The edges of the wall where we had cut a big hole look great: we’ve use a Rondo Shadowline product to get lovely 10mm shadow lines around the framing, and now it’s all painted, you can’t see where the original plaster ends, and the cornice cement and top-cote start. It does look really nice. Similarly, where the old Air Conditioner was is almost invisible from the inside now. We’ll build the kitchen ourselves - Ikea have some good kitchen cabinets, and we’ll just get the doors made up. The kitchen will flow through into the study, although it will have a seperator that does distinguish between the two. We also got some new furniture in the past couple of days: a Hans Wegner Daybed and some nice Danish beds. Furniture Auctions are the best place to find great bargains.