Reply To: Script to import partial filename

#112796
Oleh Melnyk
Member

line 35 – change:
if (confirm(“Do you want to replace ” + foundContents + ” with ” + fileNameVariable, false, “Replace?”)) {

to:
if (foundContents !== changeTo && confirm(“Do you want to replace ” + foundContents + ” with ” + fileNameVariable, false, “Replace?”)) {

https://gist.github.com/olehmelnyk/57ef6cc65801329c22ec3c91b53cfe01

This article was last modified on December 11, 2018

Comments (0)

Loading comments...