vitor Posted April 26 Author Share Posted April 26 Open Alfred.Type gd and a search term. See some results.Hold fn. You’ll see the subtitle of the result show the option to rebuild cache.Press ↩, in addition to the fn.Or, have you tried not using the workflow and instead searching from Alfred’s regular search? It’s the first paragraph in the second post. Link to comment
John H Posted April 27 Share Posted April 27 Any way you can change the modifier from fn to something else? Makes it impossible to use (afaik) for external keyboards. Also, should comma separation still work for multiple paths / Google accounts? Seems I can only get it to work with one. I get a "Does NOT Exist" error when comma separating multiple Gdrive paths. Thanks Link to comment
vitor Posted April 27 Author Share Posted April 27 5 minutes ago, John H said: Any way you can change the modifier from fn to something else? Not at the moment, but I’ll consider a different shortcut. 5 minutes ago, John H said: Makes it impossible to use (afaik) for external keyboards. Not in general. I also use an external keyboard and it has an fn key. 6 minutes ago, John H said: Also, should comma separation still work for multiple paths / Google accounts? It does. 6 minutes ago, John H said: I get a "Does NOT Exist" error when comma separating multiple Gdrive paths. It’s just the diagnostic not handling that case, for search where it matters it works. Link to comment
John H Posted April 28 Share Posted April 28 (edited) Thank you! My external keyboard does in fact have an "fn" key, but it's different than the "fn" (globe) key on my laptop. I've not been able to get it to function as necessary for regenerating cache. Edited April 28 by John H Link to comment
vitor Posted April 28 Author Share Posted April 28 Interesting. Could you share your keyboard model? Link to comment
vitor Posted April 29 Author Share Posted April 29 Updated to 2023.7.Change cache rebuild shortcut to ⌘⌥⌃↩.Check multiple paths in diagnostic. Link to comment
jgla Posted May 2 Share Posted May 2 Thanks, I have it rebuilding, I did not realize you had to search something and then hit Fn (I was simply typing gd). Will see if the cache rebuild works. To you other question, normal alfred search with the workflow does not find any files in drive. Link to comment
jgla Posted May 2 Share Posted May 2 Update, the cache ran very quickly and solved the problem. Thank you. Link to comment
Tim Moore Posted May 9 Share Posted May 9 Hi there, I'm having trouble opening certain files. It'll find the file but won't open it. Am I doing something wrong? ### Workflow version 2023.6 ### Alfred version 5.1 ### macOS version 13.2.1 ### Architecture arm64 ### Preferences Dict { google_drive_path = ~/Library/CloudStorage/GoogleDrive-tim@larcheatlanta.org } ### Full Disk Access Granted ### Google drive path Exists: /Users/tmoore/Library/CloudStorage/GoogleDrive-tim@larcheatlanta.org 41270 paths ### Cache dir cache.db ### Cache file 16777233 47767647 -rw-r--r-- 1 tmoore staff 0 9064448 "May 9 16:28:09 2023" "May 9 09:31:42 2023" "May 9 09:31:42 2023" "May 9 09:19:13 2023" 4096 18560 0 /Users/tmoore/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/com.alfredapp.vitor.googledrive/cache.db ### Temporary cache Does NOT exist ### Build progress NOT running ### Launchd job Loaded: - 0 com.alfredapp.vitor.googledrive Installed Link to comment
vitor Posted May 9 Author Share Posted May 9 Welcome @Tim Moore, Do It with the debugger open and post the output. Link to comment
dood Posted Friday at 09:47 PM Share Posted Friday at 09:47 PM Hi @vitor, would it be possible to add File Actions to this workflow (or as a separate proof-of-concept) that emulate the actions that appear in Finder? For example: If so, I think the most useful actions to start with would be "Open with Google Drive" and "Copy link to clipboard". Thanks! Link to comment
vitor Posted Friday at 09:59 PM Author Share Posted Friday at 09:59 PM Anything that requires messing with the API is deliberately avoided to not complicate setup and usage. Google is know to break and limit API interactions on a whim. The goal of this workflow is specifically to close the gap where files and folders couldn’t be listed. Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now