Re: "choose file name" Command
Re: "choose file name" Command
- Subject: Re: "choose file name" Command
- From: Jeffrey Berman <email@hidden>
- Date: Fri, 11 Oct 2002 08:09:57 -0500
On Thu, 10 Oct 2002, John Delacour <email@hidden> wrote:
>
At 10:00 am -0500 10/10/02, Jeffrey Berman wrote:
>
>
> 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 that case it _IS_ in an (implicit) tell block
John:
Yes, I suspected as much and that is why when I was troubleshooting the
syntax in the Script Editor, I put the command inside a "tell" block.
>
> 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.
>
>
I have tried it as a script menu item in Eudora (X), Tex-Edit Plus
>
(X), BBEdit 6.5 (X) and Outlook Express 5.0.5 and had no problem with
>
any of them.
I am also using BBEdit 6.5 (6.5.3), so I tried the following syntax in the
Script Editor:
tell application "BBEdit"
activate
choose file name default name "Test Name"
end tell
It resulted in a "Connection is invalid" error message and BBEdit
unexpectedly quit. On the other hand, if I remove the "default name"
parameter from the syntax, the "choose file" dialog appears without error.
Someone suggested back channel to use Disk Utility to check and repair disk
permissions. After doing so, however, I still have the same problem.
Others on the list are reporting they do not see this behavior on their
machines, so it looks like it may be specific to my setup. At this point,
though, I have no idea what is triggering the problem.
In any case, thanks for trying to troubleshoot the 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.