Currently there is no way to directly query the path of a running application. When deploying an app as an Add-In, what is commonly done is to use the path to the Add-In as a reference point. The Add-In folder can be found using:
The id in this case is the unique name given to the Add-In at creation time, such as com.jmp.jmpgeocoder.
The best way to do this is to make your .jmpapp file an addin. Then you can refer to files in the application directory using the $addin_home construct. For example suppose your addin ID is com.mycompany.dept.mygreatapp. You could reference files in that addin's location via: