vitor Posted April 26, 2023 Author Share Posted April 26, 2023 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, 2023 Share Posted April 27, 2023 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, 2023 Author Share Posted April 27, 2023 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, 2023 Share Posted April 28, 2023 (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, 2023 by John H Link to comment
vitor Posted April 28, 2023 Author Share Posted April 28, 2023 Interesting. Could you share your keyboard model? Link to comment
vitor Posted April 29, 2023 Author Share Posted April 29, 2023 Updated to 2023.7.Change cache rebuild shortcut to ⌘⌥⌃↩.Check multiple paths in diagnostic. Link to comment
jgla Posted May 2, 2023 Share Posted May 2, 2023 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, 2023 Share Posted May 2, 2023 Update, the cache ran very quickly and solved the problem. Thank you. Link to comment
Tim Moore Posted May 9, 2023 Share Posted May 9, 2023 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, 2023 Author Share Posted May 9, 2023 Welcome @Tim Moore, Do It with the debugger open and post the output. Link to comment
dood Posted May 26, 2023 Share Posted May 26, 2023 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 May 26, 2023 Author Share Posted May 26, 2023 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
onemanrock Posted September 26, 2023 Share Posted September 26, 2023 Hello, I'm back! Just updated to new alfred and lost my AMAZING possibiliy to search on both the 2 google drive mounted on my mac. Is there a way do downgrade and go back to previous system? Also I wasn't using gd command to search, so I don't know how it was configured but it was AMAZING. please help meeee thanks, GM Link to comment
Stephen_C Posted September 26, 2023 Share Posted September 26, 2023 If you run the workflow with the debugger open and then copy and paste the output here you may well find someone is able to help you with the problem. Stephen onemanrock 1 Link to comment
vitor Posted September 26, 2023 Author Share Posted September 26, 2023 5 hours ago, onemanrock said: Also I wasn't using gd command to search Then you likely weren’t using this Workflow. Either way, updating Alfred or the Workflow would have had no effect on your ability to search. Updating macOS might. Again, if you don’t follow the instructions there’s no way to help. Link to comment
onemanrock Posted September 26, 2023 Share Posted September 26, 2023 24 minutes ago, vitor said: Then you likely weren’t using this Workflow. Either way, updating Alfred or the Workflow would have had no effect on your ability to search. Updating macOS might. Again, if you don’t follow the instructions there’s no way to help. I'm using the workflow now. But I have to use gd to search and still doesn't search both my gdrives mounted as before. what I have to do ? Link to comment
vitor Posted September 26, 2023 Author Share Posted September 26, 2023 (edited) You have to add both paths separated by commas in the configuration. This is explained in the workflow. See also the second post of this thread, as I linked you. You may not need the workflow if you could see the folders before. Edited September 26, 2023 by vitor Link to comment
onemanrock Posted September 26, 2023 Share Posted September 26, 2023 1 hour ago, vitor said: You have to add both paths separated by commas in the configuration. This is explained in the workflow. See also the second post of this thread, as I linked you. You may not need the workflow if you could see the folders before. Hi Vitor, I have added both with comma in the middle but doesn't seems to work. Link to comment
vitor Posted September 26, 2023 Author Share Posted September 26, 2023 Have you rebuilt the cache? Link to comment
onemanrock Posted September 26, 2023 Share Posted September 26, 2023 57 minutes ago, vitor said: Have you rebuilt the cache? Yes, sir. Link to comment
vitor Posted September 26, 2023 Author Share Posted September 26, 2023 You still haven’t provided the diagnostic, as requested. Link to comment
onemanrock Posted September 26, 2023 Share Posted September 26, 2023 23 minutes ago, vitor said: You still haven’t provided the diagnostic, as requested. ### Workflow version 2023.8 ### Alfred version 5.1.2 ### macOS version 14.0 ### Architecture arm64 ### Preferences Dict { result_limit = 50 google_drive_path = ~/Il mio Drive, ~/Il Mio Drive Giuseppe } ### Full Disk Access Granted ### Google drive path Exists: /Users/giuseppe/Il mio Drive 40435 paths Exists: /Users/giuseppe/Il Mio Drive Giuseppe 2202 paths ### Cache dir cache.db ### Cache file 16777233 151735733 -rw-r--r-- 1 giuseppe staff 0 7639040 "Sep 26 21:15:40 2023" "Sep 26 21:15:40 2023" "Sep 26 21:15:40 2023" "Sep 26 21:15:22 2023" 4096 16400 0 /Users/giuseppe/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 September 26, 2023 Author Share Posted September 26, 2023 What time is it where you are? Link to comment
onemanrock Posted September 26, 2023 Share Posted September 26, 2023 15 minutes ago, vitor said: What time is it where you are? 22.00 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