Jump to content

Cassady

Member
  • Posts

    62
  • Joined

  • Last visited

  • Days Won

    2

Reputation Activity

  1. Like
    Cassady reacted to vitor in Screenshot to folder / tagger   
    When you have a problem with permissions like that, it’s likely that for some reason the file is missing the executable permissions. Which in turn is likely to happen if your sync solution screws those up. For example, the Maestral client for Dropbox can remove the execution bit of everything you sync because it uses the Dropbox API and that doesn’t expose that information.

    If you know how to chmod +x in a Terminal, you can do that. If you don’t, it’ll be easier to delete the workflow and redownload/reinstall because that’ll set everything as it was.
  2. Like
    Cassady reacted to vitor in I Sheet You Not: Plug Excel into Alfred   
    @Cassady Open a terminal and do xcode-select --install. A macOS dialog will guide you through the rest. It’s something that you had but the Ventura update broke.
  3. Like
    Cassady reacted to giovanni in I Sheet You Not: Plug Excel into Alfred   
    I migrated this to Python 3. @Cassady @pankajsz give it a try and let me know if you see anything out of place. 
     
    I have a question for @vitor: when a python script is an executable, it doesn't make sense to add the export PATH=/opt/homebrew/bin:/usr/local/bin:$PATH command to the script filter, correct?
     
    In that case, considering that the shebang in the executable is #!/usr/bin/python3, it will not work on brew-installed pythons? Is there a way to make it compatible, in other words an equivalent of export PATH=/opt/homebrew/bin:/usr/local/bin:$PATH for executables? 
  4. Like
    Cassady reacted to vitor in Where is Alfred clipboard history stored – possible to transfer to new machine?   
    It’s clipboard.alfdb, not clipboard.alfdb.data. The former is a SQLite database with the text contents of the clipboard; the latter is for image data and the like.
  5. Like
    Cassady reacted to dfay in Fuzzy, self-updating list filter workflow template (working in 12.3)   
    Here's a version of fuzzylist.py that works in Python 3:
    #!/usr/bin/env python3 # -*- coding: utf-8 -*- import csv import sys import json import os theFile=sys.argv[1] fieldnames=["title","subtitle","arg","iconfile"] json_filename = theFile.split(".")[0]+".json" def convert(csv_filename, json_filename, fieldnames): f=open(csv_filename, 'r') csv_reader = csv.DictReader(f,fieldnames) jsonf = open(json_filename,'w') jsonf.write('{"items":[') data="" for r in csv_reader: r['uid']=r['arg'] r['icon']={"path":r['iconfile']} data = data+json.dumps(r)+",\n" jsonf.write(data[:-2]) jsonf.write(']}') f.close() jsonf.close() if (not os.path.isfile(json_filename)) or (os.path.getmtime(theFile) > os.path.getmtime(json_filename)) : convert(theFile, json_filename, fieldnames) with open(json_filename, 'r') as fin: print(fin.read(), end="") and a link to an updated version of fuzzy.py:
    https://github.com/deanishe/alfred-fuzzy/issues/3
     
  6. Like
    Cassady reacted to vitor in I Sheet You Not: Plug Excel into Alfred   
    No, that would not work because Python 2 and 3 are different.
     
     
    Also no. The thread is for requests, there’s no point in reading it all. All you need is to follow the guide to reinstall Python 2 then install this updated version.
  7. Like
    Cassady got a reaction from joeynotjoe in I Sheet You Not: Plug Excel into Alfred   
    It was working like a charm on Alfred 4 over the past several months – until today. Finally updated to macOS Monterey last night, and that seems to have broken it. 

    Log throws out the following: 
    Code 126: /Users/goldfish/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/100A1AA1-3884-4F6B-92C9-6B59DE8CD8E9: ./isyn: /usr/bin/python: bad interpreter: No such file or directory  
    REALLY hope I can get this working again – this workflow is so powerful, and saves me so much time...
     
    [EDIT]: Ok. So, clearly I've been living under a rock. Did not realise that Python 2(.7?) was no longer part of macOS Monterey – and seemingly needs to replaced with Python 3 as the "new" default. And, assuming I understand things correctly, the above error log is simply saying that the /isyn workflow was trying to find usr/bin/python at its usual location – but now nothing is there, hence the error. 

    So I presumably have to "simply" install Python 3 in the /usr/bin/python directory, and all should go back to working as before?
    Which means –– I need to spend time working through this thread! Yay me! 
  8. Like
    Cassady reacted to deanishe in MailTo: Select multiple Contacts *and* Groups and compose in your favourite email app   
    Awesome. I've added the change to the official version, so the next update won't break your setup.
  9. Like
    Cassady got a reaction from deanishe in MailTo: Select multiple Contacts *and* Groups and compose in your favourite email app   
    Ok – many thanks – I think I will be able to make that change, but could you clarify where I would find the file in question?
     
    Running a search for "client_rules.json" brings up hits in my backups of "old" workflows, but nothing seemingly related to the current workflow?
    Could you kindly explain where I would begin to look?
     
    EDIT: Apologies, was being silly. Didn't realise I could right click on the workflow, to show in Finder. 
    Will tinker with it now, and see if I get it working. 
     
    EDIT: Solved. Thanks a bunch! 
     
  10. Thanks
    Cassady reacted to deanishe in MailTo: Select multiple Contacts *and* Groups and compose in your favourite email app   
    There's a configuration file called client_rules.json in the workflow.
     
    Change "names" from true to false on line 78 in the MS Outlook config.
  11. Like
    Cassady reacted to deanishe in MailTo: Select multiple Contacts *and* Groups and compose in your favourite email app   
    I can't help you if you can't give me something more concrete to work with than "not working".
  12. Thanks
    Cassady reacted to deanishe in I Sheet You Not: Plug Excel into Alfred   
    I Sheet You Not
     
    Create auto-updating workflows from Excel worksheets. Works like a List Filter but using an Excel file as the data source.
     

      I Sheet You Not is a workflow generator/template for Alfred 3. It reads data from an Excel workbook and displays them in Alfred. You can specify which rows and columns the data are read from, and changes to the data are picked up automatically by the workflow.   Download and installation   Download the workflow from Packal or  GitHub releases and double-click the downloaded I-Sheet-You-Not-X.X.X.alfredworkflow file to install in Alfred.   Usage   Use keyword isyn to create a new copy of the workflow. You can either create an empty copy or search for an Excel file to base the workflow on.   See the documentation for detailed usage/configuration instructions.   Source code   The source is hosted on GitHub.   Bugs and feature requests   Bugs and feature requests should ideally be submitted via GitHub issues, but asking in this thread is cool, too.
  13. Thanks
    Cassady reacted to giovanni in Alfred or Keyboard Maestro >> extract number from spreadsheet onto clipboard   
    you can import this list into a "list filter" object (which accepts a CSV input), set your client number as the argument, then link to a "Copy to Clipboard" output. or you can use @deanishe's I-sheet-you-not workflow 
  14. Like
    Cassady reacted to vitor in Bookends Tools — A curated toolset for Bookends reference manager   
    Yes.
     
     
    Every time it fires, it’ll check how long it was since the last check. If it has been longer than the defined number of days, it’ll check online to see if there’s a new version and reset the clock.
     
     
    It will download the new version in the background, but it will warn you with a notification. After it downloads the update it’ll prompt you to install, so you can accept or refuse. The downloaded Workflow will be in your Downloads directory.
  15. Like
    Cassady reacted to vitor in Bookends Tools — A curated toolset for Bookends reference manager   
    The settings on the .alfredworkflow of the latest release look correct, yes.
     
     
    You are not. You are pointing workflow_url at a webpage, not a file. The correct URL would be https://raw.githubusercontent.com/iandol/bookends-tools/master/bookends-tools.alfredworkflow.
  16. Like
    Cassady reacted to iandol in Bookends Tools — A curated toolset for Bookends reference manager   
    Haven't had a chance to play with it yet, but hopefully I'll get some time this week!!! ?
  17. Thanks
    Cassady got a reaction from iandol in Bookends Tools — A curated toolset for Bookends reference manager   
    This workflow is ridiculously helpful - thank you for all the time and effort put into creating (and updating) it. Makes the interaction between Bookends and Scrivener seamless.
  18. Like
    Cassady got a reaction from brunoc in DEVONthink Browser & File Action   
    Very useful - thank you for this workflow!
  19. Like
    Cassady reacted to deanishe in SmartFolders: Browse and search the contents of your Saved Searches   
    This is when re-saving the Smart Folder usually helps. It appears to be a general issue with Smart Folders, rather than the workflow.
     
    FWIW, there's a bug in Python on OS X that can randomly lead to many Python scripts failing. If you're having intermittent failures, especially if it's affecting other workflows, too, it's probably the Python issue.
  20. Like
    Cassady got a reaction from deanishe in MailTo: Select multiple Contacts *and* Groups and compose in your favourite email app   
    Wow - very well thought out! Many thanks for this workflow - sure to be a real time saver.  :thumbs up:
  21. Like
    Cassady got a reaction from smarg19 in Skimmer: PDF actions for Skim   
    Wow.
     
    How I wish I had found your workflow 5 years ago, BEFORE I tried to OCR double page scans!
     
    Thank you. It will prove invaluable going forward, and will save many hours of time!
  22. Like
    Cassady reacted to dfay in Alfred Workflow Forum RSS feed?   
    This would be great.  These forums are just about the only website I visit to check for updates rather than relying on RSS.
  23. Like
    Cassady got a reaction from dfay in Alfred Workflow Forum RSS feed?   
    Hello all,
    Apologies for this not being in the right forum – but not entirely sure where I could put it.
    Quick query – I monitor forums of my mainstream apps (Scrivener; Devonthink etc.) by using RSS clients.
    Is the same possible with the Alfred forum – specifically the Workflow subforum?
    Clicking on the RSS button at the bottom right, doesn't appear to pull much into Feedly/Leaf etc. (but I might be selecting the wrong feed option).
    If it's not supported – then so be it, just wanted to make sure I'm not missing something.
    Many thanks!
  24. Like
    Cassady reacted to rice.shawn in Workflows Help Workflow   
    Okay, so I have a very rough and temporary version to download if you want something on Yosemite for now: https://github.com/shawnrice/alfred2-workflow-help/raw/master/whw.alfredworkflow. It uses a different bundleid, so it's not going to officially "replace" the old one yet. I still have a lot of work to do on it, so, when it gets to a better state, then I'll update it on Packal and post again here.
     
    Right now, it only opens the help file in a browser window, and it doesn't cache anything. Some of the formatting is a tiny bit funky as well. I'll add in more options later.
     
    But, right now, you have a nice scrolling nav window on the left, and you also have a great "filter" search box up top. It displays hotkeys as well.
     
    I just wanted to push this draft code so that people can use it again.
     
    Oh, and the code is an absolute mess. Don't judge me on it.
  25. Like
    Cassady reacted to rice.shawn in Workflows Help Workflow   
    I think that you're right that Yosemite broke it. I just tried it on mine, and — lo and behold — it didn't work. I have been tinkering around with code (off and on) to update this thing, but I haven't been satisfied enough to finish any approach that I've taken. However, now that it's broken, fixing it has a bit more exigence. I have a few pressing deadlines in the next few days, but I'll try to fix it after that.
×
×
  • Create New...