A Finale script to write PDF/XML isn't working

I’m trying to use a script to batch write PDF, XML, and MUSX files (the files are from Finale 2011). The process doesn’t run unassisted. It stops until I click in the script window. Even when I clicked it didn’t write any files. When I stopped it, the palette window was unresponsive for quite a while. Here is the script:

// Script to write as XML, PDF, and MUSX
// Assumes files are in a Converter folder and new files will be written there
// The ellipses are because that is the command’s name
batch process folder and subfolders
execute menu “File/Export/MusicXML…”
Button “Save”
execute menu “File/Export/PDF…”
Button “Save”
execute menu “File/Export/Save As…”
Button “Save”

I also tried it putting a return after the save. I still didn’t get output files.

It looks like you also posted this question on the Finale forum. I think you’re more likely to get help over there for a question about Finale!

I posted here because my initial instruction for how to do a Finale script for XML files came from a previous Dorico forum question. We’ll see who answers first.

1 Like