Re: AppleScript-Users Digest, Vol 5, Issue 324
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