Maybe you could try ...
n=REQUEST("Name_of_program", "", program_name)
PRINT program_name
On Windows machines this will return "Archicad.exe"
I assume on a MAC it would be different as they do not use .EXE files.
But I don't have a Mac so I can't be sure.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11