Re: file list as data
Re: file list as data
- Subject: Re: file list as data
- From: Luther Fuller <email@hidden>
- Date: Tue, 22 Jul 2014 14:45:37 -0500
On Jul 22, 2014, at 2:13 PM, Jan E. Schotsman wrote: I need to make a script for a user that passes a file list as data.
I don't have any movies, so I experimented with jpeg files. Perhaps some variation of this will work ...
property myMoviesfolder : alias "Work_Files:Photographs:19May08" tell application "System Events" set myMoviesList to files of myMoviesfolder whose kind is "JPEG image" end tell repeat with i from 1 to (count items of myMoviesList) (item i of myMoviesList) as alias -- POSIX path of the result -- optional ? set item i of myMoviesList to the result end repeat
I don't know if the application "JES Deinterlacer" needs the posix path or if it can use a list of aliases. If the list of aliases works, then you can avoid use of path (a good thing). If a list of aliases does not work, then uncomment the line "POSIX path ..." and see what happens.
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden