Re: applescript-users digest, Vol 2 #1316 - 15 msgs
Re: applescript-users digest, Vol 2 #1316 - 15 msgs
- Subject: Re: applescript-users digest, Vol 2 #1316 - 15 msgs
- From: "Ian Hall" <email@hidden>
- Date: Sun, 18 Nov 2001 20:06:47 +0000
Harry
I recently ran into this too - the error occurs because you don't have the
Default Folder control panel installed - to use the scripting addition,
you MUST also install the control panel.
--
Ian Hall
IT Department
Media Advertising Solutions
Tel: ++44 (0)1622 687654
Fax: ++44 (0)1622 757054
email@hidden writes:
>
--__--__--
>
>
Message: 8
>
Date: Fri, 16 Nov 2001 14:29:27 -0400
>
To: email@hidden
>
From: harry brindley <email@hidden>
>
Subject: Scripting Default Folder's scripting addition
>
"SetFileDialogFolder" ...
>
>
I'm trying to set the default folder for a choose file or choose
>
folder command in AppleScript. Default Folder comes with a scripting
>
addition which seems as though it should be able to do this. But when
>
I try to set it, I get a parameter error ...
>
>
set myFolder to choose folder "Folder?"
>
SetFileDialogFolder myFolder <<<--- parameter error
>
>
... what am I doing wrong here -- or what other simple solutions
>
exist to doing this in Mac OS 9.1?
>
>
Thanks,
>
Harry