var path = getScriptFileName(); var info = new DzFileInfo(path); MessageBox.information(info.absolutePath(), "title", "OK");