• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Stack overflow
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Stack overflow
      • From: Emmanuel <email@hidden>
    • Re: Stack overflow
      • From: "Mark J. Reed" <email@hidden>
References: 
 >Stack overflow (From: Robert Poland <email@hidden>)

  • Prev by Date: Re: How To Read a Dictionary
  • Next by Date: Re: Stack overflow
  • Previous by thread: Stack overflow
  • Next by thread: Re: Stack overflow
  • Index(es):
    • Date
    • Thread