T themacster298 macrumors member Original poster Feb 20, 2011 55 0 May 6, 2012 #1 Hello, so recently I saw an applescript that move files to the trash that you link it to.(/Users/name/Downloads is an example) How would I do this in a mac application?
Hello, so recently I saw an applescript that move files to the trash that you link it to.(/Users/name/Downloads is an example) How would I do this in a mac application?
chown33 Moderator Staff member Aug 9, 2009 11,447 9,677 A sea of green May 6, 2012 #2 A Mac application written in which programming language? If you mean in Objective-C, using the Cocoa framework, see this: http://www.cocoabuilder.com/archive/cocoa/2991-trash-access-via-objective-cocoa.html Found by googling objective-c move to trash Also see: https://developer.apple.com/library...es/NSWorkspace_Class/Reference/Reference.html Found by reading the cocoabuilder page and looking up the NSWorkspace class reference.
A Mac application written in which programming language? If you mean in Objective-C, using the Cocoa framework, see this: http://www.cocoabuilder.com/archive/cocoa/2991-trash-access-via-objective-cocoa.html Found by googling objective-c move to trash Also see: https://developer.apple.com/library...es/NSWorkspace_Class/Reference/Reference.html Found by reading the cocoabuilder page and looking up the NSWorkspace class reference.