ZIP Support (so I can finally retire "PowerDersk Pro")
-
admin
- Site Admin
- Posts: 64838
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
FAQ | XY News RSS | XY X
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
I got quite a few portable apps, and now i can finally do THIS even with my very limited scripting abilities.+ Scripting got a new function.
Name: Zip_Extract
Action: Extract items from a Zip archive.
Syntax: zip_extract(zipfile, path)
Brilliant work
Kind regards
Regmos
Regmos
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
Help me understand something that seems odd, ok?
I've got an existing ZIP selected (let's call it test.zip) and when I bring up context menu for it, the two options I find unusual are the last two:
Add to zip
Add to test.zip
I guess one can have a zip within a zip? Never did it before so...
But really it's this one: How can I add test.zip to itself? I see it creates a test-01.zip but should this option be grayed out instead as it's not quite logical if the selected item is a zip itself.
I've got an existing ZIP selected (let's call it test.zip) and when I bring up context menu for it, the two options I find unusual are the last two:
Add to zip
Add to test.zip
I guess one can have a zip within a zip? Never did it before so...
But really it's this one: How can I add test.zip to itself? I see it creates a test-01.zip but should this option be grayed out instead as it's not quite logical if the selected item is a zip itself.
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
-
grindax
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
.
Last edited by grindax on 23 Jan 2016 20:07, edited 1 time in total.
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
Thanks for adding scripting commands.
Few thoughts:
1. Can contents of zip_list() show extensions by default like name.ext rather than just name?
2. Is it possible for command zip_extract to extract specific files? syntax: zip_extract(zipfile, path, files to extract)
3. Can command zip_extract have a smart mode for extract here, where if top folder is folder then use extract here, else use extract to folder\ ?
I am trying to achieve the following with the below code (which does not work yet but try selecting a zip file and run it from address bar):
Code: Select all
$extract=inputselect ("Checked items will be extracted to parent folder", zip_list(,"|",1),"|",3,,,,"<curitem>"); text $extract;b. Extract checked files to parent folder, hence request for #2.
UPDATE: Just realized #1 will not help me to get real icons since they are inside the archive, right?
Last edited by serendipity on 27 Jun 2013 17:30, edited 1 time in total.
-
admin
- Site Admin
- Posts: 64838
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
It does not show the extensions??? Certainly does here.serendipity wrote:1. Can contents of zip_list() show extensions by default like name.ext rather than just name?
FAQ | XY News RSS | XY X
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
Nighted wrote:BTW, this new zip feature does not work for me, it just creates empty directories on archive and extract. Hopefully, if implemented, there will be an option to remove this from XY's context menu as I can easily create my own archive tools using the catalog or through XY's powerful scripting.
v12.50.0013
Error occurs on archive and extract:

I want XY to serve soft ice cream. Please Don, make XY serve soft ice cream.
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
Interestingly some show, some don't.admin wrote:It does not show the extensions??? Certainly does here.serendipity wrote:1. Can contents of zip_list() show extensions by default like name.ext rather than just name?
-
admin
- Site Admin
- Posts: 64838
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
Could it be that for some reason your system does not support zip folders. What OS is it?Nighted wrote:Nighted wrote:BTW, this new zip feature does not work for me, it just creates empty directories on archive and extract. Hopefully, if implemented, there will be an option to remove this from XY's context menu as I can easily create my own archive tools using the catalog or through XY's powerful scripting.Oh. Anybody else?
v12.50.0013
Error occurs on archive and extract:
FAQ | XY News RSS | XY X
-
admin
- Site Admin
- Posts: 64838
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
Freakish. This is not supposed to happen.serendipity wrote:Interestingly some show, some don't.admin wrote:It does not show the extensions??? Certainly does here.serendipity wrote:1. Can contents of zip_list() show extensions by default like name.ext rather than just name?
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
Yes, here's another from another PC: Much better, only the last one, XYplorer.url is missing.admin wrote:Freakish. This is not supposed to happen.serendipity wrote:Interestingly some show, some don't.admin wrote:It does not show the extensions??? Certainly does here.serendipity wrote:1. Can contents of zip_list() show extensions by default like name.ext rather than just name?
-
admin
- Site Admin
- Posts: 64838
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
Whatever, all will be great (tomorrow you get Zip View...
). But now I have to focus on soccer... 
FAQ | XY News RSS | XY X
-
serendipity
- Posts: 3360
- Joined: 07 May 2007 18:14
- Location: NJ/NY
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
Nice!admin wrote:Whatever, all will be great (tomorrow you get Zip View...). But now I have to focus on soccer...
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
Can't agree moreadmin wrote:Whatever, all will be great (tomorrow you get Zip View...). But now I have to focus on soccer...
Tag Backup - SimpleUpdater - XYplorer Messenger - The Unofficial XYplorer Archive - Everything in XYplorer
Don sees all [cit. from viewtopic.php?p=124094#p124094]
Don sees all [cit. from viewtopic.php?p=124094#p124094]
-
j_c_hallgren
- XY Blog Master
- Posts: 5826
- Joined: 02 Jan 2006 19:34
- Location: So. Chatham MA/Clearwater FL
- Contact:
Re: ZIP Support (so I can finally retire "PowerDersk Pro")
All this makes me think of Zip-A-Dee-Doo-Dah as in https://www.youtube.com/watch?v=LcxYwwIL5zQadmin wrote:Whatever, all will be great (tomorrow you get Zip View...). But now I have to focus on soccer...
Still spending WAY TOO much time here! But it's such a pleasure helping XY be a treasure!
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
(XP on laptop with touchpad and thus NO mouse!) Using latest beta vers when possible.
XYplorer Beta Club