• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Create a simple txt file from extendscript.

Explorer ,
Aug 25, 2015 Aug 25, 2015

Copy link to clipboard

Copied

run.txt file not created in c drive.???

  var myFile=new File("/C/run.txt");

  var content="ABCDEF";

  myFile.write(content);

TOPICS
Scripting

Views

3.0K

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Aug 25, 2015 Aug 25, 2015

maybe

var myFile=new File("C:\\run.txt");

?

Also make sure that the AE preference "Allow scripts to write files and access network" is enabled.

Votes

Translate

Translate
Community Expert ,
Aug 25, 2015 Aug 25, 2015

Copy link to clipboard

Copied

maybe

var myFile=new File("C:\\run.txt");

?

Also make sure that the AE preference "Allow scripts to write files and access network" is enabled.

Mathias Möhl - Developer of tools like BeatEdit and Automation Blocks for Premiere Pro and After Effects

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Aug 26, 2015 Aug 26, 2015

Copy link to clipboard

Copied

Hi mathias

I need little help on render queue thing. Pop up an alert or run some instructions, when an item is rendered instantly.

Like below example


var numItems=app.project.renderQueue.numItems;

for(var i=1;i=numItems;i++){

   

    var currentRenderStatus=app.project.renderQueue.item(i).status;

       

    if(currentRenderStatus==RQItemStatus.DONE){

       

    alert("Item"+i+"Done");

   

    }

}

Thanks in advance

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Oct 18, 2022 Oct 18, 2022

Copy link to clipboard

Copied

LATEST

 

IMG-20221015-WA0006.jpg

  

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines