You don;t need a script to do this. Just go to Development | Image Library, then click on the New Library button and give it whatever name you want. Then click Import File and in the resulting File Open dialog, you can multi-select all the image files you need to import, click OK and the images will be imported into your library. Pete Molly's Revenge <http://www.mollysrevenge.com>
On Sat, Jun 4, 2011 at 10:10 AM, J. Landman Gay <jac...@hyperactivesw.com>wrote: > On 6/4/11 12:55 AM, Richmond Mathewson wrote: > >> I am gently assembling a fairly large collection of image libraries by >> "stealing" icons >> and so on from Open Source Apps and Icon collections. >> >> But don't know how to export those image libraries so they are portable. >> > > You've already figured this out, but for the record: icon libraries are > just one-card stacks with a bunch of images on the first card. If the name > begins with "rev" and the stack is placed in your LiveCode library folder, > then the Icon Library will load it. > > The library path is inside the My LiveCode folder (or whichever folder > you've specified in prefs to hold your customization files,) in > Resources/Icon Libraries. > > It isn't difficult to write a quick script that imports all the images in a > folder to the first card. Then just name the library stack starting with > "rev", and pop it into that folder. > > -- > Jacqueline Landman Gay | jac...@hyperactivesw.com > HyperActive Software | http://www.hyperactivesw.com > > _______________________________________________ > use-livecode mailing list > use-livecode@lists.runrev.com > Please visit this url to subscribe, unsubscribe and manage your > subscription preferences: > http://lists.runrev.com/mailman/listinfo/use-livecode > > _______________________________________________ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode