Applescript port for Penguin