Re: "choose file name" Command
Re: "choose file name" Command
- Subject: Re: "choose file name" Command
- From: Jeffrey Berman <email@hidden>
- Date: Thu, 10 Oct 2002 10:00:02 -0500
On 10/10/02 9:34 AM, John Delacour <email@hidden> wrote:
>
At 8:07 am -0500 10/10/02, Jeffrey Berman wrote:
>
>
> Is this a known problem and is there any solution short of avoiding use of
>
> the "default name" parameter?
>
>
Golden rule No. 1: Don't use tell unless you need to -- and here you don't.
>
>
choose file name default name "junk.txt"
>
>
runs fine here in 10.2.1
John:
A wise golden rule. Unfortunately, I was using the "tell" construction just
to demonstrate the general problem within the Script Editor.
In my actual scripts, the "choose file name" is not in a "tell" block but
is launched from the script menu of Microsoft Entourage. In this situation,
adding the "default name" parameter causes the application to crash. For
example, when I launch a script with your example, Microsoft Entourage
immediately quits.
My tests within the Script Editor were to see if the problem was specific to
Microsoft Entourage. Given that the same problem occurs from the Finder, it
appears to be a more general issue.
-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.