• ('Package Menu Item') -> All of the work done previous to this was undone???
Hello -
I have written up some code in java to help automate some procedures at work.
I have been adding pieces of code a little at a time and so far so good (so I tested it).
But now I have a problem. I see all the work being carried out but the moment I hit the below line of code, it was as if all of the work done previous to this was undone.
Here the "famous" line of code:
// app.executeMenuCommand('Package Menu Item'); // Make a "PACKAGE" of the open file
Can someone explain why this is happening?
Is it normal behaviour? Am I missing something?
NB. Of course I could have upload my script, but it is a almost 400 lines of code 😉
Thank you for any help / explanations
- Dimitri
