■フォルダの選択
strLoadPath = getSavePath caption:"フォルダの選択" initialDir:(getDir #maxroot)
if strLoadPath == undefined then
(
print "Cancel"
)else(
print ("OUTPUT FOLDER > " + strLoadPath)
)
■現在のシーンのファイル名を取得する方法]
sceneName = maxFilePath + maxFileName
■ファイルの未保存の確認
if maxfilename =="" do
(
messagebox "ファイルを保存してください" title:"作業確認"
return 0
)