Rob, First, "app.menuActions.itemByName("Find/Change...")" doesn't work on a French ID version, you will need: app.menuActions.itemByName("Rechercher/Remplacer..."). Then, your code is irrelevant if the op plays on an open doc! That is, I suppose, a minimal condition (no sense trying to run a find/replace without a target document). (^/)
... View more