The line numbers at the beginning are not part of the script. Remove them.
shouldnt be the problem, script worked fine in CS6 and i can load it manual.
try making the name of the folder Startup Scripts (add the missing "s" on the end).
Thanks for thinking with me, changed folder name added the (s) but didnt change a thing.
Still wont autoload.
And saved it in C:\Users\User\AppData\Roaming\Adobe\InDesign\Version 10.0\nl_NL\Scripts\Scripts Panel\Startup Script
Try putting the script in the InDesign Application folder rather than your user folder—it will show in the Script Panel’s Application folder
Applications ▸ Adobe InDesign CC 2014 ▸ Scripts ▸ Scripts Panel
Sorry I meant the Application start up folder
Applications ▸ Adobe InDesign CC 2014 ▸ Scripts ▸ startup scripts
Just test and it works here.
Thanks for your response,
That didnt seem to work as well.
Found out i had to make the Startup Scripts folder next Script Panel and not in it.
It works now.
Thanks all for fast feedback.
robertd27602710, always remember to mark the correct answer (in this case your answer)