raguay.customct Posted May 19, 2016 Author Share Posted May 19, 2016 In case anyone browses the forum to figure out why this workflow stopped working after upgrading to Alfred 3, just go through the workflow and update scripts as follows: [e.g., tell application] "Alfred 2" → "Alfred 3". @raguay.customct, this workflow is indeed the best. Thank you once again! It may be my imagination, but it seems that this workflow is even faster on Alfred 3. Fantastic! :-) It is faster on Alfred 3 because Alfred 3 is much faster, or as I said, snappier than Alfred 2. I have the workflow updated to Alfred 3, but they have asked us not to upload them to Packal and such until Alfred 3 is out of beta. Should be in a couple of weeks. cands 1 Link to comment
raguay.customct Posted May 23, 2016 Author Share Posted May 23, 2016 (edited) I'm working on uploading all my workflows udated to Alfred 3, but I have over 50 of them. So it is taking a little while. I'm also working on a tutorial for Tuts+ about Alfred 3. Stay tuned for it's publication. Edited May 23, 2016 by raguay.customct cands 1 Link to comment
fncll Posted December 7, 2018 Share Posted December 7, 2018 Any chance that you'll publish the updated Alfred 3 workflow? Thanks! Link to comment
raguay.customct Posted December 8, 2018 Author Share Posted December 8, 2018 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. cands 1 Link to comment
fncll Posted January 14, 2019 Share Posted January 14, 2019 Thanks! You might want to look at this note for developers: textsoap8agent is being deprecated. It already is for SetApp users (like myself), so I ended up modifying all the scripts to refer to textsoap and textsoap.app ... which should also work with non-SetApp version of TextSoap as well! https://groups.google.com/forum/#!msg/textsoap/ZlHrMxu7T8k/x17JDUmSAgAJ Link to comment
raguay.customct Posted January 15, 2019 Author Share Posted January 15, 2019 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. GatorMapi and cands 1 1 Link to comment
fncll Posted January 15, 2019 Share Posted January 15, 2019 Works like a champ! Thanks for the update! Link to comment
cands Posted December 21, 2021 Share Posted December 21, 2021 (edited) Thanks a lot for this awesome workflow. It has been reliable for several years, however, it stopped working for me when updating to TextSoap version 9. There is no information from debugging mode in Alfred, the workflow acts just as before and confirms that cleaning was performed, but the text is not transformed. Any ideas how to fix this? I'm using version 4.0 of the workflow on macOS 11.6 and Alfred version 4.6.1. I'm using the Setapp Edition of TextSoap version 9.0.5. Edited December 21, 2021 by cands Link to comment
raguay.customct Posted December 21, 2021 Author Share Posted December 21, 2021 25 minutes ago, cands said: Thanks a lot for this awesome workflow. It has been reliable for several years, however, it stopped working for me when updating to TextSoap version 9. There is no information from debugging mode in Alfred, the workflow acts just as before and confirms that cleaning was performed, but the text is not transformed. Any ideas how to fix this? I'm using version 4.0 of the workflow on macOS 11.6 and Alfred version 4.6.1. I'm using the Setapp Edition of TextSoap version 9.0.5. Hi, I'm glad you like it. I just updated it a little bit to 5.9 that you can download from my GitHub repository: https://github.com/raguay/MyAlfred/blob/master/Alfred 4/TextSoap Cleaners.alfredworkflow Let me know if that helps. cands 1 Link to comment
cands Posted December 22, 2021 Share Posted December 22, 2021 On 12/21/2021 at 2:31 PM, raguay.customct said: Hi, I'm glad you like it. I just updated it a little bit to 5.9 that you can download from my GitHub repository: https://github.com/raguay/MyAlfred/blob/master/Alfred 4/TextSoap Cleaners.alfredworkflow Let me know if that helps. Yes, with the new version you provided it works again, thanks a lot for the quick update! Link to comment
splitpersonality Posted July 16, 2022 Share Posted July 16, 2022 Hi. Thanks for this tool!tc:clean or tc:full do not retrive my custom cleaners at the moment. Although the Run Last Cleaner action works every time. Version 9.1.2 (3058) ~ Quick screen capture here. Let me know if you can help! Link to comment
raguay.customct Posted July 16, 2022 Author Share Posted July 16, 2022 1 hour ago, splitpersonality said: Hi. Thanks for this tool!tc:clean or tc:full do not retrive my custom cleaners at the moment. Although the Run Last Cleaner action works every time. Version 9.1.2 (3058) ~ Quick screen capture here. Let me know if you can help! Could you turn on the debugger and send me the results? Also, screen capture the settings panel so I can see how you have it setup. Thanks. Link to comment
rob213 Posted July 21, 2022 Share Posted July 21, 2022 Alfred 5, Textsoap 9 Hi, I downloaded but am unable to run the workflow. All I get is the notification below if I run for example tc:full I can run textsoap 9 independently no problem, so it's not a textsoap installation issue. thanks in advance for your time and help and thank you for all your work writing this workflow. Link to comment
vitor Posted July 21, 2022 Share Posted July 21, 2022 @rob213 For anyone to be able to help, the requested information is necessary. In particular the debugger should show what is going wrong (but even if there are no errors, whatever it shows can still be useful). rob213 1 Link to comment
raguay.customct Posted July 22, 2022 Author Share Posted July 22, 2022 @vitor is right. I need the output of the debugger window and you environment variables. Otherwise, I can’t tell you what is wrong. Link to comment
raguay.customct Posted July 22, 2022 Author Share Posted July 22, 2022 Also, I live in Thailand. So if you are in the UK or US, it will take me a night to get back with you. Link to comment
rob213 Posted July 23, 2022 Share Posted July 23, 2022 @raguay.customct I am working on it. My profuse apologies for the delay. I was trying to find the problem myself. Link to comment
rob213 Posted July 23, 2022 Share Posted July 23, 2022 (edited) On 7/22/2022 at 8:25 AM, raguay.customct said: Also, I live in Thailand. So if you are in the UK or US, it will take me a night to get back with you. S̄wạs̄dī Catalina latest update Alfred 5 latest update TextSoap 9.1.2 What I did: call up Alfred ⌥ Spacebar typed tc then clicked on Get a list of cleaners available result: one notification appeared as per below: saved full list of cleaners. Dubugging (below) (thank you @vitor ) Can’t get application "textsoapAgent.app". Please note that TextSoap 9 is installed and I am a registered user (paid copy) [09:02:53.606] Logging Started... [09:03:14.381] TextSoap Cleaners 9[Keyword] Processing complete [09:03:14.382] TextSoap Cleaners 9[Keyword] Passing output '' to Run Script [09:03:14.577] STDERR: TextSoap Cleaners 9[Run Script] 47:80: execution error: Can’t get application "textsoapAgent.app". (-1728) [09:03:14.586] TextSoap Cleaners 9[Run Script] Processing complete [09:03:14.586] TextSoap Cleaners 9[Run Script] Passing output 'Set Cleaners. ' to Post Notification I looked at textsoap 9 and discovered that textsoapagent is a supplementary module which has to be added separately, which I did. Now, when I run the workflow again and debug the workflow, I get the same result (notification) but no error messages. [09:22:57.185] Logging Started... [09:23:14.843] TextSoap Cleaners 9[Keyword] Processing complete [09:23:14.850] TextSoap Cleaners 9[Keyword] Passing output '' to Run Script [09:23:15.109] TextSoap Cleaners 9[Run Script] Processing complete [09:23:15.111] TextSoap Cleaners 9[Run Script] Passing output 'Set Cleaners. ' to Post Notification I was expecting to see a list of cleaner to choose from but only get a notification. There is perhaps something basic I don't understand with your workflow. So I'm at a loss at to what I should do next. Thanks very much ! K̄hxbkhuṇ māk s̄àh̄rb khwām ch̀wyh̄elù̄x k̄hxng khuṇ Edited July 23, 2022 by rob213 Link to comment
raguay.customct Posted July 23, 2022 Author Share Posted July 23, 2022 You have to run `tc:getcleaners` in the Alfred prompt and wait for it to copy a list of cleaners. I do it this way because the query can be slow. Then you use `tc:clean` to select a cleaner to apply to the text in the clipboard. Link to comment
raguay.customct Posted July 23, 2022 Author Share Posted July 23, 2022 BTW: สวัดดีครับ Link to comment
rob213 Posted July 23, 2022 Share Posted July 23, 2022 56 minutes ago, raguay.customct said: You have to run `tc:getcleaners` in the Alfred prompt and wait for it to copy a list of cleaners. I do it this way because the query can be slow. Then you use `tc:clean` to select a cleaner to apply to the text in the clipboard. I ran get tc:getcleaners which seems to have worked and then tc:clean which does not. I don't see a list of cleaner to choose from (although I have many in TextSoap 9), and the debugging suggests I have a problem I can use the textsoap agent with a global shortcut, no problem. thanks again [11:14:25.320] TextSoap Cleaners 9[Keyword] Processing complete [11:14:25.321] TextSoap Cleaners 9[Keyword] Passing output '' to Run Script [11:14:25.785] TextSoap Cleaners 9[Run Script] Processing complete [11:14:25.806] TextSoap Cleaners 9[Run Script] Passing output 'Set Cleaners. ' to Post Notification [11:14:39.162] TextSoap Cleaners 9[Script Filter] Queuing argument '(null)' [11:14:39.183] TextSoap Cleaners 9[Script Filter] Script with argv '(null)' finished [11:14:39.184] STDERR: TextSoap Cleaners 9[Script Filter] /bin/bash: line 8: 1: command not found [11:14:39.185] TextSoap Cleaners 9[Script Filter] {"items":[]} Link to comment
raguay.customct Posted July 23, 2022 Author Share Posted July 23, 2022 In the environment variables, there is one called `compiled`. If it’s zero, you have to have nodejs on your system and set it’s path in the `nodeapp` environment variable. If it’s one, it will try to run the compiled program I made for it. rob213 1 Link to comment
rob213 Posted July 23, 2022 Share Posted July 23, 2022 1 hour ago, raguay.customct said: In the environment variables, there is one called `compiled`. If it’s zero, you have to have nodejs on your system and set it’s path in the `nodeapp` environment variable. If it’s one, it will try to run the compiled program I made for it. OK thanks very much Link to comment
rob213 Posted July 23, 2022 Share Posted July 23, 2022 11 minutes ago, rob213 said: OK thanks very much last question and I will leave you in peace. Where are environment variables in the workflow. The Alfred Help did not help me understand. thanks again very much Link to comment
vitor Posted July 23, 2022 Share Posted July 23, 2022 Just now, rob213 said: Where are environment variables in the workflow. Have you seen the annotated screenshot? rob213 1 Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now