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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...