Quantcast
Channel: Adobe Community: Message List
Viewing all articles
Browse latest Browse all 83883

doc recent refresh

$
0
0

I wrote a code to view recently used documents (the last 10 used)

but many documents After the opened close When I run the code all the old list shows

How to refresh list or do I have to write another code

 

var w = new Window("dialog");
var myList2 = w.add("listbox");
myList2.preferredSize = [500, 350];
for(var i = 386; i < 396; ++i) {
var mytop = app.menuActions.itemByID(i);
myList2.add("item",  mytop.name);
}
w.show();

Viewing all articles
Browse latest Browse all 83883

Trending Articles



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