"choose file name" Command
"choose file name" Command
- Subject: "choose file name" Command
- From: Jeffrey Berman <email@hidden>
- Date: Thu, 10 Oct 2002 08:07:29 -0500
After upgrading to Jaguar (10.2.1), I found that past scripts using the
"choose file name" command were failing and sometimes causing the active
application to quit.
After some experimentation running these scripts in the Script Editor, I
discovered that the problem seems to be triggered by the "default name" part
of the syntax. A simple example might be:
tell application "Finder"
activate
choose file name default name "Test Name"
end tell
When run, these commands return a "Finder got an error: Connection is
invalid." error message.
However, if the above script has the third line changed to:
choose file name
the syntax runs without error.
Is this a known problem and is there any solution short of avoiding use of
the "default name" parameter?
-Jeffrey Berman
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.