Change Name from the Library
I want to change from "PonyTemplate" to "TemplatePony". Is there a faster way to rename it instead of rename those one by one?
I want to change from "PonyTemplate" to "TemplatePony". Is there a faster way to rename it instead of rename those one by one?
Hi.
You can use JSFL.
https://help.adobe.com/archive/en_US/flash/cs5/flash_cs5_extending.pdf
A suggestion (you have to select the items in the Library):
var doc = fl.getDocumentDOM();
var lib = doc.library;
lib.getSelectedItems().forEach(function(item)
{
item.name = item.name.replace("PonnyTemplate", "TemplatePonny");
});
JSFL script Replace Library Items Names download:
animate_cc_jsfl_replace_library_items_names.zip - Google Drive
To use the script, drag and drop it over the Animate CC IDE or double-click it or run from Commands > Run Command....
Regards,
JC
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.