Jump to content

raguay.customct

Member
  • Posts

    756
  • Joined

  • Last visited

  • Days Won

    12

Everything posted by raguay.customct

  1. Yep. It produces this: [14:53:48.269] Logging Started... [14:53:53.175] Obsidian Thought Capture[Keyword] Processing complete [14:53:53.189] Obsidian Thought Capture[Keyword] Passing output 'help' to Arg and Vars [14:53:53.190] Obsidian Thought Capture[Arg and Vars] Processing complete [14:53:53.191] Obsidian Thought Capture[Arg and Vars] Passing output '' to Run Script [14:53:53.192] Obsidian Thought Capture[Arg and Vars] Passing output '' to Debug [14:53:53.193] Obsidian Thought Capture[Debug] '', { config_obsidian_vault = "/Users/raguay/Library/CloudStorage/Dropbox-Personal/Richard/Notes/TheArchive/daily/%Y/%m/note_%d" daily_note_format = "%Y-%m-%d" input_append = "message" message = "help" note_header = "## Todo" open_after_appending = "0" } [14:53:53.239] ERROR: Obsidian Thought Capture[Run Script] Traceback (most recent call last): File "/Users/raguay/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/EAF6480F-FD95-4C71-B702-258326BAD850", line 29, in <module> create_daily_note(vault) File "/Users/raguay/Library/CloudStorage/Dropbox-Personal/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.775A24A9-363A-43C5-B47B-BF3020C71437/scripts/utils.py", line 58, in create_daily_note template_location = get_daily_template(vault_path) File "/Users/raguay/Library/CloudStorage/Dropbox-Personal/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.775A24A9-363A-43C5-B47B-BF3020C71437/scripts/utils.py", line 77, in get_daily_template sys.stderr.write( TypeError: TextIOWrapper.write() takes no keyword arguments
  2. Hi, I just installed it and it created the note fine in the main vault, but I would like to have them in the "daily" folder that I use for daily notes. It would be nice to have a field for specifying the daily notes folder. I have over 200 notes and finding the daily one in that list isn't easy.
  3. Just installed it and it still crashes on me. At first, I didn't have the template file "Templater/Daily". It gave this error: [16:26:59.170] ERROR: Obsidian Idea Capture[Run Script] Traceback (most recent call last): File "/Users/raguay/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/C448380C-2638-4567-A154-B6475936DC3D", line 28, in <module> create_daily_note(vault) File "/Users/raguay/Library/CloudStorage/Dropbox-Personal/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.775A24A9-363A-43C5-B47B-BF3020C71437/scripts/utils.py", line 47, in create_daily_note with open(template_location, 'r') as f: FileNotFoundError: [Errno 2] No such file or directory: '/Users/raguay/Library/CloudStorage/Dropbox-Personal/Richard/Notes/TheArchive/Templater/Daily' I created the file in the Templater directory and it still errored because my file has the ".md" on the end. Without the ".md", Obsidian will not open it. I then removed the ".md" from the file name and tried again. It gave this error: File "/Users/raguay/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/2DD9295A-D75E-49A4-AF33-E814D8F90255", line 31, in <module> append_to_daily_vault(vault, header, content) File "/Users/raguay/Library/CloudStorage/Dropbox-Personal/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.775A24A9-363A-43C5-B47B-BF3020C71437/scripts/utils.py", line 144, in append_to_daily_vault new_text = insert_text(vault_path, header, message) File "/Users/raguay/Library/CloudStorage/Dropbox-Personal/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.775A24A9-363A-43C5-B47B-BF3020C71437/scripts/utils.py", line 104, in insert_text raise ValueError(f"Could not find header `{header}`") ValueError: Could not find header `## Todo` Which that header was in my file. Therefore, the regular expression you are using isn't finding it for some reason. It didn't save anything in my "daily" directory. I had a good Christmas with my kids that live in Thailand, but still missing those in the US. It's hard having family in different countries!
  4. I answered inside of you questions. I use a folder hierarchy for organization of indexes, but most of the actual files are all on the top level. That directory is inside of Dropbox for syncing to my iPad and iPhone as well. I just noticed I had one file miss named....got to fix that one. I'm glad to help anyway you need it. This month is very busy with Christmas activities (I'm a missionary that does freelance programming). But I can test things you need tested. The biggest issue is that the workflow assumes everything is a file. The "Dendron style of hierarchy management" is the same as how S3 storage works, but the S3 system still allows access just like a normal file/folder system.
  5. I followed the directions, but I get this error: [12:51:51.073] ERROR: Obsidian Idea Capture[Run Script] Traceback (most recent call last): File "/Users/raguay/Library/Caches/com.runningwithcrayons.Alfred/Workflow Scripts/BBE171A4-F77A-4545-8645-1C3CD7CB669B", line 28, in <module> create_daily_note(vault) File "/Users/raguay/Library/CloudStorage/Dropbox-Personal/Richard/rag/Alfred/Sync/Alfred.alfredpreferences/workflows/user.workflow.775A24A9-363A-43C5-B47B-BF3020C71437/scripts/utils.py", line 26, in create_daily_note with open(template_location, 'r') as f: IsADirectoryError: [Errno 21] Is a directory: '/Users/raguay/Library/CloudStorage/Dropbox-Personal/Richard/Notes/TheArchive/'
  6. I'm having this issue with several application on Ventura. I think it's the OS constantly forgetting the permissions.
  7. Make sure the 'textsoapApp' variable is set to the proper name of your TextSoap agent program. For me, it is set to "textsoapAgent.app". I have the SetApp version of TextSoap 9. Other versions use different names. If this variable is set wrong, then none of the workflow will work.
  8. If you download the new version for Alfred 5: https://github.com/raguay/MyAlfred/blob/master/Alfred 5/TextSoap Cleaners 9.alfredworkflow The topmost hotkey shows how you can make a hotkey for a particular cleaner. Just put the cleaner name in the "Text" parameter. Also, if you check the "paste" toggle, it will automatically paste into the top application.
  9. That doesn't seem to work for me. I have the SetApp version and it somehow is different. Still experimenting to find the issue.
  10. The latest version, 2.0.1, can now be link to the emailto protocal using the Lincastor program. Details in the README.md https://GitHub.com/raguay/EmailIt
  11. Version 2.0.0 of EmailIt is out now and starts on a new system just fine. Sorry if anyone had issues. The new release is: https://github.com/raguay/EmailIt/releases/tag/V2.0.0 This workflow works great with it. Give it a try!
  12. Version 2.0.0 is out now and starts on a new system just fine. Sorry if anyone had issues. The new release is: https://github.com/raguay/EmailIt/releases/tag/V2.0.0
  13. Create a new thread in this subforum, with the workflow’s name as the title. Done! Say if you’re the author or submitting someone else’s workflow. I'm the author of the EmailIt and BulletinBoard programs and this workflow. Share a link to its thread on the Alfred Forum, if available. Share a link to its main page (e.g. GitHub). I don't have a main page for the workflow, but for the programs are: BulletinBoard: https://github.com/raguay/BulletinBoard/releases/tag/V1.0.2 EmailIt: https://github.com/raguay/EmailIt/releases/tag/V2.0.0-RC1 The workflow is in the repository for EmailIt at: https://github.com/raguay/EmailIt/blob/main/Workflows/EmailIt.alfredworkflow If it has dependencies, say what those are unless they are explicit in the About or README. This workflow requires the EmailIt program is running on the computer. Provide screenshots, unless valid ones are in the About or README.
  14. With the release of EmailIt V2.0.0-RC1, this Alfred workflow that allows you to copy file/text to a notepad (ten notepad available), paste from notepad into topmost application, process selected text with a script, insert templates, show information to the user, and so much more. All of the programs are free to use, but they are unsigned binaries created with Wails 2.0. The workflow itself doesn't have any binaries inside. I use the program and this workflow everyday. It works great for me, but I would love to hear from others as well. Download EmailIt: https://github.com/raguay/EmailIt/releases/tag/V2.0.0-RC1 Download BulletinBoard: https://github.com/raguay/BulletinBoard/releases/tag/V1.0.2 Download the workflow: https://github.com/raguay/EmailIt/blob/main/Workflows/EmailIt.alfredworkflow
  15. Yes, those are the only two that uses a program to generate the proper output. I did have a script for it, but it ran really slow. Especially when you have a large number of windows like I do. Not many use this workflow. I’m glad you are finding it useful.
  16. Well, it was first done using Haskel for Mac IDE. But, since I’ve moved to a MacBook Pro M1 chip set that IDE doesn’t compile anymore. It was suppose to be a static build, but I never could get it to do it completely. I’ll work on a redo of that program for this workflow. Sorry for the inconvience.
  17. My favorite is [Hammerspoon](https://www.hammerspoon.org/) it takes a little work to use, but is highly configurable and free. Along my my [Hammerspoon Workflow](https://github.com/raguay/MyAlfred/blob/master/Alfred 4/Hammerspoon Workflow.alfredworkflow) makes using it easier.
  18. The first time it would, but after that Alfred sorts them by which one you use the most.
  19. Run the `tc:seteditor` command. Start typing the name of your editor you want to use. It should show it in the dropdown area. Select the editor you would like to use and then you can use the `tc:editlist` to edit the list of you most used cleaners.
  20. This shows where you set your hotkey in the workflow. You will have to scroll down to it.
  21. I’m sorry, you miss understood my last comment. You have to use the hotkey (you have to set it yourself in the workflow) in order to copy the selection into the cleaner. It will not show inside of the TextSoap program, but will be in your clipboard. `tc:full` and `tc:fulla` uses the text in the current system clipboard. You then select the cleaner. `tc:fulla` will then paste the result into the topmost application while `tc:full` leaves it in the system clipboard. A keyword in the Alfred Prompt isn’t able to acquire the current selection. Only a hotkey can do that. I don’t understand why your first inquiry shows tc:full showing your cleaners, but the latest picture doesn’t show any. Did you change something? In my config using TextSoap 9, the agents name is textsoapAgent.app. I don’t remember the other versions names were. It looks to me that you have it set to the TextSoap.app itself which will not work. You have to have it set to the name of your TextSoap Agent (which means it needs to be running on your system as well). You have to download it separately (See the Agent tab in the TextSoap configuration).
  22. Okay, it works. The `tc:clean` leaves the processed text in the clipboard so the user can select text to remove and paste it themselves. I use that a lot to first look at it in the clipboard before pasting. `tc:fulla` will paste it into the topmost application. This can be ran by a hotkey to take the current selection, process it, and paste it in the place of the selection. You will have to set the hotkey yourself. That is very handy for processing that we don’t have to inspect first. The debugger showed the text you were passing around. That is way it has a lot of data. Try it out on small data first to get used to the different triggers.
×
×
  • Create New...