Jump to content


  • Content Count

  • Joined

  • Last visited

  • Days Won


raguay.customct last won the day on March 12 2018

raguay.customct had the most liked content!

About raguay.customct

  • Rank
    Advanced Member

Contact Methods

  • Twitter
  • Website URL

Profile Information

  • Location
    Tak, Thailand
  • Interests
    preaching, programming, tatting, crocheting, and knitting!

Recent Profile Visitors

3,093 profile views
  1. It might take a while since I have around 80 workflows on my system.
  2. @Acidham That does work. It would be nice to collect the list of malformed workflows and show it to the user or a way to access it. That way I'll know which ones need to be fixed.
  3. I can't get it to work on my system. It is showing this: [09:59:26.904] ERROR: Search Alfred Workflows[Script Filter] Code 1: Traceback (most recent call last): File "/Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.AE1D5FC6-3500-4FA7-8FE2-002FE5D04553/alf.py", line 102, in <module> Workflows = Workflows() File "/Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.AE1D5FC6-3500-4FA7-8FE2-002FE5D04553/Workflows.py", line 23, in __init__ self.workflows = self._get_workflows_list() File "/Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.AE1D5FC6-3500-4FA7-8FE2-002FE5D04553/Workflows.py", line 109, in _get_workflows_list i = self.get_item(w) File "/Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.AE1D5FC6-3500-4FA7-8FE2-002FE5D04553/Workflows.py", line 74, in get_item plist_info = self._get_plist_info(plist_path) File "/Users/raguay/Dropbox (Personal)/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.AE1D5FC6-3500-4FA7-8FE2-002FE5D04553/Workflows.py", line 45, in _get_plist_info return readPlist(plist_path) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 78, in readPlist rootObject = p.parse(pathOrFile) File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/plistlib.py", line 406, in parse parser.ParseFile(fileobj) xml.parsers.expat.ExpatError: not well-formed (invalid token): line 832, column 12 I'm not a python guru, so I'm not completely sure why it's dying. My workflows are in a sync directory in Dropbox. That might be causing some of the problem?
  4. Hi @jlb, Welcome to the great world of Alfred! My Alfred page on my website at the bottom lists all the tutorials I've written on writing Alfred 2 and 3 workflows: http://www.customct.com/projects/alfred/ That information is still valid and usable. I do need to write more on the version 4 changes, but tutsplus.com isn't doing tutorials like that anymore. My site gets so little traffic that it's not really relevant. But, if you like to read, it has some good information. My best advice: find a workflow that you are interested in on the Workflow section of the forums. Then, take it apart in Alfred preferences and see how it works. The best way to learn is by experimentation, which is so fun!
  5. Assuming they want to keep certification as a UNIX standard system. I hope they do, but it's hard to say. If they eventual merge all the platforms, UNIX certification will be lost then as well.
  6. If they were going to keep it, why remove it to a quarantine location? Really, this is all speculation. It will be interesting to see where it all goes. But, if they ever merge iOS with iPadOS and macOS, this would be a good starting place. Get everyone used to not having the root directories. `/usr/local` is a linux/Unix convention. macOS doesn't have to keep it.
  7. > During upgrades to macOS 10.15, files and folders stored at the root-level of a volume are moved aside to /Library/SystemMigration/History/Migration-UUID/QuarantineRoot/. (45378791) Since it is being moved away, it doesn't say it will re-create it. Most likely, all root access will be completely cut off, which makes sense in light of their goal of tighter security. Anything in a Quarantine location can not be executed. Nothing says the user will be able to get to this area either. Therefore, we will have to wait and see if it completely blocks all installations outside of the Applications folder and the home directory, but I would assume that is their intention.
  8. I think it would be best to have the option to install runtimes by Alfred. For hard-core users, they will already have a runtime for most of their favorite scripting languages and they could just point Alfred to them. But, the change also means that homebrew will need a major change. No more `/usr/local` directory usability! The user will have to keep everything in their home directory. Unless I miss read the post, which is very likely.
  9. It should be an option on the Power Pack page of the Preferences program so that we can really use it as a tip jar at any time!
  10. Try using "/usr/bin/qlmanage -p myfile.ext" in your script. If that works, you don't have the proper PATH variable setup on your system. Either use the full path to the qlmanage program or add to the environment variables for your workflow a PATH equal to "/usr/bin:/usr/local/bin". That should fix that. Alfred runs a simple shell environment that doesn't load in the ~/.bashrc file. By using the full path to the program, you will be able to ensure that you are getting the command.
  11. You can use my workflow ScratchPad (https://github.com/raguay/MyAlfred/blob/master/Alfred 3/ScratchPad.alfredworkflow). It will copy the clipboard to the Alfred prompt, you can edit it and hit enter to save it back to the clipboard. Very useful for me. Give it a try.
  12. CopyClips was a part of my Quiver Workflow. I decided to move it out so that others could use it also without having the Quiver items. This workflow allows you to create an infinite number of named clipboards to store text into (depending upon disk space). The workflow has a hotkey or copy and paste to a named clipboard which is then stored as a file in the Data directory for the workflow. The command copyclips allows you to view the different copy clips stored and delete any that you do not want. I use this workflow every single day and is very convenient. You can download it here: https://github.com/raguay/MyAlfred/blob/master/Alfred 3/CopyClips.alfredworkflow Added: 02/23/2019
  13. Hi @fncll, Just updated the workflow on GitHub: https://github.com/raguay/MyAlfred/blob/master/Alfred 3/TextSoapCleaners.alfredworkflow It's now future proofed for Alfred and TextSoap. Just set the TextSoap application name in the environment variables and the scripts will call the right application. I changed all the AppleScripts to JXA (JavaScript for Automation). Seems to be working for me. Let me know.
  14. I've had it updated since Alfred 3.0 came out. Sorry, I haven't updated the link. It is now updated and you can get the latest version from the GitHub account: https://github.com/raguay/MyAlfred/blob/master/Alfred 3/TextSoapCleaners.alfredworkflow All of my workflows in this branch work great and I use them a lot.
  15. This workflow is designed to work with the NotePad script for TextBar. NotePad is a group of nine notepads that sit in your menubar. You can tuck information away, run scripts on the text, or regular expression edits. There are around 37 pre-made scripts for editing your notes. You can create and add your own scripts as well. The topmost actions require you to set the noteID variable to the right. It can be 1 through 9 to represent the note that the text will be appended/written to. The actions will append or overwrite depending on the status of the append variable to the right. If set to 'a', it will append. If set to 'w', it will over-right the text. The last group of actions is for pasting a note to the topmost application. You can either give a number for the note or just paste the note that corresponds to the noteID parameter for the workflow. Download: https://github.com/raguay/MyAlfred/blob/master/Alfred 3/NotePadWorkflow.alfredworkflow
  • Create New...