The export function largely depends on your version of Director. You say you want to use Lingo for this, but prior to D11 or 11.5 you would have to use an xtra for exporting - both SharpExport and ImgXtra are free, and there are other paid-for options. The rest of it might be achieved with:
-- #movie script on mExportBitmaps -- function to get foldername for exported images cursor 4 nLibs = the number of castLibs repeat with lib = 1 to nLibs nMembers = the number of members of castLib lib repeat with mem = 1 to nMembers tMember = member(mem, lib) if (tMember.type = #bitmap) AND offset("_personal", tMember.name) then -- function to export bitmap using member name to selected folder end if end repeat end repeat cursor -1 end
Message was edited by: Sean_Wilson reason: typos in code
prior to D11 or 11.5 you would have to use an xtra for exporting
Does that mean there is a Lingo only export option for D11? If so do you have any links you could post?
Sorry, I was confused about when the byteArray type was introduced (because I can't maintain 11 and 11.5 on the same machine <sigh>). Here's a link to Valentin Schmidt's D11.5 image encoder options (assuming you weren't already aware of them)
Cool, thanks Sean. Hadn't seen those yet.