Page 4 of 6

Re: Extractor - Extract, cleanup and delete archives

Posted: 14 Jul 2015 17:01
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:

Re: Extractor - Extract, cleanup and delete archives

Posted: 15 Jul 2015 11:22
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

Re: Extractor - Extract, cleanup and delete archives

Posted: 16 Jul 2015 07:14
by Stef123
Thanks. Works great now :tup:

Re: Extractor - Extract, cleanup and delete archives

Posted: 14 Nov 2015 23:42
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?

Re: Extractor - Extract, cleanup and delete archives

Posted: 14 Nov 2015 23:47
by highend
but can this be evoked from a Custom Toolbar Button?
Sure. The first line that you posted is correct (run """...)

Re: Extractor - Extract, cleanup and delete archives

Posted: 15 Nov 2015 01:29
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.

Re: Extractor - Extract, cleanup and delete archives

Posted: 15 Nov 2015 07:44
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]")

Re: Extractor - Extract, cleanup and delete archives

Posted: 15 Nov 2015 17:22
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.

Re: Extractor - Extract, cleanup and delete archives

Posted: 15 Nov 2015 17:31
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:

Re: Extractor - Extract, cleanup and delete archives

Posted: 15 Nov 2015 18:11
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

Re: Extractor - Extract, cleanup and delete archives

Posted: 15 Nov 2015 18:36
by highend
License of that image?

Re: Extractor - Extract, cleanup and delete archives

Posted: 15 Nov 2015 19:58
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.

Re: Extractor - Extract, cleanup and delete archives

Posted: 16 Nov 2015 10:46
by highend
I could totally recreate it as a vector thing with DrawPlus' shape builder tools if you want.
Sure :)

Re: Extractor - Extract, cleanup and delete archives

Posted: 16 Nov 2015 19:49
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:

Re: Extractor - Extract, cleanup and delete archives

Posted: 16 Nov 2015 21:09
by highend
Nice work, very professional!

I'll make it the default icon for the next release :tup: