At 2:51 pm +1100 12/1/04, Rick Measham wrote:

So next I used CPAN module Mac::AppleScript and I don't get any reply at all:
RunAppleScript(qq(choose file name with prompt "test1" default name "test2"));

I think all you're missing is a tell target. This works here, though painfully slowly as with all these Mac:: things


use Mac::AppleScript qw(RunAppleScript);
RunAppleScript <<EOS;
tell app "Finder" -- or current application etc.
  activate
  choose file name with prompt "test1" default name "test2"
end
EOS
#

Reply via email to