This content has been marked as final. Show 3 replies
From the Help (with quite a lot of searching):
void loadFindChangeQuery (queryName: string, searchMode: SearchModes)
Loads the specified find/change query.
queryName string The query to load.
searchMode SearchModes: TEXT_SEARCH
I sort of gathered it should be under Application, and so it was. And in hindsight, with a logical name as well! Didn't even know ID could do this.
The ESTK2 does not supply code snippets, but I'm sure you can work it out from this :-)
Thanks I am trying to use this but I am realizing what I don't know when it comes to scripting. Do I need to include the absoluter path to the query or will Indesign figure out where it's find/change queries are located?
>Do I need to include the absoluter path to the query or will Indesign figure out where it's find/change queries are located?
There's only one way to find out, as they say: try it. Always the best way forward in scripting. In your case, first try whether it works without an absolute path. If that doesn't work, try something else. And so on.