Skip to content

Instantly share code, notes, and snippets.

@peace098beat peace098beat/fileWrite.jsx
Last active Aug 29, 2015

Embed
What would you like to do?
[AE] ファイルの書き出し
// ファイルの読み出し
var path = PATH_CURRENT+"/debug.log";
var file =new File(path);
var flg =file.open("r");
if(flg){
// 一括呼び出し
data = file.read();
}
file.close();
// ファイルの書き込み
var path = PATH_CURRENT+"/debug.log";
var file =new File(path);
var flg =file.open("w");
if(flg){
txt = file.writeln("書き込むテキスト");
}
file.close();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.