XLD Batch Conversion?
Reply #3 – 2010-02-04 01:14:03
Thanks for the reply. I just tested it and it does work fine for separate flac files drug either to the icon, or right-click > open with > XLD. Doing the same thing with multiple .cue files does nothing; no prompting or anything else. Does anyone know if XLD will properly batch convert with embedded cue sheets? Oh I see, I had not noticed that. Well, it seems you're right. I tried scripting it, but XLD is unscriptable, and once you open it you must click "Decode" otherwise it doesn't do anything. So I wrote this quick and dirty applescript using GUI scripting: it opens XLD for each file, "presses" the button, goes on to the next. Search for your cue files, select them, and run this:tell application "Finder" set sel to selection repeat with curSel in sel tell application "XLD" to open item 1 of sel tell application "System Events" set wnd to front window of application process "XLD" click button "Decode" of wnd end tell end repeat end tell (this is applescript, I assume you know what to do with it, if not, ask). Let me know if there's a problem (I just test-ran it once with 3 cue files). It won't work if XLD asks you to select the flac/wav file. edit: I forgot to say that you must set XLD to not require interaction, so eg set the output location etc appropriately. edit2: if you have trouble, add a line containingdelay 1 after click button "Decode" of wnd to delay things a bit