Skip to main content
This topic is closed to new replies. Start a new post to keep the conversation going.
Multoman
MultomanCorrect answer
Inspiring
Mar 23, 2023 7:32 AM UTC

Hi. Select the characters you need and run the command. The item that you have chosen to stand out in the library

var dom = fl.getDocumentDOM();
var select = dom.selection;
for(var i = 0; i < select.length; i++){
var itemName = select[i].libraryItem.name 
dom.library.selectItem(itemName, false)
	}

 

5 replies

Multoman
MultomanCorrect answer
Inspiring
Mar 23, 2023 7:32 AM UTC

Hi. Select the characters you need and run the command. The item that you have chosen to stand out in the library

var dom = fl.getDocumentDOM();
var select = dom.selection;
for(var i = 0; i < select.length; i++){
var itemName = select[i].libraryItem.name 
dom.library.selectItem(itemName, false)
	}

 

Translate
kqskcmAuthor
Known Participant
Mar 23, 2023 7:38 AM UTC

Perfect!

Translate
kglad
Community Expert
Community Expert
Mar 23, 2023 12:50 PM UTC

@kqskcm 

 

use your history panel to see jsfl statements needed to execute particular steps.

Translate