「フォルダ内のファイルをすべて開く」の版間の差分
URLの修正 |
省略された波括弧の追加 |
||
| 20行目: | 20行目: | ||
// キャンセルの場合は終了 | // キャンセルの場合は終了 | ||
if (!folder) | if (!folder) { | ||
Quit(); | Quit(); | ||
} | |||
var shell = new ActiveXObject("WScript.Shell"); | var shell = new ActiveXObject("WScript.Shell"); | ||
| 34行目: | 35行目: | ||
// 無題で未変更の場合は閉じる | // 無題で未変更の場合は閉じる | ||
if (document.FullName == "" && document.Saved) | if (document.FullName == "" && document.Saved) { | ||
document.Close(); | document.Close(); | ||
} | |||
</syntaxhighlight> | </syntaxhighlight> | ||
スポンサーリンク