• 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: How can I format an integer ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How can I format an integer ?


  • Subject: Re: How can I format an integer ?
  • From: Emile Schwarz <email@hidden>
  • Date: Sun, 26 Oct 2008 15:19:57 +0100

Hi all,

Many thanks to Luther and Philip!

I wrote earlier:
The question is simple:
And the answer is also simple (to give): do it yourself! (but a bit harder to do).
I think at that minutes ago when I read my question from the digest (volume 5, Issue 581).



I noticed:
set AppleScript's text item delimiters to {theSeparatorString}

but no storage (for restore) and no restore at all of the original value.

I learned to store a variable (that I am not the owner) before changing its contents and restore it before quit. The variable owner is either AppleScript or Mac OS X and I do not know what happens once it have been changed by a program. So to avoid trouble(s), I usually store the original value before changing it and restore that original value once I can (do not need my value).

Am I right ?

Emile

PS: I still have to test the shared code to know if it fills my needs.

I only want to store mp3 file size after the file name and before the time length as:

01.   My Nice Song   13 456 789 Bytes   2:35

thus the format an integer question (I have answers for other parts of the script).
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users


This email sent to email@hidden
  • Follow-Ups:
    • Re: How can I format an integer ?
      • From: Luther Fuller <email@hidden>
  • Prev by Date: Re: How can I format an integer ?
  • Next by Date: Ma always said: there is a time to take and a time to give [Mid(Source, Start, End)]
  • Previous by thread: Re: How can I format an integer ?
  • Next by thread: Re: How can I format an integer ?
  • Index(es):
    • Date
    • Thread