Scripting Photoshop with Ruby
Monday, March 5th, 2007Justin Palmer (of Prototype fame) has a quick tutorial for Scripting Photoshop With JavaScript and Ruby. This technique uses a Ruby/AppleScript bridge (RubyOSA) to do most of the heavy lifting.
Justin Palmer (of Prototype fame) has a quick tutorial for Scripting Photoshop With JavaScript and Ruby. This technique uses a Ruby/AppleScript bridge (RubyOSA) to do most of the heavy lifting.
My guess is that most Mac users have never used a lot of AppleScript. I never have and I think the reason is that I don’t want to invest the time to learn a new language syntax to occasionally automate a task in OSX. However, MacDevCenter has figured out a way to Replace AppleScript with Ruby, so now might be the time to leverage some Ruby skills to create some kickass “AppleScripts”!
Dan Benjamin has updated his awesome instructions for Hivelogic - The Narrative - Building Ruby, Rails, Mongrel, and MySQL on Mac OS X. I’ve used these instructions in the past and they work great. The advantage of his method is that you compile the software from source (don’t be afraid it’s really easy) so you have great control over your configuration and upgrades will be easier.
If one of your New Year’s resolutions was to learn Ruby on Rails, I would suggest reading Mr. Neighborly’s Humble Little Ruby Book. It is a great online introduction to the Ruby programming language and will definitely give you a kickstart while learning the Rails framework.
Corunet presents The definitive heatmap where by using a combination of Apache, Ruby and JavaScript, you can create your own heatmaps to track where users are clicking on your sites. So this combination of scripts essentially give you the same results as CrazyEgg, however, by rolling your own solution you’ll probably learn something along the way!
Blaine Kendall has created a nice Ruby on Rails Cheatsheet that will help the beginner RoR developer. Although the cheatsheet spans 12 pages it may not be a handy desk reference, but the information is well structured and very complete.
Here is a great way to get started with Ruby on Rails Developement. The Rails Live CD is a live Linux distribution (based on Mandrake) that includes everything you need to get started with Rails. Some preinstalled goodness:
RadRails
If you’ve spent any time developing with Java and are interested in checking out this Ruby on Rails thing, Ruby off the Rails by IBM will help you transition from Java to Ruby. The focus is on learning Ruby as opposed to Rails, but if you want to do any serious Rails development, you’ll have to learn Ruby anyhow!
try ruby! (in your browser) is an interactive shell hosted in a web browser using AJAX to send your commands then display the resonse. To get started, you can try the 15 minute tutorial by typing help at the command prompt. This is a great way to try Ruby as you don’t have to install the Ruby scripting language on your system. It’s kind of like demoware for scripting languages!