How I like to code

Monthly Archives: August 2011

alt text on iPad

I found this cool tip on how to see the alt text on images that you would normally see when you hover the mouse cursor over an image… which as we know, there is no mouse on an iPad: hints.macworld.com

Shell script to get path of application in MacOS

Here is a shell script that finds an application on my hard drive using a nifty call to Finder using AppleScript: ?View Code BASH#!/bin/sh   result=`exec osascript <<EOF tell application "Finder" set thePath to (POSIX path of (path to application "Doxygen")) end tell EOF`   echo $result