I use an AppleScript to implement “Open Terminal Here” functionality on my Macs, and just now I noticed on the Intel machine it had stopped working properly if Terminal wasn’t already running. For some reason, on PPC it still sends the message through, but on x86 it doesn’t.
So, I had to use the following code to get it to work if Terminal wasn’t already running, which can be generalised to any application:
repeat while "Terminal" is not in name of processes
delay 0.5
end repeat
(more…)