objective c - How to trigger Finder's Move File Dialog programatically? -
i'm working on small cocoa utility lets user drag files onto window , moves different folder.
instead of moving dragged file myself (via [[nsworkspace sharedworkspace] performfileoperation:nsworkspacemoveoperation...]
), trigger finder's "move file dialog". give user visual feedback (progress bar) , take care of error handling (e.g. file @ target exists).
i've thought using apple script, maybe there's easier way bring dialog?
thanks! mark.
maybe should check nsfilemanager. http://developer.apple.com/library/mac/#documentation/cocoa/reference/foundation/classes/nsfilemanager_class/reference/reference.html
Comments
Post a Comment