Re: folder contents to popup button
Re: folder contents to popup button
- Subject: Re: folder contents to popup button
- From: Damien Bobillot <email@hidden>
- Date: Mon, 22 Aug 2005 00:49:17 +0200
Le 21 août 05 à 22:13, Mike Abdullah a écrit :
Hi, in my app, I have a popup button. What I need is for the
button's menu to show the name of every file in the folder:
~/Library/MyApp
What would be the best way of accomplishing this? Ideally, the box
would be able to update itself when the folder contents change, but
this really isn't necessary, I'm quite happy to only check upon
start-up. Also, it would be nice if the list only showed
applescript files from that folder, but once again this isn't
strictly necessary.
Listing a folder content :
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/
ObjC_classic/Classes/NSFileManager.html
--
Damien Bobillot
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden