Jump to content

Antidote 10


Recommended Posts

  • 2 years later...
  • 3 months later...
  • 1 year later...
  • 3 weeks later...
  • 2 weeks later...

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 by JolinM
Link to post

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 post
  • 2 weeks later...

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 modulev : Launches an Antidote module

launch module corrector/‌dictionaries/‌guides/‌preferences

[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 post

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 post
  • JolinM changed the title to Antidote 10
  • 1 month later...
  • 3 months later...

Hello

 

I am running Antidote 10 v5.1 and when I launch the corrector I get: 

 

image.thumb.png.eb127349eb20368e134e7da1f92c112a.png

   Or, if the text is selected in another application:

 

   image.thumb.png.c600e95d6874c79e6bda7fda2c5ac809.png

 

 

  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 post

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...