Re: Shell script to get a list of all subfolders inside a folder
Re: Shell script to get a list of all subfolders inside a folder
- Subject: Re: Shell script to get a list of all subfolders inside a folder
- From: Christopher Stone <email@hidden>
- Date: Tue, 13 Oct 2015 06:26:12 -0500
On Oct 13, 2015, at 05:38, Shane Stanley <email@hidden> wrote: set thePosixPaths to theFolderInfos's valueForKey:(current application's NSURLPathKey) return thePosixPaths as list
That last loop takes longer than the rest of the script.
______________________________________________________________________
I did that...
Oh, nope. I did this:
set thePosixPaths to theFolderInfos's valueForKey:((current application's NSURLPathKey) as list)
I didn't notice how AppleScript reformatted it.
The corrected line is:
set thePosixPaths to (theFolderInfos's valueForKey:(current application's NSURLPathKey)) as list
Thanks.
|
_______________________________________________
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