| QUOTE (flattspott @ May 31 2004, 12:04 PM) |
Excuse my ignorence then BJ.
So its normal proceedure to Sub the zipcount by 1 before doing anything. |
Well, I know it's a pain, but yes, you'd have to sub the number.
...and no need to apologize for anything, flattspott! The File Manager stuff is looking great, and just let me know what you need to make things happen.
i posted that you could get the info. but it doesnt extract. <
Getting the info and extracting works for me.
My degugging/test:
| CODE |
Set CurrentPathAndFile $ActualPath$\Test.zip Set CurrentPath Z:
:UNZIP OpenZip CurrentZipFile %CurrentPathAndFile% SetFunc ZipCount GetZipFileCount CurrentZipFile Sub ZipCount 1 MsgBox "ZipCount is %ZipCount%" 0 300 For I = 0 To %ZipCount% GetZipInfo CurrentZipFile %I% Set FileName%I% %ZipEntryName% MsgBox "File %I% is %FileName{I}%" 0 300 Next For I = 0 To %ZipCount% UnzipFile CurrentZipFile %I% %CurrentPath%\%FileName{I}% Next CloseZip CurrentZipFile MsgBox "File UnZipped" 0 300 // Return
|
EDIT: Maybe it was fixed since then
- Fixed broken UnRar and UnZip support.
This post has been edited by flattspott: May 31 2004, 04:43 PM <
| QUOTE |
| and just let me know what you need to make things happen. |
I just have have a small question about the GetZipFileCount. Is that just for zip files or can it be used on rar files too. <
| QUOTE (flattspott @ May 31 2004, 12:27 PM) |
I just have have a small question about the GetZipFileCount. Is that just for zip files or can it be used on rar files too. |
Well, unfortunately, there's a "GetRarFileCount"
I might play around a bit and see if I can make them interchangeable. <
| QUOTE |
| Well, unfortunately, there's a "GetRarFileCount" |
Oh, I didn't see that in the ActionscriptReadme or the ChangeLog. I figured either rar's didn't have it or they just used the GetZipFileCount. All is good then if that's the case. <
| QUOTE |
EDIT: Maybe it was fixed since then
- Fixed broken UnRar and UnZip support.
|
how did i miss that? last i knew it was still broken. grrr <