How to extract all files inside BMP. Dir file?

Dear friends,

I'm not a graphic designer or developer, but I'm stuck with me boss job.

He had an old cd with photos, HE gave it to me to export all the images in the file.

It has been. CRT file, I was able to convert to file DIR at the end. The file opens perfectly in Adobe Director with any framework or script inside but

There are 900 pictures inside.

I can't copy paste the 900 files in order to paint or to save them one by one.

Alll 900 files are located in the internal cast now.

Please help me to solve this problem and treat me like a kid, would you please guide me step by step and send me the link of xtra to serve as appropriate.

I promised him tomorrow I'll give him the pictures, please help.

Thank you and best regards,

  1. Download the ImgXtra from the site of Valentin Schmidt here: http://www.dasdeck.de/staff/valentin/xtras/image/win/d10/
  2. FreeImage.dll files and ImgXtra.x32 package compressed in the demand of the Director Xtras folder *.
    * Note: If ongoing D10 then it is somewhere like: C:\Program Files\Macromedia\Director MX 2004\Configuration\Xtras\
  3. Open your .dir file and add this moviescript:
on saveImages savePath
  retVal = 1
  -- check savePath
  if (not stringP(savePath)) and (not savePath contains "\") then
    retVal = -1
    return retVal
  else
    if the last char of savePath <> "\" then
      savePath = savePath & "\"
    end if
  end if

  -- create instance of ImgXtra
  imgObj = xtra("ImgXtra").new()

  -- iterate through the Internatl Cast
  -- and save as bmp using the member name,
  -- or if empty then "member_#"
  m = castLib(1).member.count
  repeat with i = 1 to m
    if member(i, 1).type = #bitmap then
      fName = member(i, 1).name & ".bmp"
      if fName = ".bmp" then fName = "member_" & i & ".bmp"
      put "savePath: " & savePath & fName
      ixErr = imgObj.ix_saveImage(["image":  member(i, 1).image, "filename": savePath & fName, "format": "BMP"])
      if ixErr = 0 then
        retVal = -2
      end if
    end if
  end repeat
  -- destroy instance of ImgXtra  imgXtra = 0 
  return retVal
end

4. run from the window of the message, something like this:

ERR = saveImages (the moviePath & "images")

ERR will be a return value of 1 on success, a negative not... you can do to get the value in the message window:

Put err

the moviePath is the path to the .dir file and 'pictures' are to a subfolder in the folder where the file .dir. adjust accordingly, for example the path. "C:\Images" or a path valid where you want the exported images to be saved.

Tags: Director

Similar Questions

  • Extract all function extract all files at once - Win 8

    Recently, we bought a new laptop. She has Windows 8. Extract all functions does to extract all files found in the selected location. Only to choose the first or the last selected file. I have a crazy number of files to extract, and I can not just extract one by one. This feature allows to absolutely beautiful work in my old laptop... also on windows. Can someone pls help? I'm going nuts!

    I downloaded 7 - zip and it works (so far!  :)) Thanks!

  • How to 'Extract all' you should see when I right click on a zip file?

    When I right click a compressed file (zip), the command "extract all" does not appear. What I get is a message to Adobe Reader that says:

    "Adobe Reader could not open the attachment because it is not a type of file supported or because the file has been damaged." For all attachments in zip file, I get the same message. Why is this and what can I do about it?

    Oil dipstick

    It could be the problem with the associated application of type of .zip file. Check if .zip is associated with Adobe?

    In Windows 7 and Windows Vista you can check the file type as this.

  • How to extract a file path is too long

    I can't extract a file because it is too long.  It has the error code 0 x 80010135.  How can I fix?

    Karen McIntyre

    E-mail address is removed from the privacy *.

    Hello

    ·         What file are you trying to extract a file?

    I suggest you follow the link below and check out them.

    http://social.technet.Microsoft.com/forums/en-us/w7itprogeneral/thread/7311832b-6d85-43a4-A305-8ec676f4fb51

  • How to extract all the drives SAS/SATA and Ethernet port speed of the link command line?

    Hello

    Do you know if supports Windows OS built in order to extract all the SAS/SATA drives and ports Ethernet link speed?

    i.e. for SATA3 drive it show 6 Gbps, for DIS3 drive it will show 12 Gbps, to present the current link speed.

    i.e. for Ethernet 10 G, it will show 10 Gbit/s while the current connection speed is at 10 Gbps.

    I need the command to create a batch file to run bike test to check all connection speeds are correct in each cycle the system power runs, if the Windows operating system does not support built in order to achieve this, please send us any tool of 3rd - party with the support of the command line to do this.

    Thanks in advance.

    Jacky

    Hello

    This is a forum for Windows and you can't find the experts here, so your question will better suit in the TechNet forum where members of the community who have the expertise to help you. Check out the link and post your query:

    https://social.technet.Microsoft.com/forums/en-us/f4a3a72b-21e4-45fc-b623-eb1d99215c79/command-prompt-and-bat-files?Forum=w7itprogeneral

  • How to extract zipped files from external hard drive?

    I saved the content of my HP laptop, the HD is made horrible noises of an external HD.  How can I extract the files zipped to another HP laptop?

    See this page

    http://support.HP.com/us-en/document/c01900516

  • How to move all files related to two models of .dwt on toward a .dwt model

    In DW CS6, I have 180 files related to model A and 100 files related to model B, in the same Web site.

    In order to make more effective the update, I have all the files related to a single model.

    Editable regions now have the same naming protocol in both models.

    How would merge 280 files related to a single model?

    If the naming convention is the same in both models, you should be able to open a page generated by the model B, then select Modify > templates > detach the model. You can then link to A template by selecting Edit > templates > template apply to the Page. See the help files for more details: helps Dreamweaver | Existing application or removal of a model of a document.

    To do this in Dreamweaver is to detach a single model and the application of the other in each page individually. I suspect that it could probably be done more quickly in a batch process just by changing the name of the template at the top of each page of the child. However, you cannot do this with find and replace in Dreamweaver, because the template markup is locked. You must use an external text editor.

  • How to extract the files from the HARD drive?

    I have a HDD1805 from a broken iPod 80 GB. I was wondering if there was another method I could use to extract the files from the hard drive.

    Hello

    Sorry, but I don t know what you mean exactly.
    Can you please explain exactly what you mean?

    What files you want to extract?

    Good bye

  • How to extract a file 'save '.

    I have a need to extract a file 'save' - what is the best procedure to follow?  Thank you.

    Hi John,.

    ·         Do you have a backup file you want to restore?

    ·         What software did you use to back up files?

    If you used the Windows backup utility, you can read the following article.

    Microsoft Windows XP: restoring files and folders

    Do not respond with more information, if this isn't what you're looking for.

  • How to extract all the accounts through REST field

    I'm fighting with the REST API calls, I want to extract all records with all of the fields available in them through REST. That's what I've tried so far:

    $client = new EloquaRequest ($eloqua_site, $eloqua_user, $eloqua_password, 'https://secure.eloqua.com/API/REST/1.0');

    $accounts = $client-> get ('/ data/accounts? search = * & count = 1000 & page = 1 & depth = complete ');

    now when I print $accounts it gives only this result:

    [1] = > stdClass Object

    (

    [type] = > account

    [id] = > 365

    [converted] = > 1372683444

    [depth] = > full

    [description] = >

    [name] = > Verkeer in Waterstaat

    [updatedAt] = > 1372683444

    [Address1] = >

    [address2] = >

    [address3] = >

    [businessPhone] = >

    [City] = >

    [country] = >

    [fieldValues can only be] = > Array

    (

    )

    [PostalCode] = >

    [province] = >

    )

    There are more number of fields available under 'Accounts' that which is visible here. All custom fields not is also not recovered, unknown reason!

    Your help is very appreciated to resolve this matter as soon as possible.

    Using version 2.0 of the rest what API should return all the field values:

    GET /Api/rest/2.0/data/accounts?depth=complete&count=1000

  • Utility files - search operation; How to retrieve all files in a folder?

    I use the search FileUtility service operation to count the number of files in a given folder.

    I can't find the right Regular Expression to match all files.

    The Adobe documentation indicates that * character is by default which corresponds to all the files/folder in the directory. However, if I leave * unchanged, I get an incorrect error 'Regular Expression Syntax.

    I tried different combinations, nothing seems to work.

    Can someone help me on this?

    Thank you

    Nith

    Hello

    You can use the following syntax for a list of all the files: -.

    \w*\.\w*

    Yow can alslo cross the hardware for more information about regular Expressions:

    http://help.Adobe.com/en_US/LiveCycle/9.0/workbenchHelp/help.htm?content=000582.html

    Thank you

  • How to copy all files portable for hard drive TB mail

    I need to make a copy of all my emails and their respective folders on my laptop hard drive. How can I do?

    Hello Diego,.
    I found the problem, once I cleaned up all the "inbox" and "Sent", there was nothing in the files so that they are not show. When I sent an email, low and behold, there was the sent folder.
    Thanks for your help.
    The f

  • How to decompress all files from drive external HARD to help to win 8

    I just bought a new computer with Windows 8 OS and try to find more quick way to restore the files from my external drive to Stor.e.

    When I connected it I could see all zipped files, but don't know how best to unzip them without having to go through each of them individually.

    Someone knows how to do this?

    And the external hard drive will now automatically backups on the new computer, or what I have to do something like download a new driver?
    Thank you

    Hello

    How about WinRAR?
    Copy the files in the notebooks of HARD drive, then mark/select files zipped, then right click and select unzip.

  • How to repair all files trying to open in Adobe, in XP?

    I can't open my files.  They are accidentally changed to adobe.  Is there a way to change their return.

    * original title - opening files bad - they are accidentally changed to Adobe *.

    Hi Janice Simon,.

    ·         Do you mean all the files that you open using Adobe?

    You can check if this article helps.

    How to change or choose the program that starts when you double-click a file in Windows XP

  • How to restore all files, even that is not valid

    Hi fans,

    Need help.

    My requriement is on exception management processes. The rule for me is ' process None or process all the ' records.

    For example:

    Scenario 1:10000 chronogram source - 100 record invalid - 9900 valid then 100 should go to E$ table and 9900 does not load into the actual target table.

    My understanding 100 will make safe passage in E$ I use flow control, I want to make this 9000 recordings does not load after I have$ actual table and I need to stop treatment... How to avoid this?

    and after that I need to send a report of table $ E team activities so that they can fix the files... How can I download this table for $ E in an excel sheet.

    I use the version of 12 c of ODI.

    any suggestion please

    Hi, ASP,.

    You can count on the success of the session so that your data to be committed, and like you said, you can get through the assessment of the number of records in your error table. For example:

Maybe you are looking for