Have you looked at this script? May not be exactly what you like with an actual user interface...
thanks for your reply.
yes i have had a look on FindChangebyList but the mentioned text file with the search words needs to be edited by different people without of any grep-knowledge.
I have spent the last week or so to rewrite the Find Change script into a CEP plugin.
I did this to find out how the new CEP platform works. I would not claim I mastered it yet. But I learned a lot about how not to do it.
I would imagine that the interface for the script could take the kind of features (radio buttons etc) you want.
Do you have a budget for this? Let me know and maybe we can spec this so it does some simple things for starter and then build on it.
whats a CEP plugin?
thanks, but thats not what i need.
Thomas, a picture says more than 1000 words …
First of all ([\d]+([\.,][\d]+)*) could a bit simplified: (\d+([.,]\d+)*) or maybe this work too: (\d[^\s]+)
Then you should provide some real examples. ([Different types of spaces]?)([Word1|Word2|…Word20) isn’t really helpful.
So built a idml-example and a example with your textfile and provide those files for download to all scripters here.
From where should the script collect your textfile (same folder as the .indd?)
What is the name of this file?
Do you want to search the whole document or a selection?
Thanks for your response.
In two days i will be back home - then i can provide some real world examples.
As for now here is, more exact, what i want to do:
I like to search for a (random) number with a unit.
I don’t now the number and the unit, for example „km²“ is defined in the text file.
Sometimes there is a space between the number and the unit – but this space can’t be search by \s because tabs should be ignored.
The script should provide the possibility to insert a nonbreaking space or a thin space.
The text file can have a name like units1.txt and should be inside of a separate folder within the script folder.
I like to search in the whole document.