Skip to main content
Known Participant
April 3, 2016
Question

Save and reuse an array of dynamic objects(for example Layers) in a local folder???

  • April 3, 2016
  • 1 reply
  • 323 views

//Example Code

//This will be project specific code.

var myProjectFolder=app.project.rootFolder;

var myLayers=app.project.activeItem.selectedLayers;

var StoreAry=[];

var myLocalLoc=myProjectFolder;

for(i in myLayers){

     StoreAry[StoreAry.length]=myLayers;

}

// I want the above "StoreAryto" saved and reused in the location above "myLocalLoc"..

//I want to call the array where ever is necessary in some other code.

//Can it be Offline Array like some txt or jsx file ?

This topic has been closed for replies.