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

Re: Select All (but only on page not pasteboard)

$
0
0

Hi Les,

 

For active page use the following line.

 

app.select(app.activeWindow.activePage.allPageItems);

 

For active spread use the following lines.

 

var _spread = app.activeWindow.activeSpread.allPageItems,    _objects = [];
for(var i =0;i<_spread.length;i++)
{        if(_spread[i].parentPage !=null)        {                _objects.push(_spread[i]);            }    }
app.select(_objects);

 

Regards,

Chinna


Viewing all articles
Browse latest Browse all 87158

Trending Articles



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