Multi-platform path to the application
Hello! I'm looking for a multi-platform way to specify the path to the .app/.exe application when running the max patch for the FIRST time.
Now I use the system definition (Mac OS / Windows OS), then I specify the path according to the architecture of each OS and write them in the max path where they are located.
But this method seems a little complicated to me, I would like to have a universal method for every OS.
Perhaps I can use external ~Shell to silently view running processes (similar to the task manager on windows), if the application is running, I can get its path.
Can anyone help with this?
are you talking about max or some standalone ?
why should it be taken that app is in applications or not whatever partition , external disk etc ?
I never place max into applications on mac or that program files whatever folders on windows.
Do you want to get path to app that loaded THIS patch , or path to THIS patch ?
here few examples showing root folder where my max app that runs this patch is.
and where patch itself is (if allready existing on disk)

I need to access a third party application (KeyFinder app/exe) via the command line using ~Shell
if you know nothing about installation of that app, then try
This may help, because while on Mac OS KeyFinder is usually located in applications, on Windows OS it can be anywhere... Thanks for the tip!