• 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: List of all applications
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: List of all applications


  • Subject: Re: List of all applications
  • From: Christopher Stone <email@hidden>
  • Date: Sun, 20 Feb 2011 12:33:37 -0600

On Feb 20, 2011, at 12:03, Bruce Robertson wrote:
Any way to get this to work with subfolders?
I have my FileMaker versions in a subfolder FileMaker Apps and I do not get results for those apps.
______________________________________________________________________

Hey Bruce,

It already dives into subs.  I'm not aware that there is any analog of 'find's '-depth' filter to stop it from doing so.  As far as I know you only have control of the starting point.

You do note the time constraint of 'used in the last 3600 seconds'.  What happens when you change that?

Scope out the last-used-date on the apps that aren't showing up, adjust the time, and see what happens.

This will grab the 'kMDItemLastUsedDate' attribute of the selected item in the Finder and display it in the result viewer:

tell application "Finder"
try
set sel to selection as alias list
if sel ≠ {} then
set sel to sel's item 1
set sel to POSIX path of sel
set sel to quoted form of sel
set cmd to "mdls -name kMDItemLastUsedDate " & sel
set mdlsOutput to do shell script cmd
end if
on error errMsg number errNum
set sep to "=============================="
set e to sep & return & "Error: " & errMsg & return & sep & return ¬
& "Error Number: " & errNum & return & sep
beep
display dialog e
end try
end tell

--
Best Regards,
Chris
 _______________________________________________
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: List of all applications
      • From: Bruce Robertson <email@hidden>
    • Re: List of all applications
      • From: Bruce Robertson <email@hidden>
References: 
 >Re: List of all applications (From: jan <email@hidden>)
 >Re: List of all applications (From: Bruce Robertson <email@hidden>)

  • Prev by Date: Re: List of all applications
  • Next by Date: Re: mdls & .app?
  • Previous by thread: Re: List of all applications
  • Next by thread: Re: List of all applications
  • Index(es):
    • Date
    • Thread