Jump to content

7-Zip Compressor ProgressBar


 Share

Recommended Posts

I do not have and do not know 7z, but after 2 minutes or research, I easily found that there is a switch that can show progress (-bsp1) :

https://sevenzip.osdn.jp/chm/cmdline/switches/bs.htm

By the comment, I have read, it seems that it will show a percentage of progress on stdout.  I believe you could read the stream during the run and show a progress bar without difficulties.  Look help file about reading stream under Run and StdoutRead functions.  Look help file about progress bar under ProgressSet, ProgressOn and ProgressOff functions.

Link to comment
Share on other sites

8 hours ago, AlMax3000 said:

I would like to add an autonomous progress bar inserted in the form.

Please read my posts from the thread https://www.autoitscript.com/forum/topic/201647-solved-zipping-folders-from-the-path-given/

When you use 7zG.exe, you will get a progress window.

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to comment
Share on other sites

  • Moderators

AlMax3000,

Please try and keep a civil tongue here. This is not the first time I have seen you react badly to offered advice - please make it the last.

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

48 minutes ago, AlMax3000 said:

I really wasted time here, insignificant answers for brain-damaged children

Not really a gentlemanly reaction to the answers from me and @Nine .

I noticed that I gave you the suggestion with 7zG.exe over 3 months ago, -> http://; https://www.autoitscript.com/forum/topic/200978-7-zip-compressor/

As long as the file(s) is (are) reasonably large, a fully acceptable progress window will appear. For a small file a progress bar is finished in ms, of course.

EDIT : Thanks @Melba23 for your comment.

Edited by Musashi

Musashi-C64.png

"In the beginning the Universe was created. This has made a lot of people very angry and been widely regarded as a bad move."

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...