JolinM Posted May 21, 2016 Share Posted May 21, 2016 (edited) Updated Workflow original created by Hugo Davoust Adapted from the Antidote 8 workflow Here’s the workflow. Edited January 5, 2022 by JolinM Antidote 10 instead of 9 Link to comment
JolinM Posted January 3, 2019 Author Share Posted January 3, 2019 And here’s an updated version for Antidote 10. Link to comment
Jakub Sypiański Posted April 19, 2019 Share Posted April 19, 2019 (edited) I'm trying to add text selection as input to the workflow, but my skills seem to be too basic. Is it possible to do it? Edited April 19, 2019 by Jakub Sypiański Link to comment
Dario R. Posted July 13, 2020 Share Posted July 13, 2020 With last update of Antidote 10, the Alfred plugin stopped working. Any clue? Link to comment
irishnugget Posted July 31, 2020 Share Posted July 31, 2020 On 7/13/2020 at 3:24 PM, Dario R. said: With last update of Antidote 10, the Alfred plugin stopped working. Any clue? Has anyone gotten the latest version working? Recently purchased Antidote 10 and would love to get this working. Thanks! Link to comment
JolinM Posted August 12, 2020 Author Share Posted August 12, 2020 (edited) Working on an update right now! ––– Actually, I need a bit of help with this one 😔 I have an updated Applescript that works well tell application "AgentAntidoteConnect" lance module dictionnaires mot "bougie" end tell But I don’t know how to translate it with the {query} so it can run in Alfred (/user/bin/osascript (AppleScript)). So far, I have this, but it doesn’t work. on run set theQuery to "{query}" tell application "AgentAntidoteConnect" lance module dictionnaire mottheQuery end tell end run Edited August 12, 2020 by JolinM Link to comment
JolinM Posted August 17, 2020 Author Share Posted August 17, 2020 Okay, I’m now at tell application "AgentAntidoteConnect" lance module dictionnaire mot q end tell The error message I receive is the following [14:29:52.840] ERROR: Antidote 10[Run Script] 56:68: execution error: La variable dictionnaire n’est pas définie. (-2753) But running it in Script editor does work… any clues? Link to comment
AntidoteConnect Posted August 27, 2020 Share Posted August 27, 2020 Would love to help out! We published the API ;-) Documentation for the API can be found under Script Editor, dictionary is found AgentAntidoteConnect. Available in English to help out. Here is the transcript : launch module v : Launches an Antidote module launch module corrector/dictionaries/guides/preferences [resource definitions/synonyms/antonyms/combinations/family/history/conjugation/semantic field/quotations/spelling/lexicon/grammar/syntax/ponctuation/style/business writing/typography/PDL/history guide/phonetics] : Specifies choice of resource in module [word text] : Specifies selected word [title text] : Specifies title of document [version integer] : Specifies version of the communication (X.Y) [reserved string specifier] : Specifies reserved string We're looking at publishing a maintained flow by Druide informatique to use with the API. Would it make sense for you? We would then expose all functionalities : open all kinds of resources, validate errors. You would then be able to modify it and adapt it for your own needs. But it would be maintained by us. What do you think ? Integration Team at Druide informatique Link to comment
JolinM Posted August 30, 2020 Author Share Posted August 30, 2020 Hi @AntidoteConnect, thanks for the answer. Still not really sure how to make it work. Is it an issue of writing it in French vs English? tell application "AgentAntidoteConnect" lance module dictionaries word q end tell The new error I have is the following « given », « in », « of », expression, « with », « without », autre nom de paramètre, etc. prévu(s) mais jeton inconnu trouvé(s). And after that, I still have to plug it in Alfred, which I don’t know how to do 😞. Link to comment
AntidoteConnect Posted August 31, 2020 Share Posted August 31, 2020 Hello! What's also new in 4.2 is the ability to use Apple Script in English. Your script would look like : tell application "AgentAntidoteConnect" launch module dictionaries resource definitions word q end tell You'd then be able to plug that back in Alfred. JolinM 1 Link to comment
JolinM Posted August 31, 2020 Author Share Posted August 31, 2020 Great, that helps! Was able to fix my workflow with the last info, thanks a lot! Can be found here Link to comment
JolinM Posted September 6, 2020 Author Share Posted September 6, 2020 Updated version, with antonyms and combinations. https://www.packal.org/workflow/antidote-10 Link to comment
JolinM Posted October 7, 2020 Author Share Posted October 7, 2020 New version (1.5), with correction for selected text (if software supported by Antidote) or entered query. Link to comment
shampoo Posted February 3, 2021 Share Posted February 3, 2021 Hello I am running Antidote 10 v5.1 and when I launch the corrector I get: Or, if the text is selected in another application: All I am really looking for is for the text that is in the clipboard to be sent to Antidote.. I don't really need for it to be corrected and placed back into the application from where the text was generated.. Is there a way to do this ? Thanks! J Link to comment
JolinM Posted February 3, 2021 Author Share Posted February 3, 2021 Hey @shampoo, the different error messages comes from Connectix. They way I bypass it is to use the function cor and then paste my texte in Alfred. Link to comment
AntidoteConnect Posted February 3, 2021 Share Posted February 3, 2021 Yes, @JolinM's 1.5 version includes the cor function, that should do the job. Otherwise, there is a global shortcut, set in System Preferences > Keyboard, although it may not work in all software as it is often intercepted by the application in focus. Link to comment
JolinM Posted November 4, 2021 Author Share Posted November 4, 2021 Revised version for Antidote 11 poirpom 1 Link to comment
TheThunderChimp Posted January 5, 2022 Share Posted January 5, 2022 Many thanks for this workflow JolinM. I use the Antidote 9 workflow. This appears to be the thread for both Antidote 9 and 10, so I'll write here. If I launch Antidote 9 to search a word's definition (first image), Antidote 9 launches but I initially get a blank page (second image) instead of the intended definition page (third image). To get to the definition, I have to e.g. click on "synonyms" then re-click on definitions, which takes a second or two. This does not seem intended, anyway to get the definition directly? Thanks again so much for making this! Link to comment
JolinM Posted January 5, 2022 Author Share Posted January 5, 2022 (edited) On 1/4/2022 at 9:30 PM, TheThunderChimp said: This does not seem intended, anyway to get the definition directly? Bonjour @TheThunderChimp, Mon script est un simple AppleScript qui va comme suit:My script is a simple Applescript that goes like this: on alfred_script(q) tell application "Antidote 9" lance dictionnaire mot q end tell end alfred_script Autant que je sache, c’est la limite d’interaction qu’Antidote 9 possède. @AntidoteConnect aurait peut-être plus d’éclaircissement? As for as I know, it’s a limit that Antidote 9 has. Maybe AntidoteConnect will be able to show us some light. Edited January 12, 2022 by JolinM Link to comment
TheThunderChimp Posted January 6, 2022 Share Posted January 6, 2022 Merci pour votre réponse rapide. Je comprends que votre simple script ne semble pas être en soit à l'origine du problème. @AntidoteConnect auriez-vous une piste? Link to comment
AntidoteConnect Posted January 11, 2022 Share Posted January 11, 2022 Bonjour @TheThunderChimp, La dernière mise à jour des fonctions d'Antidote 9 remonte à 2018; je vais faire un peu d'archéologie et je vous reviens! L'intégration avec les services macOS (qu'Alfred utilise) a été complètement revu avec l'édition d'Antidote 10 (sortie en 2018) et Antidote 11 (paru en 2021); il nous est impossible de rapporter les correctifs vers l'édition d'Antidote 9. Je vous reviens rapidement. Link to comment
TheThunderChimp Posted January 11, 2022 Share Posted January 11, 2022 Merci de votre aide! J'ai toujours apprécié les efforts d'intégration de Druide. J'attendrai votre réponse. Link to comment
vitor Posted January 12, 2022 Share Posted January 12, 2022 @JolinM @AntidoteConnect @TheThunderChimp I wasn’t going to say anything when it was just two messages, but now that we’re up to three people and you’re preparing for more… Please refrain from (publicly) using languages other than English in these forums. I know you’re not saying anything bad (and are in fact being quite polite) but it creates a barrier which makes it harder for other users to access the conversation and is harder to moderate. AntidoteConnect and JolinM 2 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