FROM : has
DATE : Tue Mar 25 20:06:38 2008
Evan Chaney wrote:
> I am writing an AppleScript Studio application that is a front-end
> for the ditto command. I would like the main application window to
> have two drag and drop targets where the user can drop a source
> folder and a destination folder. Each target would then display the
> name and icon of the chosen file. What UI element would be
> appropriate to use here?
NSTextField and NSImageView for displaying paths and icons
respectively (the former can accept keyboard input and both can accept
file drag-n-drop). e.g. See FileMerge's 'Compare Files' window for an
example:
/Developer/Applications/Utilities/FileMerge.app
BTW, Studio questions are best directed to the AppleScript-Studio list:
http://lists.apple.com/mailman/listinfo/applescript-studio
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
DATE : Tue Mar 25 20:06:38 2008
Evan Chaney wrote:
> I am writing an AppleScript Studio application that is a front-end
> for the ditto command. I would like the main application window to
> have two drag and drop targets where the user can drop a source
> folder and a destination folder. Each target would then display the
> name and icon of the chosen file. What UI element would be
> appropriate to use here?
NSTextField and NSImageView for displaying paths and icons
respectively (the former can accept keyboard input and both can accept
file drag-n-drop). e.g. See FileMerge's 'Compare Files' window for an
example:
/Developer/Applications/Utilities/FileMerge.app
BTW, Studio questions are best directed to the AppleScript-Studio list:
http://lists.apple.com/mailman/listinfo/applescript-studio
HTH
has
--
Control AppleScriptable applications from Python, Ruby and ObjC:
http://appscript.sourceforge.net
| Related mails | Author | Date |
|---|---|---|
| Evan Chaney | Mar 25, 18:17 | |
| has | Mar 25, 20:06 | |
| Mike Abdullah | Mar 26, 01:47 |






Cocoa mail archive

