Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


evanfuchs last won the day on December 16 2018

evanfuchs had the most liked content!

About evanfuchs

  • Rank

Recent Profile Visitors

2,464 profile views
  1. Thanks for the quick fix! FYI: I first installed v.0.0.5 allowing it to update the previous version and that did not work. I uninstalled it, killed AlfredGifBrowser, installed again and it's good to go. In case that helps anyone else trying to update.
  2. Sure, sorry about that. The workflow is working as expected, but I am finding an unexpected issue the Clipboard History Viewer related to the workflow. The typical behavior after triggering the Clipboard History Viewer (for example, using the keyword clipboard), is that RETURN will paste the selected item into the foreground app, while COMMAND-C will copy that item back to the clipboard so you can paste it elsewhere without automatically pasting into the foreground app. After installing and running this workflow, COMMAND-C puts /Users/<username>/Library/Caches/com
  3. I've run into an issue with the Clipboard History Viewer. If I hit Return on an item in the viewer, the item is pasted into the foreground app as expected. However, if I Command-C an item in the viewer (to avoid pasting it), rather than copying the item back to the clipboard, it copies "/Users/<username>/Library/Caches/com.runningwithcrayons.Alfred/Workflow Data/mr.pennyworth.gif/selected.gif" Disabling the workflow has no effect, but killall AlfredGifBrowser restores the expected behavior until I run the workflow again.
  4. That's perfect. Thank you. I didn't know that's how you pass the argument 😬 I had also tried changing the script filter to "with input as query" and passing the file name in the Alfred window, but I got an error either way. This was super helpful. Thanks
  5. Can't tell you how many times I tried this. At one point I got the thesaurus partially imported with a bunch of errors, then I tried to manually complete it in the workflow, until I ran up again the db entries. I deleted everything and tried once more, then it installed. As I mentioned earlier, I only had one dictionary (New Oxford American Dictionary) in the "default" folder: Terminology (Did not import this) here: /Users/<username>/Library/Dictionaries/ And this might be helpful. I found the Thesaurus and other dictionaries here: /System/Library/A
  6. Thanks @dfay - I did try that, and I get another error. I cant post this as code so here is a screenshot of the debugger. I am running the the script filter with a space followed by the file name like this: Fuzzy List Filter list.csv Is that correct?
  7. That makes sense. When I change theFile = "list.csv" to theFile = sys.argv[1] I get an error NameError: name 'sys' is not defined whenever I try to provide any argument. As I said, I don't know what I am doing but I am trying
  8. I know this can be done by iterating through multiple csv files in the original script, but I don't know how to do that. Trying to help myself and anyone who might stumble across this, this works: Add another csv file (list2.csv) to the workflow directory Duplicate fuzzylist.py (fuzzylist2.py), and change the following line: Change theFile="list.csv" to theFile="list2.csv" Duplicate the Script Filter Object and change the reference to fuzzylist.py to fuzzylist2.py in its script.
  9. Odd. I have several Dictionaries (Thesaurus, Wikipedia, Terminology) enabled as shown in Dictionary.app Preferences, which work fine in the app, but there is only the one in '/System/Library/AssetsV2/com_apple_MobileAsset_DictionaryServices_dictionaryOSX/' The "Open Dictionaries Folder" under File menu takes me to /Users/xxx/Library/Dictionaries/, where I have Terminology. Anyway I feel like I've taken a lot of your time! Thanks for getting me going and for sharing the workflow.
  10. Yep. Changed the theme. All good. On another note, as I mentioned earlier, the only had one dictionary option. Should I have seen others, including thesaurus? Thanks!
  11. Yes. Thanks for sticking with me. I had started over so I ran the first import command to tmp, then run it again with '/Users/<your username here>/Library/Application Support/Alfred/Workflow Data/mr.pennyworth.betterDicts' I ended up with two keys. Removed one of them and I can get to the lookup, but it's botched: Oh this is what I ran with my username: killall alfred-dict-server; killall BetterDict; ./BetterDict.app/Contents/MacOS/BetterDict import '/System/Library/AssetsV2/com_apple_MobileAsset_DictionaryServices_dictionaryOSX/4094df88727a
  12. Not sure if I followed you correctly, but I tried that (with the correct username) and: No matching processes belonging to you were found Traceback (most recent call last): File "/Users/xxx/Dropbox/applications/Alfred-app/Alfred.alfredpreferences/workflows/user.workflow.E0E103F2-208F-48F7-B4DF-C096F6FDD948/BetterDict.app/Contents/Resources/__boot__.py", line 411, in <module> _run() File "/Users/xxx/Dropbox/applications/Alfred-app/Alfred.alfredpreferences/workflows/user.workflow.E0E103F2-208F-48F7-B4DF-C096F6FDD948/BetterDict.app/Contents/Resources/__boot__.py", line 39
  13. @Mr Pennyworth After running that command: No matching processes belonging to you were found No matching processes belonging to you were found UpdateRecents: about to call HIS_XPC_GetApplicationPolicyForURLs with seed 4111266682 UpdateRecents: received results from HIS_XPC_GetApplicationPolicyForURLs UpdateRecents: ignoring results because menu isn't open UpdateRecents: about to call HIS_XPC_GetApplicationPolicyForURLs with seed 4111266682 UpdateRecents: received results from HIS_XPC_GetApplicationPolicyForURLs UpdateRecents: ignoring results because menu isn't open UpdateRecents: a
  14. I installed v1.2, ran .setup-better-dictionaries, granted permission in Accessibility to AlfredExtraPane.app, then ran .dict-import. I had choice of only one dictionary: I selected that dictionary and it began installing html files until: I open Console and installation continued for a few seconds until: Fans blazing for awhile. Hotkeys did not appear in the workflow and running lookup shows: [04:48:54.140] Logging Started... [04:48:55.420] Better Dictionaries[Script Filter] Queuing argument '(null)' [04:48:55.432] Better Dic
  15. This has been really helpful for me with a workflow I've been running several times a day for a couple years. Thank you! I duplicated the entire workflow for an another application, but how I would go about having multiple lists within the single workflow, each with their own their own trigger? I understand list.json is generated from list.csv, so I imagine the solution would be creating another json from a different csv, but I dont know anything about python. Any help would be appreciated
  • Create New...