Re: Stack overflow
Re: Stack overflow
- Subject: Re: Stack overflow
- From: Emmanuel <email@hidden>
- Date: Mon, 6 Mar 2006 19:09:43 +0100
At 9:48 AM -0800 3/6/06, Paul Berkowitz wrote:
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
The braces should not be a problem.
My guess is in the last line: "set name of myFile" should be in a
"tell app "Finder" " block.
Emmanuel
_______________________________________________
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