• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: file list as data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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 
POSIX
 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

References: 
 >file list as data (From: "Jan E. Schotsman" <email@hidden>)

  • Prev by Date: file list as data
  • Next by Date: Re: file list as data
  • Previous by thread: file list as data
  • Next by thread: Re: file list as data
  • Index(es):
    • Date
    • Thread