So I tried to post this about an hour and a half ago, and it has still
hasn't shown up. So sorry if this turns out a repost :)

I started using the CopyFileOrFolder method in the LR:

  Dim i as Integer
  Dim newFolder as FolderItem
  
  If source.directory then //it's a folder
    newFolder=destination.child(source.name)
    newFolder.createAsFolder
    For i=1 to source.count //go through each item
      If source.item(i).directory then
        //it's a folder
        CopyFileOrFolder source.item(i), newFolder
        //recursively call this
        //routine passing it the folder
      else
        source.item(i).CopyFileTo newFolder
        //it's a file so copy it
      end if
    next
  else //it's not a folder
    source.CopyFileTo destination
  end if

But I am getting a nilobjectexception when it tries to copy a .mpkg (it is
being recognized as a folder) at this line

For i=1 to source.count

I checked the count for the file, and it is 1.

This installer exists on the source, and not on the target(destination).

As far as the other issue, I'll post it again. Does anyone know how to not
have filenames truncated to 32 characters under OS X? I've looked all over
the web and can't find a solution.


All My Best,
Jeffrey


_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to