• 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: Coercion problem
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Coercion problem


  • Subject: Re: Coercion problem
  • From: Nigel Smith <email@hidden>
  • Date: Mon, 14 Jun 2004 12:40:40 +0100

On 10/6/04 22:40, "Al Wirtes" <email@hidden> wrote:

> -- pick your hashed directory

To save yourself some typing, how about:

set tmp to LNum - (LNum mod 500) + 1
set LHash to (text -4 thru -1 of ("000" & tmp)) & "-" & <no-break>
text -4 thru -1 of ("000" & (tmp + 499)) & ":"

Though someone may come up with something simpler...

HTH,

Nigel
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.


  • Prev by Date: Re: what's going on? Image Events...
  • Next by Date: Re: Replace characters in filename
  • Previous by thread: Re: Coercion problem
  • Next by thread: Re: Coercion problem
  • Index(es):
    • Date
    • Thread