Re: Find All (Scriptable) Applications
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