Copy link to clipboard
Copied
I started having issues using Actions after the latest update (2023.003.20201) on my Windows 10 machine. I require use of a number of different Action Wizard Actions in my job.
I've used the "Tooltips Remover for Acrobat XI" (Tooltips_remover_XI.sequ) action from Acrobat Actions Exchange (https://acrobatusers.com/actions-exchange/) for years, and it was working until this recent update.
Now when I run Action Wizard, and select the Tooltips Removal tool, I get a pop up that says
"This operation requires Acrobat to have write access to the filesystem. Do you want to allow this action?"
I selected Yes. The action appears to run, but doesn't successfully complete the task.
The Javascript Debugger console revealed this
TypeError: this.getField(...) is null
7:Batch:Exec
Next I tried to run a Document JavaScript that reportedly does the same thing:
for (var i=0; i<this.numFields; i++) {
var f = this.getField(this.getNthFieldName(i));
if (f==null) continue;
f.userName = "";
}
This didn't work either.
After so looking around, I tried to disable the Security(Enhanced) settings (disabled Protected Mode at start up and Enhanced Security) just to see if it was interferring. This still didn't allow for the Action to be run.
I'm out of ideas at this point, as I'm not sure what all changed with the last update. Any help would be appreciated as my production is slowing down as I have to manually update numerous form fields.
Copy link to clipboard
Copied
What happens when you use the script?
Copy link to clipboard
Copied
Same issue - it doesn't change anything, and I get (I believe) the same error
TypeError: this.getField(...) is null 7:Batch:Exec
Copy link to clipboard
Copied
I suggest you add a line to report or log the return value from each call to getNthFieldName. This will tell you both (a) which one is failing on getField (b) whether any spurious or strange entries are found.