• 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: "koenig.yvan" <email@hidden>
  • Date: Wed, 23 Jul 2014 18:41:26 +0200

I must apologize, I posted the wrong code.
Here is what I ran with perfect result :

set p2d to path to documents folder as text
tell application "System Events"
set myMoviesfolder to folder (p2d & "dossier sans titre:")
set myMoviesList to path of files of myMoviesfolder
end tell

set thePosixFileList to {}
repeat with movieFile in myMoviesList
set thePath to POSIX path of movieFile
set posixFile to POSIX file thePath
set end of thePosixFileList to posixFile
end repeat
thePosixFileList

Yvan KOENIG (VALLAURIS, France) mercredi 23 juillet 2014 18:41:14



 _______________________________________________
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: 
 >Re: file list as data (From: "Jan E. Schotsman" <email@hidden>)

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