Photoshop Actionscript Help

Hello. I'm trying to use an actionscript to convert vxa autotiles (animated and otherwise) to xp; namely, this one. I followed all the instructions but for some reasons, I keep getting errors such as "the command merge layers is not currently available". If I hit continue it stops me with another command that isn't available and this goes on till I get what looks like an ill-made puzzle.

Does anyone know if the script is no longer compatible or do I need to do something extra to fix this?

Sidenote : I use adobe photoshop version 7.0
Is your file set to RBG or to Indexed colour? If it's Indexed colour that could cause a lot of commands to be unavailable. (If you're not sure, you can check this by going Image -> Mode)

A lot of the default resources for RTP are set to be on indexed colour, so I would check that first. If it -IS- set to indexed colour, just click RGB instead and try it again.

Edit: I tested the action script and it works just fine in Adobe CS3. Encountered two errors from not having layers with the same name as them, but got the desired end result.
Sadly, it's already set to RGB color : (
Apparently some versions of adobe can be a stickler with Merge Layer. I replaced Merge Layer with Merge Visible in the action. Hopefully it helps: DOWNLOAD

I only did the first action, Ace->XP Autotile, and not the Ace-XP Anim. Autotile one. If it works and you need the other one changed as well, let me know.
You're awesome (o~o) It worked! I'd be really grateful if you changed the other one too :')
Sweet~ Glad to hear that worked! Here's one that has both actions edited: DOWNLOAD
You're my superhero #2! xD Thank you so much ^_^
(First off, sorry for having to revive this topic but I've come across a problem again)

I've been trying to convert vxa waterfalls to xp format using the same actionscript, but it's not working. Does anyone know if the script is not applicable to waterfall tiles? I've even tried arranging the individual waterfall animations horizontally to see if that was causing the problem, but it still doesn't work. Help?

🙁

Original thread: https://forums.rpgmakerweb.com/threads/photoshop-actionscript-help.41703/