• 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: Tod Hallberg <email@hidden>
  • Date: Wed, 28 May 2008 09:23:10 -0500
  • Thread-topic: AppleScript-Users Digest, Vol 5, Issue 324

Thanks for the help.  I knew the script was long and involved, but I wanted
to make sure I posted all of it just for the random bits of help with
different parts that people may give.  (Not just the parts that I asked
for.)

Your help and Tom's suggestion, help with the bits that I was needing to
figure out greatly.  Some others have given me some tips on some code
optimizes.  Handlers have always puzzled me, so I just avoided them, perhaps
it is time to look at how they work again.

Thanx for the help

tod
--



> From: "Stockly, Ed" <email@hidden>
> Date: Tue, 27 May 2008 19:15:52 -0700
> To: <email@hidden>
> Conversation: AppleScript-Users Digest, Vol 5, Issue 324
> Subject: Re: 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:
> om
> Archives: http://lists.apple.com/archives/applescript-users
>
> This email sent to email@hidden


 _______________________________________________
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

References: 
 >Re: AppleScript-Users Digest, Vol 5, Issue 324 (From: "Stockly, Ed" <email@hidden>)

  • Prev by Date: Re: AppleScript-Users Digest, Vol 5, Issue 324
  • Next by Date: Targetting a specific Word version
  • Previous by thread: Re: AppleScript-Users Digest, Vol 5, Issue 324
  • Next by thread: Targetting a specific Word version
  • Index(es):
    • Date
    • Thread