Originally Posted by GRiker
Increase the delay before sending the return key. I tweaked the values based on my system, ymmv.
That did the trick. I bumped it up to 5 and it works fine. I think part of the issue may be that the particular book I chose to test this script on has a longer than average file path name, so three seconds was not long enough for all the characters to be 'typed' in.