Jump to content


  • Posts

  • Joined

  • Last visited

  • Days Won


Everything posted by raguay.customct

  1. It sounds like you have the "Argument" set to "OS Selection" on your hotkey and you do not have the hotkey box connected to the "Launch Apps/Files". Or, you have the action in the hotkey to "Show Alfred". If the action isn't "Pass through" then the next block will not be triggered.
  2. Have your hot key box feed directly to a script box. You do not have to go through a input box if you do not want to edit the input first. I have a test workflow just like that you can download here: https://db.tt/m1VslfOW
  3. I just updated the workflow to work with TextSoap 8. If you haven't upgraded to this version, you should. It runs much faster and lots of bug fixes. The workflow currently only works with version 8. If you haven't upgraded, then just use the older version. I haven't added any other features.
  4. Yep. I keep forgetting which one Alfred uses: directory or zip. It does get confusing. Therefore, just zip the file alone and rename with the ".alfredworkflow". Then it should work. Sorry, my net has been down for a while and I could not reply sooner.
  5. Just create a directory with just the info.plist file that you found in it. then add the ".alfredworkflow" to the directory name. When you double click on it, it will automatically be loaded into Alfred. In OS X, a directory with a specialize extension is not treated like a directory, but like a data file for a particular program to load. Alfred registers any directory with the extension ".alfredworkflow" as a data file that Alfred can load. Alfred then copies the directory to a directory of all workflows. You can then use it freely.
  6. Just you system. I give me this: Starting debug for 'Unicode Characters' [ERROR: alfred.workflow.input.scriptfilter] Code 1: 09:27:57 workflow.py:1972 DEBUG Workflow version : 0.1.0 09:27:57 workflow.py:1646 DEBUG Cached data saved at : /Users/raguay/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-unicode/last-query.cpickle 09:27:57 characters.py:117 DEBUG 50 results for `s` 09:27:57 characters.py:231 INFO 50 results for `s` in 0.072 seconds 09:27:57 workflow.py:1387 DEBUG Reading settings from `/Users/raguay/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-unicode/settings.json` ... 09:27:57 icons.py:37 DEBUG Generating 50 icons... 09:27:57 icons.py:51 DEBUG cmd : ['/Volumes/Users/daj/Library/Developer/Xcode/DerivedData/IconGenerationHelper-bbowvswngqbbjugdvgdqtwpjvgdp/Build/Products/Debug/IconGen', '--outputdir', '/Users/raguay/Library/Application Support/Alfred 2/Workflow Data/net.deanishe.alfred-unicode/icons', '--font', 'ArialUnicodeMS', '--size', '256', '--logfile', '/Users/raguay/Library/Caches/com.runningwithcrayons.Alfred-2/Workflow Data/net.deanishe.alfred-unicode/net.deanishe.alfred-unicode.log'] 09:27:57 workflow.py:1990 ERROR [Errno 2] No such file or directory Traceback (most recent call last): File "/Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.163952ED-A8FB-4341-B0E6-6FD9CA0F65AC/workflow/workflow.py", line 1983, in run func(self) File "characters.py", line 252, in main size=wf.settings.get('size')) File "/Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.163952ED-A8FB-4341-B0E6-6FD9CA0F65AC/icons.py", line 55, in generate_icons stdout=subprocess.PIPE, File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 710, in __init__ errread, errwrite) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/subprocess.py", line 1335, in _execute_child raise child_exception OSError: [Errno 2] No such file or directory 09:27:57 workflow.py:2008 DEBUG Workflow finished in 0.123 seconds. [iNFO: alfred.workflow.input.scriptfilter] <?xml version="1.0" encoding="utf-8"?> <items><item valid="no"><title>Error in workflow 'net.deanishe.alfred-unicode'</title><subtitle>[Errno 2] No such file or directory</subtitle><icon>/System/Library/CoreServices/CoreTypes.bundle/Contents/Resources/AlertStopIcon.icns</icon></item></items>
  7. Didn't catch that. Then use: http://www.packal.org/workflow/alfred-browser-toolbox One of the action is to copy the files contents to the clipboard. It's the "Copy File Contents to Pasteboard".
  8. Try out my Alfred Workflow for doing that: http://www.packal.org/workflow/copymove This allows you to create a list of directories to copy/move files into. You just invoke either the copy file or move file file action in the Alfred Browser. I use it all the time.
  9. I have been having problems with too many open files on my system. To monitor it, I created this workflow to use the lsof command line to see what process is opening the most files. Keywords: tof:set This keyword expects a number for the number of entries to be shown. tof:top This shows the top processes that have open files. The number shown is controlled by the "tof:set" keyword. tof:number This keyword shows the total number of open files on your system. Packal: http://www.packal.org/workflow/top-number-open-files-workflow GitHub: https://github.com/raguay/MyAlfred Version: 1.0 Date: 01/05/2016
  10. I just updated this workflow to work with the latest version of iTerm and Commander One. Enjoy.
  11. I just updated this workflow for the latest version of iTerm and Commander One interfacing. Give it a try!
  12. This workflow will allow you to open the current file in Finder, Path Finder, or Commander One in Emacs. This workflow makes use of the emacsclient command. File Actions Edit in Emacs (Current Window) and Edit in Emacs (New Window) will open the file in the Alfred Browser in Emacs. Keywords: em:open This will open the currently selected file in Finder, Path Finder, or Commander One in the currently running Emacs. em:top This brings the Emacs window to the top. File Filter: em:fopen and em:fopennew will give a list of files that match the name typed by the user. The selected file is then opened in Emacs. GitHub: https://github.com/raguay/MyAlfred Packal: http://www.packal.org/workflow/emacs-workflow Version: 1.0 Date: 01/05/2016
  13. Done and submitted to Packal and my GitHub account. Version 1.1. Have fun!
  14. Strange. It is showing 1.6 for me and downloads okay. You might have a stuck cache in your browser. Clear browser cache, close the browser, and re-open and see if it shows the right thing.
  15. The Packal link is now available! They are adding scripting to the program in a future release. So, expect more addition then!
  16. Quiver Workflow This workflow allows you to create templates with Handlebar syntax inside of the Quiver program. To use the workflow, you have to have Node.js installed first. I recommend using [Homebrew](http://brew.io) to install it. You need to make sure you have Node.js 6.0+ on your system. As of this update, I am using node.js 6.6. With the node program installed, set the environment variable nodeProg to the right to the directory path of the program. If you used HomeBrew, it should be "/usr/local/bin/node". Once Node.js is installed, go to your Quiver Library file in Alfred Browser and select the “Set Quiver Library” file action. This tells the workflow where your templates (or snippets) are to be kept. Create a workbook called “Snippets” with one note called Defaults. The Defaults note has to have one code block set to JSON and the defaults for the Handlebar expansions set. The rest of the notes will be templates. When you run “qt”, it will list all of your snippet in the Snippets notebook. When you select one, it will be expanded with any json cell the note and the Defaults json note data. There are several special helper function for Handlebars defined. They are: {{userfillin <text>}} The user will be asked for the value of the text to be inserted at that point in the snippet. This gives a way to add text to a snippet upon expansion. {{clip <num>}} This command will get the specified clipboard entry and put it in it's place. The <num> starts at 0 for the previous clipboard. The environment variable clipHist defined to the right will determine how far back in history of the clipboard will be retrieved. The larger the number, the slower the program is running. {{env <variable name>}} This command will get the environment varable specified and put it in it's place. Therefore, the macro {{env "alfred_workflow_data"}} will put the contents of the alfred_workflow_data environment variable in it's place. {{save <name> <text>}} This command creates a helper named “<name>” with the expanding text of “<text>”. It also places the given “<text>” at the point of definition. This allows you to create text snippets on the fly inside the template. Very handy. {{clipboard}} This helper command places the current clipboard contents at the point in the template. {{date <format>}} This will format the current date and time as per the format string given. See the help document that is loaded upon initialization. {{date <date/time> <format>}} This takes the date/time string and formats it according to the format given. See the help document that is loaded upon initialization. {{copyclip <num>}} Inserts the copyclip <num> into the location of the macro. The following data expansions are defined as well: {{cDateMDY}} gives the current date in Month Day, 4-digit year format {{cDateDMY}} gives the current date in Day Month 4-digit Year format {{cDateDOWDMY}} gives the current date in Day of Week, Day Month 4-digit year format {{cDateDOWMDY}} gives the current date in Day of Week Month Day, 4-digit year format {{cDay}} gives the current date in Day format {{cMonth}} gives the current date in Month format {{cYear}} gives the current date in 4-digit year format {{cMonthShort}} gives the current date in Short Month name format {{cYearShort}} gives the current date in 2-digit year format {{cDOW}} gives the current date in Day of Week format {{cMDthYShort}} gives the current date in Month day 2-digit year format {{cMDthY}} gives the current date in Month Day 4-digit year format {{cHMSampm}} gives the current date in h:mm:ss a format {{cHMampm}} gives the current date in h:mm a format {{cHMS24}} gives the current date in H:mm:ss 24 hour format {{cHM24}} gives the current date in H:mm 24 hour format You can also specify an area to split up the expansion using the "%|% character. If the "%|" characters are in a clip, the first part is pasted directly while all the other parts are put into copy clips starting at 1. You can then paste each part by pasting the corresponding copy clip. This workflow has the feature to save and paste copy clips: clips of text. You assign each clip a name (ie: 1, 2, a, b, life, etc) when you save it. It is kept until you save on top of it again. You copy and paste using a hotkey (I use ctrl-c and ctrl-v). Version: 3.0 Date: 07/04/2017 Packal: http://www.packal.org/workflow/quiver-workflow Github: https://github.com/raguay/MyAlfred
  17. When using a keyword action, just paste it in after the keyword with cmd-v. How is what you are suggesting any different?
  18. Yes. I am having connection problems with GitHub (I live in Thailand). The Packal one is now showing version 1.6 and is downloading okay. Trying GitHub again through a VPN. Hopefully I can get it there soon.
  19. Packal might not have it synchronized yet. Sorry, it is 1.6 and is now visible on Packal.
  20. Just updated my GitHub and Packal with the latest version adding: New Actions: Copy/Move to Parent Directory These two actions will copy/move the selected file to the parent directory. Copy File Contents to Pasteboard This action will copy the contents of the file to the pasteboard. New commands with hotkeys: ab:cparent This command will get the currently selected file in Finder, Path Finder, or Commander One and copy it to the parent directory. Works on files or directories. ab:mparent This command will get the currently selected file in Finder, Path Finder, or Commander One and move it to the parent directory. Works on files or directories. ab:cfile This command will copy the contents of the file to the clipboard. You need to be sure it is a text file.
  21. Just updated the workflow with those actions.
  22. Or, save you Excel file as a list to a plain text file and use my Next Item Workflow (http://www.alfredforum.com/topic/1607-next-item-workflow/) to sequentually go through the items in the file. Putting items into a web form would be difficult, but can be automated with Shortcat (https://shortcatapp.com/) and Google Chrome with Accessability turned on.
  23. I think I have figured this out a little more. It happens in a fresh booted, low number of applications running as well. It happens with script filters and just keywords alike. Tab completion of the name of the keyword fails periodically, but it always works with a carriage return if an input is required (because otherwise it is just actioned). It is happening with new and old ones, but doesn't seem to have a reason that I can tell when it will work or not. I have now realized that I use carriage return more than tab for these and therefore noticed it more while I have been trying to track it down.
  24. Completion on keywords that do not accept an argument is broken for old workflows. But, if I change the settings and save the workflow item, then it always works fine. But, with over 80 workflows with many keywords defined, that would take me a long time to reset and re-save all of them. This is using version 2.8.1 (423).
  • Create New...