Finder and Apple Events
Finder and Apple Events
- Subject: Finder and Apple Events
- From: Charles Srstka <email@hidden>
- Date: Sat, 29 Sep 2001 17:02:43 -0500
I have a program in which I can drag and drop an item from an outline
view to the Finder. When this occurs, the program will create a file in
a temporary location, which the Finder will move to wherever the user
dragged the icon. However, if the act of creating the file takes longer
than a certain amount of time, and consequently my outlineView:
provideDataForType: method keeps running for a while before writing data
to the pasteboard, the Finder gets impatient, and seems to either time
out or re-send the message asking for pasteboard data. Is there any way
to send an Apple Event to the Finder asking it not to time out but
rather to just wait for the method to finish? Is there any way for the
method to send a signal to the Finder that says "I'm still alive - I'm
not hanging"?
Any answers would be greatly appreciated. Thanks!