Jump to content

Alfred can't find a file I know exists.


Chip T

Recommended Posts

Posted

I have a a bunch of Applescripts in subdirectories of ~/Library/Scripts and ~/Library/Script Libraries.  I am trying to make more use of Alfred so when I attempted to use Alfred to find an AppleScript file in these directories Alfred can't locate it.  I have added these directories to the Search Scope and the File Troubleshooting results indicate to me that the file is in scope and so I would expect it to be returned but it is not. 

 

Not being an Alfred wizard I am just wondering what if anything I am doing wrong or not understanding.

 

Thanks!

 

 

Starting Diagnostics...

File: 'ConfirmPDFisSearchable.scpt'
Path: '/Users/chip/Library/Scripts/Hazel'

-----------------------------------------------------------

Check file cache database...

File cache integrity is ok

-----------------------------------------------------------

Check if file is readable...

Alfred has permissions to read this file.

Unix Permissions: 420
Underlying Type: NSFileTypeRegular
Extended Attributes: (
    "com.apple.lastuseddate#PS",
    "com.apple.metadata:_kMDItemUserTags",
    "com.apple.metadata:kMDLabel_zaty4j54i4gsutyatc4kzzzrx4",
    "com.latenightsw.infoplist-settings"
)

-----------------------------------------------------------

Check if volume '/' is indexed by macOS...

Indexing is enabled on this drive

-----------------------------------------------------------

Check direct file metadata...

Direct metadata available

Display Name: ConfirmPDFisSearchable.scpt
 Other Names: 
Content Type: com.apple.applescript.script
   Last Used: 2022-08-11 21:59:49 +0000

-----------------------------------------------------------

Check mdls file metadata...

Metadata contains required items

_kMDItemDisplayNameWithExtensions  = "ConfirmPDFisSearchable.scpt"
kMDItemContentCreationDate         = 2021-08-09 21:24:20 +0000
kMDItemContentCreationDate_Ranking = 2023-11-21 00:00:00 +0000
kMDItemContentModificationDate     = 2023-11-21 03:00:49 +0000
kMDItemContentType                 = "com.apple.applescript.script"
kMDItemContentTypeTree             = (
    "com.apple.applescript.script",
    "public.data",
    "public.item",
    "public.script",
    "public.source-code",
    "public.plain-text",
    "public.text",
    "public.content"
)
kMDItemDateAdded                   = 2023-11-21 03:00:49 +0000
kMDItemDisplayName                 = "ConfirmPDFisSearchable.scpt"
kMDItemDocumentIdentifier          = 36768
kMDItemFSContentChangeDate         = 2023-11-21 03:00:49 +0000
kMDItemFSCreationDate              = 2021-08-09 21:24:20 +0000
kMDItemFSCreatorCode               = "asDB"
kMDItemFSFinderFlags               = 0
kMDItemFSHasCustomIcon             = (null)
kMDItemFSInvisible                 = 0
kMDItemFSIsExtensionHidden         = 0
kMDItemFSIsStationery              = (null)
kMDItemFSLabel                     = 0
kMDItemFSName                      = "ConfirmPDFisSearchable.scpt"
kMDItemFSNodeCount                 = (null)
kMDItemFSOwnerGroupID              = 20
kMDItemFSOwnerUserID               = 501
kMDItemFSSize                      = 29353
kMDItemFSTypeCode                  = "osas"
kMDItemInterestingDate_Ranking     = 2022-08-11 00:00:00 +0000
kMDItemKind                        = "Script"
kMDItemLastUsedDate                = 2022-08-11 21:59:49 +0000
kMDItemLastUsedDate_Ranking        = 2022-08-11 00:00:00 +0000
kMDItemLogicalSize                 = 29353
kMDItemPhysicalSize                = 32768
kMDItemSupportFileType             = (
    MDSystemFile
)
kMDItemUseCount                    = 1
kMDItemUsedDates                   = (
    "2022-08-11 06:00:00 +0000"
)

-----------------------------------------------------------

Check file is in search scope...

File exists within Alfred's default search scope

-----------------------------------------------------------

Check MDQuery file search...

macOS returned a match for this file in your search scope.

File Search Results for search scope (
    "[2] /System/Volumes/Data/Users/chip/Library/Scripts/Hazel/ConfirmPDFisSearchable.scpt"
)

File Search Results for ~/ (
    "[2] /System/Volumes/Data/Users/chip/Library/Scripts/Hazel/ConfirmPDFisSearchable.scpt"
)

File Search Results for / (
    "[2] /System/Volumes/Data/Users/chip/Library/Scripts/Hazel/ConfirmPDFisSearchable.scpt"
)

-----------------------------------------------------------

Troubleshooting passed
 

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...