Quantcast
Channel: Adobe Community : Discussion List - After Effects Scripting
Viewing all articles
Browse latest Browse all 2143

Creating text file using new File, returning the result by completely deleting the Lines of code in extend script???

$
0
0

Hi guys

 

Creating new .txt file in extendscript thru new File returning result by deleting all code in extend script.

Example

-------------------

var fPerCode="manjunath";

var myFileP=new File($.fileName);

var myFilePtS=myFileP.parent.fsName.toString();

myFileP.open('w');

myFileP.write(fPerCode);

myFileP.copy(myFilePtS+"\\"+"Mytools_icons"+"\\"+"name.txt");

myFileP.close();

alert("path to fullper.bat file  "+"\n"+myFilePtS+"\\"+"Mytools_icons"+"\\"+"name.txt");

 

If you run the above code, You see the result by clearing all the above code.

 

can someone help to solve this?


Viewing all articles
Browse latest Browse all 2143

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>