As adding a delay after "set audio_item to (Add audio_file to library_source)" seems to be working rather consistently, couldn't this be added as a default to the script, at least as a workaround until a more elegant solution has been found? It's a bit annoying having to edit the script manually every time Max is (re-) installed.
PS: I've had to increase the delay to 15 seconds to be on the safe side now. Even with 5 I got some errors occasionally, so adding a delay is obviously not an optimal solution, but it's better than no solution at all.
As adding a delay after "set audio_item to (Add audio_file to library_source)" seems to be working rather consistently, couldn't this be added as a default to the script, at least as a workaround until a more elegant solution has been found? It's a bit annoying having to edit the script manually every time Max is (re-) installed.
PS: I've had to increase the delay to 15 seconds to be on the safe side now. Even with 5 I got some errors occasionally, so adding a delay is obviously not an optimal solution, but it's better than no solution at all.