Extractor - Extract, cleanup and delete archives

Discuss and share scripts and script files...
bdeshi
Posts: 4249
Joined: 12 Mar 2014 17:27
Location: Asteroid B-612 / Dhaka
Contact:

Re: Extractor - Extract, cleanup and delete archives

Post by bdeshi »

highend wrote:I'll work on it when I come back from my holidays...
NO! don't hack the forum, just ask Don nicely. :mrgreen:
Icon Names | Onyx | Undocumented Commands | xypcre
[ this user is asleep ]

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

@Changelog:
v0.9.6:
* Fixed the GUI bug that files aren't visible when DstInactivePane=1
* Fixed a bug for destination folder cleanup when CleanUpFolder=1
* Minor changes to the xy script
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

Stef123

Re: Extractor - Extract, cleanup and delete archives

Post by Stef123 »

Thanks. Works great now :tup:

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Extractor - Extract, cleanup and delete archives

Post by kunkel321 »

Hi Highend, I just learned about this tool from your "Overview of Scripts" topic..
Sorry for being dense, but can this be evoked from a Custom Toolbar Button?
What should go into the "On left click" box? I tried

Code: Select all

run """C:\Users\swkunkel\AppData\Roaming\XYplorer\Tools\Extractor_v0.9.6\Extractor.exe"" ""<get SelectedItemsPathNames |>"" ""<get Path i>""";
(which is where I put the downloaded files.)

But should it say
load "run """C:\Users\swkunkel\AppData\Roaming\XYplorer\Tools\Extractor_v0.9.6\Extractor.exe"" ""<get SelectedItemsPathNames |>"" ""<get Path i>""";"
or something?
ste(phen|ve) kunkel

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

but can this be evoked from a Custom Toolbar Button?
Sure. The first line that you posted is correct (run """...)
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Extractor - Extract, cleanup and delete archives

Post by kunkel321 »

Thanks for the super fast reply!
I tried it again and it does seem to be working... Not sure why I was getting a script error before.
Anyway, another question:
This setup should work, right?
Image

Instead, I get the dialog to "Select the .exe file for Bandzip." I don't have Bandzip installed though... 7zip is the only one I have.

Also tried with it pointing to 7zG.exe and 7zFM.exe. No luck.
ste(phen|ve) kunkel

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

No, the

[General]
Application=

must point to the packer section name that you want to use.

So in your case:
Application=7-Zip

(because the section is called "[7-Zip]")
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Extractor - Extract, cleanup and delete archives

Post by kunkel321 »

highend wrote:No, the
[General]
Application=
must point to the packer section name that you want to use.
So in your case:
Application=7-Zip
(because the section is called "[7-Zip]")
DOH! :oops: I probably should've been able to figure that one out!

Thanks for writing this. I've wanted some kind of functionality like this for a long time. Never really thought about it as a script idea though. :biggrin:

EDIT: Okay, here's an alternate icon for you :)
Image

It's an ICO with all standard sizes (256 .... 16)
I can make one with only 24 and 16, if people want.
Attachments
ExtractorTool256.zip
(126.94 KiB) Downloaded 221 times
Last edited by kunkel321 on 15 Nov 2015 17:56, edited 1 time in total.
ste(phen|ve) kunkel

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

I probably should've been able to figure that one out!
It's explained in the first post of this thread :)
I've wanted some kind of functionality like this for a long time. Never really thought about it as a script idea though
It's here for more than 3,5 years :mrgreen:
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Extractor - Extract, cleanup and delete archives

Post by kunkel321 »

highend wrote: .... It's here for over more than 3,5 years :mrgreen:
Yea, I should really check the script sub forum more often.... I learned about a few cool new (new to me) scripts from your Script Showcase pinned thread.

RE Alternate image:
This one with just the tool and not the Windows icon in the background is actually more discernible at low rezzes.

Image

For proper citation I should point out that I found the image via Google Image Search for "extractor."
http://nacionalelectricaferretera.com/images/4051.jpg
Apparently some electrical supply company.
The tool though is a wheel puller though. At least I think... Not really sure.

EDIT: Forgot to attach zip
Attachments
WheelPuller.zip
(103.95 KiB) Downloaded 227 times
ste(phen|ve) kunkel

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

License of that image?
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Extractor - Extract, cleanup and delete archives

Post by kunkel321 »

highend wrote:License of that image?
I don't know... There's no indication that it's copyrighted... Since the site is for an electric supply company, and not an image company, I'm not too worried. Still, I wouldn't recommend selling it for profit. I'm not 100% sure, but I think it's okay to use the Windows icons.

As for my work (which was minimal), there's no restriction. I consider it "open." :mrgreen:

EDIT: Actually it's a super-simple image.. I could totally recreate it as a vector thing with DrawPlus' shape builder tools if you want.
ste(phen|ve) kunkel

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

I could totally recreate it as a vector thing with DrawPlus' shape builder tools if you want.
Sure :)
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

kunkel321
Posts: 645
Joined: 10 Jun 2012 03:45
Location: Near Seattle

Re: Extractor - Extract, cleanup and delete archives

Post by kunkel321 »

Meh... It didn't turn out as "photorealistic" as I was hoping it would. Doesn't really matter at 24x24 though. :wink:

Screenshot
Image

And here's a chronicle of making it...
Image

Again, free for all! :biggrin:
Attachments
ExtractorToolCustom.zip
(50.43 KiB) Downloaded 227 times
ste(phen|ve) kunkel

highend
Posts: 13033
Joined: 06 Feb 2011 00:33

Re: Extractor - Extract, cleanup and delete archives

Post by highend »

Nice work, very professional!

I'll make it the default icon for the next release :tup:
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de

Post Reply