• 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: AppleScript-Users Digest, Vol 5, Issue 324
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AppleScript-Users Digest, Vol 5, Issue 324


  • Subject: Re: AppleScript-Users Digest, Vol 5, Issue 324
  • From: "Stockly, Ed" <email@hidden>
  • Date: Tue, 27 May 2008 19:15:52 -0700
  • Thread-topic: AppleScript-Users Digest, Vol 5, Issue 324

Todd, I had a look at your script and it seems that you need something like
Tom's solution here:

>>>display dialog "What store would you like to check?  (2-42)" default answer
"" giving up after 30
>>>set storeNumber to text returned of the result

Try something like:

set filesLineCount to count paragraphs in (read POSIX file "/Library/
Application Support/Tod_Script/StoreInfo.txt")

Repeat with storeNumber from 2 to filesLineCount

----(put the "end repeat" at the appropriate spot in your script).

It's kind of difficult to do much debugging in your script because I don't
have those volumes or your info files on my system.

The best suggestion I could make at this point would be to break your script
up into handlers whenever possible.

Here's an example:

Set theSize to my ItemSize (fileInfo)


Let us know if you need more details about doing that.

ES

 _______________________________________________
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: AppleScript-Users Digest, Vol 5, Issue 324
      • From: Tod Hallberg <email@hidden>
  • Prev by Date: Re: Checking files on remotes help
  • Next by Date: Re: AppleScript-Users Digest, Vol 5, Issue 324
  • Previous by thread: Re: Checking files on remotes help
  • Next by thread: Re: AppleScript-Users Digest, Vol 5, Issue 324
  • Index(es):
    • Date
    • Thread