1 Reply Latest reply on Jul 6, 2008 4:31 PM by JBOY_PLUS

    Can't drop files on Dock Icon to open them

    AndiSkater
      Hi!

      I'm writing a small application which crops png files. It should be possible to drop one or more png files onto the Dock Icon. The problem is, that the Dock icon does not accept the drop. It does not highlight and i can't drop the files. It works, if I press cmd+alt while dragging, because this forces the Dock to accept the drag. My app opens or activates and processes the files as planned, so the invoke function works correctly. I don't know why the Dock doesn' recognize that ma app accepts png files, because I registered this filetype in the application descriptor.

      Can you help me?

      Thank you in advance.

      Excerpt from my app descriptor file:
      -----------
      <fileTypes>

      <fileType>

      <name>Portable Network Graphics image</name>

      <extension>png</extension>

      <contentType>image/png</contentType>
      </fileType>
      </fileTypes>
      -----------