Re: file list as data
Re: file list as data
- Subject: Re: file list as data
- From: Shane Stanley <email@hidden>
- Date: Wed, 23 Jul 2014 09:56:12 +1000
On 23 Jul 2014, at 5:13 am, Jan E. Schotsman <email@hidden> wrote:
I can convert one file like this:
set thePath to POSIX path of item 1 of myMoviesList tell application "JES Deinterlacer" make new project with data {preset:"2x speed", file:POSIX path thePath} end tell
Don't ask me why this works but it does (maybe I was just lucky when a wrote the script this way the first time). What I need is {POSIX file thePath1 , POSIX file thePath2}
The example you say works is using a POSIX path, which is not the same thing as a POSIX file. If you need POSIX paths, try this:
tell application "System Events" set myMoviesfolder to folder "<myFolder>" of moviesFolder set myMoviesList to POSIX path of files of myMoviesfolder whose kind is "QuickTime Movie" end tell
tell application "JES Deinterlacer" make new project with data {preset:"2x speed", file:myMoviesList} end tell
|
_______________________________________________
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