3 Replies Latest reply on Feb 23, 2007 4:04 AM by Newsgroup_User

    file names gets truncated

    nicky_nana
      hi

      whenever i import bitmaps in my director file their file names gets truncated. i use director 8.

      also it convert my filenames in lowercase to filenames in uppercase.

      e.g. "corbette_home_ro" looks like "CORBET~2" in cast window after i import.

      is there any way in preferences etc where i can instruct director to not to truncate the file names.

      thanks in advance
        • 1. Re: file names gets truncated
          Level 7
          nicky_nana wrote:
          > hi
          >
          > whenever i import bitmaps in my director file their file names gets
          > truncated. i use director 8.
          >
          > also it convert my filenames in lowercase to filenames in uppercase.
          >
          > e.g. "corbette_home_ro" looks like "CORBET~2" in cast window after i
          > import.
          >
          > is there any way in preferences etc where i can instruct director to
          > not to truncate the file names.

          It's an 8.3 name problem. I think you would need to use a later version of
          Director: 8.5.1 was the first one to be XP-compatible.

          You could disable 8.3 name creation (e.g. see
          http://groups.google.com/group/microsoft.public.windowsxp.general/browse_frm/thread/1ac722 ce842b0aec/df7971fbcb4b7b52?lnk=st&q=registry+shortfilename+xp&rnum=2&hl=en#df7971fbcb4b7b 52)
          then rename all the files and import them again, and it /might/ fix it, but
          then again it is more likely that it will break a lot of things.

          Or you could write a script to use at authoring time to rename the members:
          use an xtra like buddyAPI (www.mods.com.au) to get the long file names from
          the shortened ones after adding .bmp (or whatever, as appropriate)
          (function: baLongFileName) and then change the member's name:
          member(shortfilename).name=longFilename

          Andrew


          • 2. Re: file names gets truncated
            nicky_nana Level 1
            hi

            i checked the link u mentioned to edit the registry but m stuck after step 4 because theres no NtfsDisable8dot3NameCreation
            that i can modify. This is whats appearing on right side panel.

            what can i do now. i think its more of a director's problem rather than windows xp. coz its all ok in other applications. only director truncates the file names.

            thanks a lot for ur reply
            niki
            Best quality photoshop tutorials
            • 3. Re: file names gets truncated
              Level 7
              nicky_nana wrote:
              > i checked the link u mentioned to edit the registry but m stuck after
              > step 4 because theres no NtfsDisable8dot3NameCreation
              > that i can modify. http://www.photoshopforfun.com/right_panel.jpg

              You would have to create it. But I still don't think it's a good idea - back
              up your computer first if you really want to try it.

              > what can i do now. i think its more of a director's problem rather
              > than windows xp. coz its all ok in other applications. only director
              > truncates the file names.

              You could try the last option I gave: write a movie script to go throught
              the cast members and rename them.

              on renameMembers
              -- path to the folder with the bitmaps in
              picFolder=the moviePath & "pictures\"
              extn=".bmp"
              -- save for later restoration
              oldID=the itemDelimiter
              -- iterate over all the castlibs
              repeat with c=1 to the number of castlibs
              -- iterate over each member in each castlib
              repeat with m=1 to the number of members of castlib(c)
              f=member(m, c).name
              -- if the name contains ~, it is probably because it was a shortened
              filename
              if f contains "~" then
              -- see if there is a file corresponding to that name
              if baFileExists(picFolder & baLongFilename(f & extn)) then
              -- separate out the filename without extension
              the itemDelimiter="\"
              newName=the last item of(picFolder & baLongFilename(f & extn))
              the itemDelimiter="."
              delete the last item of newName
              -- give the member the desired name
              member(m, c).name=newName
              end if
              end if
              end repeat
              end repeat
              -- restore
              the itemDelimiter=oldID
              end renameMembers

              Back up your Director movie before running it! Change picFolder and extn as
              appropriate.

              > thanks a lot for ur reply

              You're welcome.

              Andrew