Jump to content

raguay.customct

Member
  • Content Count

    663
  • Joined

  • Last visited

  • Days Won

    10

Everything posted by raguay.customct

  1. Okay, that is suppose to go to My Editor Workflow to call the editor I am using to edit the configuration file. Now, the alf command doesn't show a bad workflow. I had forgotten that I had changed the name of the workflow and I haven't needed to edit those files recently. But, why would calling a workflow that has been renamed as a XML parse error?
  2. Yes, Alfred has full disk access. I figure this might be an interaction with Alfred, Catalina, and Dropbox since all of my workflows are stored there. Does your system share on Dropbox?
  3. That's what I thought too. Not sure what is happening.
  4. Update: My normal login on Catalina, which is a Mojava login migrated to Catalina, will not allow me to update plugins. It puts a red message at the top saying it can't move to... Not enough room for the full message, but I assume it means the trashcan. Since it is a Dropbox synced account (the test account isn't synced to dropbox), I was able to update it on my main system which is on the Mojava system. Looks like permissions in the home directory has changed in this new version as well. Installing new workflows does work. It might be something to keep an eye on.
  5. Sorry, I seamed to have missed this. It's my Pollen workflow. You can download it from my workflows repository on GitHub: https://github.com/raguay/MyAlfred The workflow loads and runs fine. I've removed it and re-installed it and your workflow still says it's in error. Not sure how to fix it other than recreating it.
  6. Oh, I know. I just wanted you to know to keep an eye on it. It just seems weird that a requester for password happens on one account and not the other. I wasn't sure if Alfred requests it or the OS is suppose to automatically.
  7. A different login, it updated fine. It asked for my password and installed. My original login, it never asked for my password and said it couldn't install. For some reason, on my normal account that came from Mojave, it didn't ask for a password.
  8. Well, every folder and file in that directory has me as the owner and staff as the group, which is standard for macos. Therefore, I'm not sure why it's having an issue.
  9. I just installed the Catalina Public beta on my test system. When Alfred needed to update this morning, I get this message: Alfred was unable to copy Alfred Assistant into Alfred's Application Support area. This is almost certainly due to a permissions issue. As such, this action has been cancelled. As such, I can't update this current version. Is there a work around? What directory location would this be referring too?
  10. I've updated all of my workflows on https://github.com/raguay/MyAlfred. There are 69 workflows that I've created and use regularly (most of them). If you have any questions or problems, feel free to let me know. Since all of these were created with a need that I had, they might not all work for what you need. But, play around with them and experiment and you will learn a lot! No, I will not be updating each of my individual listings in the Alfred forum or in Packal.org. That is just too large of a job for no benefit. Just get them from my GitHub account. The Alfred 2 and 3 versions are still there in their own directories. Since I don't have Alfred 2 or 3 installed anymore, I will not be updating them. Richard Guay
  11. It might take a while since I have around 80 workflows on my system.
  12. @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.
  13. 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?
  14. 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!
  15. 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.
  16. 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.
  17. > 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.
  18. 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.
  19. 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!
  20. 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.
  21. 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.
  22. 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
  23. 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.
  24. 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.
  25. 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...