I got the following error:
Error #2176: Certain actions, such as those that display a pop-up window,
may only be invoked upon user interaction, for example by a mouse click
or button press.
I found a similar thread here and the short explanation of the problem is:
Adobe does this as a sort of security measure to ensure users are the
ones messing with files rather than potentially harmful code
However this thread doesn't answered my questions and that's why I am asking here:
1) Is there a good reason for me getting this error and is it really a security issue (and if so - maybe I shouldn't workaround it?).
2) What are the potential consequences if I do my workaround (I am asking because obviously Adobe decided that it shouldn't be workaround-ed)