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

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -