XPP 腳本包模組 (xpp)取得目前腳本包的包路徑 (xpp.bundle_path)本頁目錄取得目前腳本包的包路徑 (xpp.bundle_path) 聲明 包路徑 = xpp.bundle_path() 回傳值 包路徑 文字型,返回目前腳本包的包路徑,如果目前正在運行的腳本不是腳本包,返回目前運行的腳本路徑 說明 用於從運行著的腳本中取得目前腳本的包路徑 腳本包標準參考 XPP 範例 local path = xpp.bundle_path()