In Project Replace, links cannot be selected. As I’m using a lot of links and sometimes need to change them in bulk, this would be most useful.
If there is another way of doing this, I’d be happy to hear!
In Project Replace, links cannot be selected. As I’m using a lot of links and sometimes need to change them in bulk, this would be most useful.
If there is another way of doing this, I’d be happy to hear!
Hmm, I’m not seeing this problem in my testing. I created a simple test project with a couple of documents. One of the documents has two hyperlinks in it, both links pointing to the second document. The first link used arbitrary text, the second link used the direct name of the document.
I then ran two project replacement tests, one searching for a word within the first hyperlink, and it changed accordingly. Secondly I did a replace for the title of the second document, changing it entirely to something else. The hyperlink and the document title changed successfully.
That may not cover every possible combination however, what factors do you have in your situation?
Firstly, I’m not using Scrivener Links.
I’m linking to HTML files without prefix like so: title.html. These files correspond the files/documents in the binder. I export the project as a web page, and the links work between the pages.
The last example I can give is a need to replace all underscores in the links with hyphens. I had all areas selected except snapshots - that is titles, text, notes, synopses, and custom meta-data selected. The titles in the binder were successfully changed but the links remained the same: the underscores were not replaced. With “links” I don’t mean the visible link text but the file name, the actual destination.
I hope I’m making myself clear here and not missing something obvious.
Okay got it, you are looking to globally search and replace the URLs themselves, rather than the visible hyperlink text in the document. That’s where I was going wrong then—and you were right to begin with in posting it to the wish list, there is no way to do this in Scrivener.
I’m not sure if it would be possible to do that, but I’ll add it to the list for consideration. It would definitely need to be an optional behaviour, as most people would not expect searching for “duck” and replacing it with “goose” to end you up with “goosegoosego.com”.