Scripts & Automation

Learn to use Pascal scripts to automate complex editing tasks and batch operations in xEdit.

Running Scripts

  1. Right-click on a plugin or record
  2. Select "Apply Script" from the context menu
  3. Choose from available scripts
  4. Configure script parameters if needed

Built-in Scripts

  • Remove ITM Records: Clean identical-to-master records
  • Remove Deleted References: Clean deleted references
  • Undelete and Disable References: Fix UDR issues
  • Check for Errors: Validate plugin integrity

Community Scripts

  • Download scripts from Nexus Mods
  • Place in xEdit's Scripts folder
  • Restart xEdit to load new scripts
  • Follow script documentation carefully

Writing Scripts

  • Learn Pascal programming basics
  • Study existing script examples
  • Use xEdit's script API documentation
  • Test scripts on backup files first

Script Safety

Always backup your plugins before running scripts. Some scripts can make irreversible changes to your files.

Next Steps

Now that you know about scripting, learn best practices:

Best Practices