Answered
Action File to XML script not working
- July 23, 2021
- 4 replies
- 1556 views
I am trying to convert a photoshop action to a script so I can replace the filename in save steps with the variable for the current photoshop document but I cannot seem to convert my ATN file to an XML file in order to code this.
I tried using the script and steps listed here: What is an ATN File?
but I keep getting an error message when opening the script in photoshop. Am I missing a step? Please help!
On a mac using Photoshop 2021 for reference.
Error message:
Error 8: Syntax Error
Line: 35
-> var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;

