Jump to content

luckman212

Member
  • Posts

    379
  • Joined

  • Last visited

  • Days Won

    15

Everything posted by luckman212

  1. @evanfuchs Ok let's start with some basics: Open a Terminal and try entering in the following commands. Please copy & paste the results to a pastebin. cd "$HOME/Library/Application Support/Alfred/Databases" ls -l clipboard.alfdb.data sqlite3 -header clipboard.alfdb 'SELECT * FROM clipboard WHERE dataType == 1' Finally, open Alfred and select the Workflows tab, then open the Debugger console (โŒ˜D) and trigger ClipSaver. Copy and paste the JSON output to a separate pastebin.
  2. The workflow reads directly from Alfred's SQLite database, so it's very unexpected that the results would be different from what you see in Alfred's native UI. I am not in front of my computer now, but I'll update this post later with some diagnostic commands to run, hopefully that may shed some light on what's going on here.
  3. @evanfuchs I may be misunderstanding, sorry if that's the case, butโ€”the purpose of this workflow is to only show/save IMAGES. So it is expected that the workflow's results will be limited to the TIFFs only, and will be different from Alfred's clipboard history which would contain all items: files, text etc. Are you expecting something different?
  4. @evanfuchs Does the workflow return any results? My initial thought is: you may have configured the database path incorrectly. If you open Alfred's debugger (โŒ˜D from the Workflow screen) and trigger the workflow, what's the output there? Any errors? (maybe you can paste the results to a pastebin...)
  5. Oh, I see... after submitting the reply, the forum converts it. Neat, if not a bit confusing ๐Ÿ™ƒ
  6. @vitor What I meant was, the richtext editor here on the Alfred forums...this Also, switching the snippet to plaintext and inserting the marked-up flavor you gave just results in: foo BAR baz
  7. Alright. I'm going to work on it a bit, I have some ideas on how to make it more modular and user-friendly. Once it's ready I'll post it up.
  8. Alfred 5.0.5 (2096) macOS 13.0.1 I like to insert inline styled monospace text sometimes in forum posts. This rich text editor doesn't have a built in formatter for that (I think?). But, I know if copy/pasted, it can be done. So I thought I'd make use of a RichText snippet to easily insert a template. But, it isn't working. I copied some styled text from the forum, e.g. from this post: And added it to my snippet: But, when pasted, it appears as simply: Is there some trick for making this work, or am I barking up a dead tree?
  9. Since this hasn't made it into Alfred 5 (yet!) I came up with a workaround, which is a custom Script Filter workflow that uses multiple "match" keywords and then fires the original object using the ExternalTrigger / URL Handler action. It's clunky but "it works" for now... If anyone wants to see how this is done, I can publish a template to GitHub if I get a bit of time.
  10. Alfred 5.0.5 (2096) macOS 13.0.1 I've been having a go with the URL Handler feature to trigger workflows externally using alfred://runtrigger/ โ€” Nice! ๐Ÿš€ One question/clarification: In the docs, it says "An Inbound Configuration set up with an external identifier will behave the same as using an external trigger and provides additional configuration options.", but I'm not finding that to be the case. I can only seem to get the URL Handler to work if I explicitly add an External Trigger object and enable the Available via URL Handler checkbox. Simply adding an External Identifier to Inbound Configuration (Direct mode) has no effect when the URL is fired. Am I doing this wrong, misunderstanding the feature, or is this a bug?
  11. Ok, let me see if I can help. 1. Can you post a screenshot or copy/paste the output of your Alfred debugger console? 2. Please post a screenshot of the workflow's Environment Variables area. 3. What version of Alfred and macOS are you running? 4. And finally, can you open a Terminal and type "python3 -VV" and paste that output here as well?
  12. @BenjaminO I don't think this is an Alfred problem. I suffered Kernel Panics when restarting or shutting down for months and months (check out this 46-page MacRumors thread...). After a lot of fiddling, they finally went awayโ€”although I can't with any certainty say why. I was humming along fine until I installed Ventura, and now... the crashes on reboot/shutdown are back. Progress!
  13. Ok, that makes sense. I rebuilt my spotlight database yesterday so I guess this just wasn't in the index before for some reason (it's not a new file, but maybe Ventura is indexing things differently now). I added alfred:ignore to it, thanks for your help as always.
  14. Thanks @Andrew โ€”but why are other apps that start with "g" not appearing in this query then? (example: GPG Keychain below, or even Chrome itself)
  15. Btw: here is the result of Alfred's diags on this particular file... Starting Diagnostics... File: 'gnome-vfs-daemon.service' Path: '/Users/luke/Desktop/fpbx-backup/usr/share/dbus-1/services' ----------------------------------------------------------- Check file cache database... โœ… File cache integrity is ok ----------------------------------------------------------- Check if file is readable... โœ… Alfred has permissions to read this file. ----------------------------------------------------------- Check if volume '/' is indexed by macOS... โœ… Indexing is enabled on this drive ----------------------------------------------------------- Check direct file metadata... โœ… Direct metadata available Display Name: gnome-vfs-daemon.service Other Names: Content Type: com.apple.service-application Last Used: ----------------------------------------------------------- Check mdls file metadata... โœ… Metadata contains required items _kMDItemDisplayNameWithExtensions = "gnome-vfs-daemon.service" com_apple_metadata_modtime = 395153134 kMDItemContentCreationDate = 2013-07-10 12:45:34 +0000 kMDItemContentCreationDate_Ranking = 2022-04-24 00:00:00 +0000 kMDItemContentModificationDate = 2013-07-10 12:45:34 +0000 kMDItemContentType = "com.apple.service-application" kMDItemContentTypeTree = ( "com.apple.service-application", "com.apple.application-bundle", "com.apple.application", "public.executable", "com.apple.localizable-name-bundle", "com.apple.bundle", "public.directory", "public.item", "com.apple.package" ) kMDItemDateAdded = 2022-04-24 23:43:06 +0000 kMDItemDisplayName = "gnome-vfs-daemon.service" kMDItemDocumentIdentifier = 0 kMDItemFSContentChangeDate = 2013-07-10 12:45:34 +0000 kMDItemFSCreationDate = 2013-07-10 12:45:34 +0000 kMDItemFSCreatorCode = "" kMDItemFSFinderFlags = 0 kMDItemFSHasCustomIcon = (null) kMDItemFSInvisible = 0 kMDItemFSIsExtensionHidden = 0 kMDItemFSIsStationery = (null) kMDItemFSLabel = 0 kMDItemFSName = "gnome-vfs-daemon.service" kMDItemFSNodeCount = (null) kMDItemFSOwnerGroupID = 20 kMDItemFSOwnerUserID = 501 kMDItemFSSize = 82 kMDItemFSTypeCode = "" kMDItemInterestingDate_Ranking = 2013-07-10 00:00:00 +0000 kMDItemKind = "Application" kMDItemLogicalSize = 82 kMDItemPhysicalSize = 4096 ----------------------------------------------------------- Check file is in search scope... โœ… File exists within Alfred's default search scope ----------------------------------------------------------- โœ… Troubleshooting passed
  16. I'm on Ventura 13.0 + Alfred Alfred 5.0.4 Pre-release Build 2090 I have the standard built in "Google Suggest" workflow with "g" being the keyword trigger. I never had any other items show up in the past, until today. Now there's a weird file that's part of an old Linux system that I backed up years ago showing up when I type "g". See below. I'm not sure what's suddenly causing this lone result to appear for this keyword, but I'd love to troubleshoot why it's popping up here and see if there's a way to eliminate it. And here are my Features โ†’ Default Results prefs:
  17. In case this is happening to anyone else who happens to be using that workflow, @blacs30 just released v2.4.6 which fixes this issue. Case closed!
  18. I'm sorry to throw more cold water on the idea @octothorpe but I very much agree with what Vero said about iCloud. It's just so unreliable. I am extremely glad I don't have to worry about losing important data, workflow changes, prefs etc because of Apple's incompetence when it comes to cloud sync. I'm syncing my Alfred settings with Syncthing and it's a joy. I have some apps that sync with iCloud (the one that comes to mind is Drafts.app) and I'm constantly babysitting them- resetting them when the sync breaks, dealing with old data from the wrong device overwriting newer data, duplicated data showing up, or things I deleted suddenly re-appearing. It's a disaster and I'm so glad I don't have to put up with it for something as near and dear as Alfred. I hope Apple gets their sh^t together one day with iCloud, but until thenโ€”hard pass.
  19. Good sleuthing guys! You were right, it's a background task that's causing this, part of the Bitwarden v2 workflow (as I suspected). I filed a bugreport over on the GitHub. Whew! Good to know this isn't some crazy edge case that only happens to me (which is usually the case)
  20. Thanks for the tips @Andrew and @vitor I think it could be related to this workflow: https://github.com/blacs30/bitwarden-alfred-workflow It has a background task (that I wrote) as a launchagent to keep bitwarden secrets synced. I think maybe somehow things are going off the rails once in a while and it's popping up Alfred's window (empty). I'll see if I can enable some debug logging in that agent to see if the timing correlates. A for my Focusing option, I have it set to "Standard Mode" ๐Ÿ™‚
  21. Just adding another data point @Andrew I updated to Build 2085 [RC1] today. And then went out for a few hours. When I came back and unlocked my Mac, I saw Alfred's window popped open (empty) on my screen. I decided to play around a bit and made a screen recording. Not that it shows anything very revealing but at least you'll see what I am facing and know that I am not making it up ๐Ÿ™‚ video: https://gist.github.com/luckman212/99ea272429f13906c9cef0beb21771c1?permalink_comment_id=4324431#gistcomment-4324431
  22. @Andrew Not that I can think of. And, it's doing this on 2 separate Macs - 1 MacBook Air and 1 Mac Mini M1. I'll keep looking for clues, but just wanted to mention here in case others are having the same issue.
  23. macOS 12.6 - I've been noticing that Alfred seems to pop up even when I didn't call on him lately. This started 2 or 3 beta builds ago, in the 20xx range. The first 2 times this happened to me I brushed it off as a fluke or maybe I tapped Alfred's hotkey by mistake (I use F11) However, it proceeded to keep happening at random times. All of a sudden, Alfred's search bar would just pop up there in front of whatever I was doing. In fact, when I woke up this morning, when I looked over at the computer, there it was again- having popped up in the middle of the night when nobody was at the keyboard. I don't have a cat (before you ask if maybe he sat on my keyboard ) I've been using Alfred for years, never had this sort of thing happen. I haven't changed hardware or software recently, other than updating to these latest betas of Alfred.
  24. Or change your SELECT / DELETE statements to reference rowid instead, which afaik will always be unique even if the timestamp on >1 clip is identical.
×
×
  • Create New...