The usual way of targeting applications is no longer functional for me, which is a known bug of the program:
.
One solution that has worked for others is to include a #target directive in the code, as shown here.
However, when I try the same, I get an error message stating that the target application - in this case, "illustrator" - is
.
Without being able to properly target my application, the only way to develop and test my scripts is to manually navigate to them from within the application itself, rather running them from within the ExtendScript Toolkit, which is quite a nuisance.
Any help would be greatly appreciated. Thanks.