Re: Creating a list of alias from folder contents
Re: Creating a list of alias from folder contents
- Subject: Re: Creating a list of alias from folder contents
- From: cassj <email@hidden>
- Date: Sat, 25 Jan 2003 21:54:01 -0500
Scott-
Give this a try...
set fileList to every file of folder (choose folder)
repeat with listitem in fileList
set itemToProcess to listitem
display dialog "Process this file: " & itemToProcess
end repeat
I just threw in the "display dialog" just for demonstration purposes.
This is where you would process the file in focus.
There are many more people on this list that know a lot more than I do.
So don't just go by what I say. :-)
Regards,
Cassj
On Saturday, January 25, 2003, at 08:51 PM, Scott P. Richert wrote:
Scott P. Richert wrote:
Thanks, Duncan and Cassj. Yes, I do have strict control over the
folder (in fact, it should only contain PS files), so this should
work.
Actually, I wrote before I tested it. This won't work for me, because
it returns a list of file names, not aliases, so I can't pass it to
Acrobat Distiller. What I need is the easiest way to take a folder and
generate a list of files as aliases. I can do it be iterating through
all of the files, but there must be an easier way. Any ideas?
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.