Page 1 of 1
Scripting the creation of a new image objects
Posted: Sat Feb 26, 2011 11:14 am
by Jellicle
I need to create a number of new images objects on the fly that all share the same properties (image, scripts etc) as an image already on the card. What's the best way of doing that?
Re: Scripting the creation of a new image objects
Posted: Sat Feb 26, 2011 11:28 am
by Dixie
Hi...
Look in the dictionary under 'templateImage. Use the templateImage keyword to set up default properties to be used for any new images objects you want to create. Then the images you create will incorporate the properties that you have set...
be well
Dixie
Re: Scripting the creation of a new image objects
Posted: Sat Feb 26, 2011 1:04 pm
by jmburnod
Hi Jellicle,
You can also clone an image and rename it on the fly
Look at clone entry of the dictionary of LC
Best
Jean-marc
Re: Scripting the creation of a new image objects
Posted: Sat Feb 26, 2011 11:37 pm
by Jellicle
Thanks so much
