• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Recognising multiple selection dropped on app icon
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Recognising multiple selection dropped on app icon


  • Subject: Recognising multiple selection dropped on app icon
  • From: Alex Fuller <email@hidden>
  • Date: Mon, 08 Apr 2002 08:56:49 +0100

Hi,

I am having difficulty differentiating between the three cases of a) a
single file dropped on my app icon, b) multiple files dropped on my app icon
and c) a series of files dropped individually on my app icon over time. It's
the difference between (b) and (c) I'm interested in (take an app like
DropStuff for example which will archive individual files separately, but
put a batch of files in the same archive).

Each file dropped triggers application:openFile: in my NSApplication
delegate in series, but I can't tell whether the user dropped them together
or not. I think the best way is to use a timer to build a batch with an
arbitrary timeout within which any further incoming files are treated as
part of the same drop. I've got the feeling I might be missing something
though - I was hoping there was an array or count value somewhere I could
pick up...

Alex
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Closing Drawers
  • Next by Date: calling carbon functions from Cocoa
  • Previous by thread: Re: Closing Drawers
  • Next by thread: calling carbon functions from Cocoa
  • Index(es):
    • Date
    • Thread