• 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: Find All (Scriptable) Applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Find All (Scriptable) Applications


  • Subject: Re: Find All (Scriptable) Applications
  • From: Rob Jorgensen <email@hidden>
  • Date: Wed, 4 Jul 2001 23:23:21 -0400

On 7/4/01, Michelle Steiner commented:

On 7/4/01 6:21 PM, Sun Real <email@hidden> wrote:

Don't know about quickly, but the Finder can directly get a list of
scriptable apps:

tell application "Finder"
set myASAppList to (name of every application file) of entire contents
of startup disk whose (has scripting terminology) is true
end tell

After 30 minutes, I interrupted the script.

I made two modifications to the the script (took the name out of it/checked all partitions) and it ran in under 2 minutes (20 GB drive/6 partitions). Obviously, among other factors, the number of files on the drive(s) will greatly impact the amount of time it takes to complete the script. I keep my drive relatively tidy, but I can see where this would be a painfully long process on a drive/drives with tens of thousands of files (which I suspect is not abnormal). It also appears to hog RAM when run repeatedly. Bad Finder! :P

Thanks for providing your results. :-)


Later,

Rob Jorgensen
Ohio, USA


  • Follow-Ups:
    • Re: Find All (Scriptable) Applications
      • From: Andy Wylie <email@hidden>
References: 
 >Re: Find All (Scriptable) Applications (From: Michelle Steiner <email@hidden>)

  • Prev by Date: Re: Find All (Scriptable) Applications
  • Next by Date: Script Editor corrupt? ÉXÉNÉäÉvÉgï"èWÉvÉçÉOÉâÉÄ
  • Previous by thread: Re: Find All (Scriptable) Applications
  • Next by thread: Re: Find All (Scriptable) Applications
  • Index(es):
    • Date
    • Thread