On Jul 19, 2006, at 6:50 AM, Une bñ×ue wrote: > > very oftently with a vaild and tested AppleScript i get this error : > > RuntimeError: (-1753) OSACompileExecute > method compile_execute > in osacomponent.rb at line 32 > method do_script > in osacomponent.rb at line 32 > method do_osascript > in osacomponent.rb at line 17 > at top level > in wait_4_app_and_win.applescript.rb at line 10 > > (my line 10 is simply : p OSX.do_osascript(as)) > > in fact my ruby script only launch the AppleScript's one by : > ------------------------------------------------------------------- > #!/usr/bin/env ruby > > require 'osx/aeosa' > as="" > File.open("wait_4_app_and_win_mod.applescript").each { |l| as << l} > > p OSX.do_osascript(as) > ------------------------------------------------------------------- > > what could i do in order to get out of this hole ? > > -- > une bñ×ue > Use system("osascript #{file}") instead?