Sadly this script no longer works in Logic 10.6. Its works with the number 8 in the row but it stops working if I import a video into the project. I've tried changing the number to 10, 12, 14, 16, 18, 20... Does anyone know how to get this working again?
EDIT: Got it working again by reverting to an older version of the script
Mac mini (late 2012 Server) 2.3 Ghz i7, 16GB RAM Macbook Pro 15" (early 2011) 2.3 Ghz i7~2TB Samsung 860 QVO~16GB Ram~macOS Catalina 10.15.7~Logic Pro 10.6.1~Universal Audio Apollo Twin Duo Thunderbolt MKII~KORG microKEY2 61