Quantcast
Channel: Adobe Community : All Content - FrameMaker Scripting
Viewing all articles
Browse latest Browse all 888

End script using extendscript.

$
0
0

Hi,

How to end the script using extendscript in framemaker ? I have attached below code.It will not "Exit".Please suggests if any ideas.

 

var oDoc = app.ActiveDoc;

var frameDocumentName = oDoc.Name;

    if (frameDocumentName == null) {

       alert("Please open a document before running this script.");

}

main();

function main() {  

    getFileName(framemakerFolder);

    CreateWindow();

    pageCount = CountPage(oDoc);

}


Viewing all articles
Browse latest Browse all 888

Trending Articles



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