Adobe AI can't copy/paste using scripts + user interface
Hi community, I got a question, I've been struggling with this issue for around three hours already.
I have an user interface, which I don't use it to copy/paste just to gather information, and when I click in "ok" to do it's thing, AI suddently does not paste what I commanded it to copy, using app.executeMenuCommand("paste"); does not work and app.paste(); shows an error message with the code 171 saying that is an internal AI error, funny thing is that when I close/open AI it works again (note that when I re-open AI i did not run the user interface)
also, in the same moment I run the UI, and copy another thing by control + C it does not paste either, not until I restart AI.
does anybody know what could be happening? please and thanks
