Jump to content

How to write {query} in Applescript


Recommended Posts

Hi, total N00b here.

 

I’m trying to fix this workflow.

Right now, I have this (running it as /usr/bin/osasciprt (AS) with imputes as {query} running instances Sequentially

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?

 
  •  

 

Edited by JolinM
details about the running method
Link to post
  • 2 weeks later...

That helps a lot, thanks.

I also found the answer to my original question!

Needs to be "{query}" between brackets and with ".

Here’s my final script:

tell application "AgentAntidoteConnect"
	launch module dictionaries resource definitions word "{query}"
end tell

 

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...