Evilia_77, Im trying to second guess what it is you want. I don't deal with this in the line of work I use ID for… ( although Im sure that will change one day ) The screen shots posted were what I got while at my work mac ( not the slightest clue if thats right? ) Both the file and its parent directory changed locale? I don't think ( eek ) what you are trying to do is taxing in either AppleScript or JavaScript but you cloud the waters with mulit posts in differing scripting languages… You cut your chances of help here right down with AppleScript… ( mine's rusty ) Im guessing at your process…

I think the problem is that my english is very bad, and that my applescript skills are very bad.

We are making an interactive catalogue, where you can jump from one chapter to an other one. The native one (dutch) is ready and works fine. For making the French catalogue, I copied the Dutch one and translate the documents. The buttons in the French version are linked to the dutch document. Thats why I want to make the script to change the file path.

The script you made changes the paths but when I check the buttons in the indesign document, the still are linked to the ducht versions.

Does the script works on your mac, does is changes the destinations of the buttons in the indesign doc?

Your English is better than my interactive ID skills… I'm guess Im lucky scripting languages are mostly american/english ( is that right anyone I've no idea? ) or I'd be up a creek with no paddle… Yes the linked doc changed as the pic showed and the document was modified* in the menubar…

thank you very much... I tried and tried in the office, and it didn't change... but it is possible that it's due to our servers (we work only on servers so we can work all togehter on the catalogue).. the connection isn't so well..

I will try it again on monday and I hope it works... it will save me weeks of work

Hum, I used the same as Mary & Dwayne… That line is inside of a tellthisButton block so shouldn't be needed… Yes I would expect 1 thru 4 needs to change I only coded it as per your example… I only have CS5 but it works fine here…

String & text in AppleScript are the same thing Dwayne's issue in CS5.5 may be down to a clash with ID's reference to the text class… ( I didn't get that here though )