-
Posts
10 -
Joined
-
Last visited
Content Type
Blogs
Gallery
Downloads
Events
Profiles
Forums
Articles
Media Demo
Posts posted by Jacob Graf
-
-
@Andrew Yes I did, but just to be absolutely positive, I'll do it again right now and report back. Thanks!
-
@Andrew Nope. If I change to ~/Downloads, it does the same thing. I can't get any results for anything within the folders, but if I type `code d` I see ~/Downloads as a search result
Also, I created a brand new folder in ~ and same thing. Can't see anything within the folder, but if I type `code t` it shows me ~/Test Folder as a search result.
So weird!
-
@Andrew Good ideas! So I removed the folder filter and got the same results. I then changed the scope to / and that worked! I set it back to ~/Sites and it was once again broken.
During this process, I did find something interesting! If I type an S in the search, it shows me the ~/Sites folder (https://cln.sh/MRTJP494ZHhd2Whz5qTC)
This tells me that the scope is searching the parent ~/Sites, but it doesn't appear to be searching WITHIN the ~/Sites folder.
When I had the scope set to /, I was able to find folders within the ~/Sites directory, so I know they at least live within the index.
Any ideas where to go next here?
-
Yes, it shows up when I search from Alfred. Are there any other diagnostic steps I can take? Creating a new user account and doing all that seems like a pain.
Screenshot: https://cln.sh/RdN2JBDgJRV68G7Sdb2l
-
@Vero Here is a short video trying to use it. You'll notice it goes to a Google search right away. Not sure. It's like it's not using the keyword and space variable properly. e.g. `code foldername`.
https://cln.sh/QLdmcx9Mwm4jFbCH747M
Also, here is the troubleshooting info from a folder within the ~/Sites directory...
Starting Diagnostics...
File: 'maizzle'
Path: '/Users/jacobgraf/Sites'-----------------------------------------------------------
Check file cache database...
✅ File cache integrity is ok
-----------------------------------------------------------
Check if file is readable...
✅ Alfred has permissions to read this file.
Unix Permissions: 509
Underlying Type: NSFileTypeDirectory
Extended Attributes: (
)-----------------------------------------------------------
Check if volume '/' is indexed by macOS...
✅ Indexing is enabled on this drive
-----------------------------------------------------------
Check direct file metadata...
✅ Direct metadata available
Display Name: maizzle
Other Names:
Content Type: public.folder
Last Used:-----------------------------------------------------------
Check mdls file metadata...
✅ Metadata contains required items
_kMDItemDisplayNameWithExtensions = "maizzle"
kMDItemContentCreationDate = 2022-09-22 13:46:20 +0000
kMDItemContentCreationDate_Ranking = 2023-10-27 00:00:00 +0000
kMDItemContentModificationDate = 2023-09-10 19:27:09 +0000
kMDItemContentType = "public.folder"
kMDItemContentTypeTree = (
"public.folder",
"public.directory",
"public.item"
)
kMDItemDateAdded = 2023-10-27 22:59:05 +0000
kMDItemDisplayName = "maizzle"
kMDItemDocumentIdentifier = 0
kMDItemFSContentChangeDate = 2023-09-10 19:27:09 +0000
kMDItemFSCreationDate = 2022-09-22 13:46:20 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "maizzle"
kMDItemFSNodeCount = 16
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 502
kMDItemFSSize = (null)
kMDItemFSTypeCode = ""
kMDItemInterestingDate_Ranking = 2023-09-10 00:00:00 +0000
kMDItemKind = "Folder"-----------------------------------------------------------
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 (
"[1] /System/Volumes/Data/Users/jacobgraf/Sites/maizzle"
)File Search Results for ~/ (
)File Search Results for / (
"[1] /System/Volumes/Data/Users/jacobgraf/Sites/maizzle"
)-----------------------------------------------------------
✅ Troubleshooting passed
-
@Vero unfortunately, the rebuild didn't work. 😔
Here is the output from the ~/Sites troubleshooting...
Starting Diagnostics...
File: 'Sites'
Path: '/Users/jacobgraf'-----------------------------------------------------------
Check file cache database...
✅ File cache integrity is ok
-----------------------------------------------------------
Check if file is readable...
✅ Alfred has permissions to read this file.
Unix Permissions: 493
Underlying Type: NSFileTypeDirectory
Extended Attributes: (
"com.apple.provenance"
)-----------------------------------------------------------
Check if volume '/' is indexed by macOS...
✅ Indexing is enabled on this drive
-----------------------------------------------------------
Check direct file metadata...
✅ Direct metadata available
Display Name: Sites
Other Names: Sites
Content Type: public.folder
Last Used: 2023-12-12 15:56:34 +0000-----------------------------------------------------------
Check mdls file metadata...
✅ Metadata contains required items
_kMDItemDisplayNameWithExtensions = "Sites"
kMDItemAlternateNames = (
Sites
)
kMDItemContentCreationDate = 2021-06-08 19:54:04 +0000
kMDItemContentCreationDate_Ranking = 2023-10-27 00:00:00 +0000
kMDItemContentModificationDate = 2023-12-12 15:34:52 +0000
kMDItemContentType = "public.folder"
kMDItemContentTypeTree = (
"public.folder",
"public.directory",
"public.item"
)
kMDItemDateAdded = 2023-10-27 23:09:37 +0000
kMDItemDisplayName = "Sites"
kMDItemDocumentIdentifier = 0
kMDItemFSContentChangeDate = 2023-12-12 15:34:52 +0000
kMDItemFSCreationDate = 2021-06-08 19:54:04 +0000
kMDItemFSCreatorCode = ""
kMDItemFSFinderFlags = 0
kMDItemFSHasCustomIcon = (null)
kMDItemFSInvisible = 0
kMDItemFSIsExtensionHidden = 0
kMDItemFSIsStationery = (null)
kMDItemFSLabel = 0
kMDItemFSName = "Sites"
kMDItemFSNodeCount = 33
kMDItemFSOwnerGroupID = 20
kMDItemFSOwnerUserID = 502
kMDItemFSSize = (null)
kMDItemFSTypeCode = ""
kMDItemInterestingDate_Ranking = 2023-12-12 00:00:00 +0000
kMDItemKind = "Folder"
kMDItemLastUsedDate = 2023-12-12 15:56:34 +0000
kMDItemLastUsedDate_Ranking = 2023-12-12 00:00:00 +0000
kMDItemUseCount = 10
kMDItemUsedDates = (
"2023-10-31 05:00:00 +0000",
"2023-11-21 06:00:00 +0000",
"2023-11-30 06:00:00 +0000",
"2023-12-12 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 (
"[22] /System/Volumes/Data/Users/jacobgraf/Sites"
)File Search Results for ~/ (
)File Search Results for / (
"[22] /System/Volumes/Data/Users/jacobgraf/Sites"
)-----------------------------------------------------------
✅ Troubleshooting passed
-
@Vero That's the thing. The troubleshooter shows green across the board. I am trying the metadata rebuild, but I am pretty sure I did that a few weeks ago without any luck. I'll let you know how it works! Thanks!
-
I have tried everything, and can't seem to figure this out. I've done all the troubleshooting steps for Alfred as well as rebuilt my Spotlight indexes, etc. File/folder search still works with native Alfred find and open commands, but I can't get any file/folder results to work with any workflows. The files/folders are found in Spotlight, so I don't think it's a Spotlight indexing issue.
Here is the workflow I am trying to use, but none of them work, including the "Simple Folder Search" workflow I downloaded from your site.
https://s3.amazonaws.com/graftechnology/temp/alfred-workflow-code.alfredworkflow
Finally, this Mac is fairly new and was restored using a Time Machine backup. Not sure if that matters, but wanted to mention it.
Thanks for any help you can give!
-
Great job. Works great. Would anyone have any idea how to modify this to support preset input/outputs? So if I take a call, I could bring Alfred up and select the "Phone Call" preset which would switch audio input/output to my headset in one easy step? Or I could set up a preset to have the output set to my speakers, but the input set to my bullet mic, etc?
This would be amazing and I haven't found any other Mac audio switching apps that support presets.
Thanks!
Folder Search Not Working?
in Workflow Help & Questions
Posted
@Andrew Ok, did the spotlight delete, rebooted, waited for it to reindex, did an Alfred Reload. Same results. I am so stumped here. This is making no sense. Argh.