Re: variable in subroutine
Re: variable in subroutine
- Subject: Re: variable in subroutine
- From: JJ <email@hidden>
- Date: Mon, 09 Jul 2001 15:00:36 +0200
>
I can't get the total number of files and folders...
>
TheFiles and TheFolders return only the number of files and folders on
>
the first level.
>
If I call the subroutine from within itself at that moment the value of
>
TheFolders and TheFiles
>
should be the current value or not?
>
>
Some Suggestion?
>
Greetings from rainy Hamburg :)
>
Alberto
>
>
>
copy (choose folder) as string to VolumeToCheck
>
copy 0 to NumberOfFiles
>
copy 0 to NumberOfFolders
>
copy (VolumeToCheck as alias) to alias_VolumeToCheck
tell app "Finder" to (opt + L)
count items of (entire contents of alias_VolumeToCheck)