ATTENTION: You are viewing a page formatted for mobile devices; to view the full web page, click HERE.

DonationCoder.com Software > Post New Requests Here

IDEA: Why do unzip apps have to be so complicated?

<< < (8/9) > >>

wr975:
Since I had to touch the script again, here's a new version of "Smart Unpack" with some changes.

Changes:
- Refresh issue solved (I had an idea and it worked out... finally. I hated this.)
- Copying the filename to the clipboard can now be activated with a setting in the ini file.
- If configured to recycle files, it'll now properly recycle split archive files in all variations (rar).

Still not working:
Prevent multiple instances. Please don't select several files and unpack them via the context menu. If you want to unpack several files at once, use the GUI.

Upgrade instructions:
Rename the existing SmartUnpack.ini and start the tool. A new ini with new configuration parameters will be created.

How refresh works and needs to be configured:
SpoilerTo get rid of the refresh issue, I've come up with this solution: The script checks the current window and sends a F5 if you're on the desktop or using Windows file explorer.

If the current window is not the desktop or Windows file explorer, it can be assumed you're using a third party file explorer. The script will look in the ini file if you configured the "refresh" setting and send the keystroke you configured.

Example: I'm using xplorer². I'd have to enter the combination CONTROL+R (^r) in the ini file, so the script would know how to refresh the view in xplorer².

It's tested under Windows XP. Please tell me if it's not working under any other MS OS.


New version posted below... 55 downloads here. Amazing!  :Thmbsup:

skywalka:
Associating Smart Unpack with the doubleclicking is the best thing for me at the moment.  I got the idea from the new setting available in ALZip.

To get the DEP problem I rightclicked & selected Open since I haven't added Smart Unpack to my context menu.

The refresh & "copy name to clipboard" work fine & I needed that functionality for the first archive I used it in.  Thanx so much!

skywalka:
Ahhh...  My favorite script in the world. :)

If anyone's interested I haven't had the DEP problem since a clean reinstall of XP.  I guess the problem was caused by some other 3rd party addon.
Some bugs:
1.  When I used the GUI for multiple extraction WinRar asked me the password for a Rar file.  I cancelled via the WinRar prompt but Smart Unpack still deleted the archive.  Had I only been extracting 1 file I would have got an information message from Smart Unpack & the archive would remain safe & sound.

2.  I used Smart Unpack on an archive which had these characters in the filename: 专辑  It seems any of those foreign characters cause Smart Unpack to delete the archive & the temporary file leaving you with nothing!

If configured to recycle files, it'll now properly recycle split archive files in all variations (rar). -wr975 (August 06, 2007, 02:17 PM)
--- End quote ---

I love this.  After extraction files can be in a different order & sometimes filenames are too long to be able to see an extension.  As time has gone by I've realized how reassuring it is to have 50 split archives automatically deleted when an extraction is complete.  No chance of deleting the wrong file or not deleting one of the correct ones.

Still not working:
Prevent multiple instances. Please don't select several files and unpack them via the context menu. If you want to unpack several files at once, use the GUI.-wr975 (August 06, 2007, 02:17 PM)
--- End quote ---

I know this feature is not supported but I wish it was.  Maybe you have been waiting for an excuse to get back to playing with this!

When I unpack multiple archives at the same time they seem to unpack OK because the temporary folders in the root of the drive remain.  Wouldn't it be possible for Smart Unpack to check if it is already running & queue extractions like the GUI version if neccesary? 

wr975:
Hi,

thanks for your feedback.  :Thmbsup:

I was unable to redo your multiple extraction cancelled bug. Everytime I tried doing so, the script caught "errorlevel 1" sent by Winrar.exe and didn't erase the archive. I tried entering wrong passwords, hitting cancel, closing the password dialog...

The same with special characters. I created various archives with names like "mäöü$%&!" and using the GUI I had no problem extracting them all. A filename containing "??" is not supported. How did you create such file?  :tellme:

Perhaps you can pm me the archive files you used and/or detailed instructions, so I can do the same you did and see if I get the same error.

About multiple instances...
I've had a look at it - again - and this thread (http://www.autohotkey.com/forum/topic12371.html) discusses the problem and gave me some ideas.

The good: I got it working. The script will now try to prevent multiple instances. The bad: Creating a job queue to process various archives is also possible, but it won't make it into the script. It's too much work. This would be a major rewrite as the script is not intended for mass unpacking. Just use the GUI for mass unpacking.  ;)


Edit:
FWIW... just an update. This tool works just fine under Win7x64 and I absolutely love using it.... still. I could sure improve the code and get rid of the "Goto" commands *g* but it's working. No need to change anything. Getting it in the context menu is a bit tricky, especially under Win7, so I'm glad there's a great freeware program out there: http://defaultprogramseditor.com
Attached to this post is a short screenvideo showing how to add it to the context menu. This is, where it's really useful.

skywalka:
Hey wr975.  I think I've uncovered a bit more of the problems now.

When I extracted 2 password archives I got the Smart Unpack error message for each.
When I extracted in the order of 1 regular archive then 1 password archive then 1 regular archive the password archive was deleted & an empty folder created.

The foreign character bug doesn't occur unless Smart Unpack creates a folder with the relevant characters.

The archives I have are hundreds of MBs each.  Maybe they were created on a native Asian version of Windows?  I can't create archives with foreign characters either but you can rename with foreign characters after their creation so try copying the exact characters from my previous post.

Thanx for continuing the development of this.  I don't think anyone who uses it could revert to not using it.

1 other thing:  I find the GUI gets in the way when it is busy because you can't move it.  Is it possible to change this?  It would be preferrable to be able to minimise it to the system tray.

I had a quick test of the multiple instance prevention & noticed no difference in behavior.  I'll keep an eye on it & let you know how I go.

PS  The new icon for the exe is a nice touch.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version