I think I've done it!
I have been wanting to call the AutoPlay folder as well as the folder from where the exe is run.
As you may already know, this can be a bit difficult as you have to change the code depending on whether the program is compiled, not-compiled, compiled to an exe, compiled to the hard drive etc.
All these require different code to call the AP folder and the exe folder. well, not anymore. The variable names can be found in the "Global Actions.afg" file. The variable that stores the path to the folder wherein the exe is run is called, plainly "exefolder".
I have tested this to be used with un-compiled projects and projects compiled to an exe and to a hard drive folder. This code has been tested to work with no command line arguments and with external command line arguments.
My brain is melting right now so I may have missed something, let me know if you find a bug.
Enjoy!
~CS.

Reply With Quote