replace (("TOCCHAP" & currchap as text) & ">") using navlinkholder searching in story_directory options {showing results:false} saving yes
The moment i add the clause filter "Exclude index.html" so it becomes this:
replace (("TOCCHAP" & currchap as text) & ">") using navlinkholder searching in story_directory options {showing results:false} filter "Exclude index.html" saving yes
and try to run the script, it throws the following error:
error "BBEdit got an error: Could not make some data into the desired type (MacOS Error code: -1700)" number -1700 to record
There is an existing file filter i made via the multiple file Find interface named:
Exclude index.html
with settings:
Any File name root is not index
Seems obvious that my clause for filter is all wrong, but the documentation isn’t making it clear and searches on this group haven’t yielded anything.
What is the proper syntax when one wants to use the BBEdit filter noun in AppleScript?
Thanks in advance as always—the help has been stellar so far!
(BBEdit 11.6.8, macOS 10.12.6, AppleScript 2.5, Script Editor 2.9, if any of these matter)