New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Apps and Games Discussion of applications and games available for Mac OS X.

Automaticlly Generating List of Files in a Folder?


Post Reply New Thread Subscribe

 
Thread Tools
MikeIsGood

 
MikeIsGood's Avatar
 
Member Since: Mar 20, 2008
Posts: 115
MikeIsGood will become famous soon enough
Mac Specs: 2010 MBP | 15" 2.4 GHz i5, 4GB

MikeIsGood is offline
Is there any way to make a list of files in a folder, and have the list automatically and continuously populate itself? i.e. List file (maybe an .xls file, for example) shows files A, B, C. When I add file D to the folder the list draws data from, D shows up in the file along with A, B, and C the next time I open the list file / refresh it.

Wasn't sure if there would be some combination of inputs or formulas in Excel or Numbers to accomplish this. Tried searching this forum; didn't find anything.

If that's not possible, not the end of the world. Just curious. Thanks for any help
QUOTE Thanks
MinaMACMan

 
MinaMACMan's Avatar
 
Member Since: Apr 16, 2007
Location: Redwood City, CA / Stanford, CA
Posts: 1,792
MinaMACMan is a jewel in the roughMinaMACMan is a jewel in the roughMinaMACMan is a jewel in the rough
Mac Specs: MacBook, Black, 2.0GHz C2D, 2GB RAMs, 160GB HD

MinaMACMan is offline
Well... I am not sure if you can do that through Excel.

BUT, you can probably write a quick script with Python that when it runs it will save the output (File Names) into a text, maybe even an xls file.
QUOTE Thanks
toMACsh

 
toMACsh's Avatar
 
Member Since: Jul 30, 2009
Location: Wisconsin
Posts: 5,504
toMACsh is a name known to alltoMACsh is a name known to alltoMACsh is a name known to alltoMACsh is a name known to alltoMACsh is a name known to alltoMACsh is a name known to alltoMACsh is a name known to all
Mac Specs: Mac Mini Core 2 Duo

toMACsh is offline
Mike, if you can do that, you are good!

And clue us in on the solution, if you find one.

But, it's not too difficult to do a list. So when you need it updated, generate a new one.
QUOTE Thanks
Lifeisabeach

 
Lifeisabeach's Avatar
 
Member Since: Sep 30, 2007
Location: Wilmington, NC
Posts: 6,929
Lifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond reputeLifeisabeach has a reputation beyond repute
Mac Specs: iMac i3 (mid-2010) + OS 10.9; TV 3; iPhone 5S; iPad 4

Lifeisabeach is offline
I believe you can do this using a custom Automator workflow or Applescript as a Folder action. I'm not at my Mac at the moment to experiment some, but here are a couple Google hits that may give some ideas. The first in particular details how to get a notification when a folder's contents are altered using a script. It should be simple to adapt that into the creation of a list.
Folder Actions - Get Notified When a File Is Added to a Folder
Force Folder Actions to notice changed files - Mac OS X Hints
Apple - Support - Discussions - Trigger Folder Action on File/Folder ...


Please verify and include the exact model/year of your Mac and OS X version number (available from "About This Mac", then "More Info" on the Apple menu).
------
Links: Onyx | EasyFind | Apple Hardware Test | How to test your hard drive | The Safe Mac Adware Removal Guide | Uninstall MacKeeper
------
Lifeisabeach - Mac-Forums Member of the Month June 2009, Feb 2012, and March 2013.
QUOTE Thanks

Post Reply New Thread Subscribe


« safari crashes - Can anyone help me at all? | Old free games for OS X 10.3.9 (eMac) »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Just How Secure Are the 'Reset Safari' & 'Erase Free Space' Facility? scoot OS X - Operating System 3 05-30-2007 05:28 PM
List view vs. Icon view - can't see all files =^o.o^= Switcher Hangout 8 01-20-2007 06:39 PM

All times are GMT -4. The time now is 02:09 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?