Re: file list as data
Re: file list as data
- Subject: Re: file list as data
- From: "Jan E. Schotsman" <email@hidden>
- Date: Wed, 23 Jul 2014 22:59:31 +0200
On Jul 23, 2014, at 7:00 PM, Yvan KOENIG wrote:
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 You're right, this works too. Something mysterious is going on here. If I omit "path of" in line 4 of your code it fails.
Jan E.
|
_______________________________________________
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