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 #
