• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
"choose file name" Command
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"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.

  • Follow-Ups:
    • Re: "choose file name" Command
      • From: John Delacour <email@hidden>
  • Prev by Date: Re: Quark Xpress again (style spec)
  • Next by Date: Re: Text Item Delimiters length limit?
  • Previous by thread: Re: Quark Xpress again (style spec)
  • Next by thread: Re: "choose file name" Command
  • Index(es):
    • Date
    • Thread