• 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: 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


References: 
 >Re: Stack overflow (From: Paul Berkowitz <email@hidden>)

  • Prev by Date: Re: Stack overflow
  • Next by Date: Re: What is the maximum repeat syze?
  • Previous by thread: Re: Stack overflow
  • Next by thread: Re: Stack overflow
  • Index(es):
    • Date
    • Thread