From: Vasil Vangelovski Date: 2007-08-18T11:23:43+09:00 Subject: Re: Using StandardAdditions.osax with appscript a workaround for this: 1. Execute applescript in shell command 2. Execute shell command in ruby Examle: [code] Applescript: tell application "Finder" delete file "Untitled.rtf" delete file "untitled2.rtf" end tell Ruby: command = "osascript -e 'tell application "Finder" to delete file "untitled.rtf"' -e 'tell application "Finder" to delete file "untitled2.rtf"'" system (command) [/code] That will execute the string in command inthe shell. I couldn't test it but hope it works. -- Posted via http://www.ruby-forum.com/.