Re: Stack overflow
Re: Stack overflow
- Subject: Re: Stack overflow
- From: Paul Berkowitz <email@hidden>
- Date: Mon, 06 Mar 2006 09:48:17 -0800
- Thread-topic: Stack overflow
On 3/6/06 9:38 AM, "Robert Poland" <email@hidden> wrote:
> With this little script I get a Stack overflow. Can someone tell me
> what I can't see.
>
> set myFile to choose file
> set this_info to info for myFile
> set the new_item_name to the name of this_info
> set new_item_name to lowercase {new_item_name}
> set name of myFile to new_item_name
Why in the world are you using list braces for 'lowercase'? I presume you
are using the Satimage command 'lowercase'. Just check the Satimage
dictionary and you'll see that it takes a string, not a list. Remove the
list braces and you should be fine.
set new_item_name to lowercase new_item_name
--
Paul Berkowitz
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden