avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Sunday May 9, 2021, 9:51 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - KodeZwerg [ switch to compact view ]

Pages: [1] 2 3 4 5 6 ... 25next
Does this fit?

It is a batch file that reads file text.txt and put it into %var% for your use.
Modify [ set file="test.txt" ] to your needs.
Modify [ var ] to your needs.

Create a new file with extension .bat or .cmd and copy/paste following code:
@echo off
setlocal enableDelayedExpansion
set LF=^

:: Two blank lines above needed for definition of LF - do not remove
set file="text.txt"
set "var="
for /f %%N in ('find /c /v "" ^<%file%') do set lineCnt=%%N
<%file% (
  for /l %%N in (1 1 %lineCnt%) do (
    set "ln="
    set /p "ln="
    set "var=!var!!ln!!lf!"
set var

Now you have %var% filled with content of "text.txt"

If you want to use it within a program, best practice would be to insert on a new line [ CALL "c:\path\app.exe" ] at bottom.

Hello Friend!

Not a joke at all. And I wouldn't have mentioned those results if I had not been able to do so myself, about 3 to 4 times a week.
I did not attack your experience with your custom data-set, if I would attack anything at all (what I am not doing) than its the "75% better than that"-thing, that if at all, would only be valid by your usage, not global.
I also compressed alot in my life and I also most often use 7-Zip, WinRAR is also installed on my system, depend on my need I choose one of them. (yes, with custom setting for each purpose)
I respect your opinion as your personal experience for your filetype!

If you want to know wich archiver compresses best IMHO = kgb and/or uharc.

I did not posted Author link earlier because Site is full of ads.
Too bad, they removed compression results, i guess due too many possible settings.
I do not find any resource that say 7zip 75% better. <- just another random one to ease my statements.

...he/she didn't play enough with the available settings. In any of the archivers. By all means, play around with dictionary sizes and word sizes inside these archivers. And a whole new world will open to you.
But that is exactly my point why I have put the quotes up. Using different algorithms with different settings end in different results.
You did found for your filetype a very good setting that beat WinZIP (I guess standard setting) by 75%, be proud of it! (really no sarcasm, i mean it peaceful)

And why did that person choose video files for compression?
Because video files are hard to compress due their high entropy level I would say. (Using files that are easy to compress, where is the competition? <- no real question, just a thought)

It's no skin of my back if you choose to disregard though. After all, if you are happy with your solution, more power to you.
What solution? Did I mention something accidently? I am full on your side, 7-Zip is awesome! (but also WinRAR and WinZIP is aswell.)
As mentioned, I do respect your opinion, but that is in no way a global rule that 7-Zip is "always" 75% better.

Hey its friday, lets dance

7-Zip vs WinRAR vs WinZip

File Formats
7-Zip vs WinRAR vs WinZip – Supported File Formats
7-Zip, WinRAR and WinZip all support RAR, ZIP, 7Z and some other archive file formats.

7-Zip: Support packing and unpacking 7z, XZ, BZIP2, GZIP, TAR, ZIP and WIM file formats. But only support unpacking RAR, AR, ARJ, CAB, CHM, CPIO, CramFS, DMG, EXT, FAT, GPT, HFS, IHEX, ISO, LZH, LZMA, MBR, MSI, NSIS, NTFS, QCOW2, RPM, SquashFS, UDF, UEFI, VDI, VHD, VMDK, WIM, XAR and Z file formats.



Compression Rate
7-Zip vs WinRAR vs WinZip – Compression Rate and File Size
As for the compression rate and the output file size, 7-Zip, WinRAR and WinZip don’t differ too much. But the output format you choose can make a difference.

For instance, when you choose .zipx format rather than .zip format when using WinZip for file compression. The ZIPX format has a higher compression ratio than ZIP. If you choose 7Z format instead of ZIP format using 7-Zip to compress files, 7Z format would have a much higher compression ratio than ZIP format.

Based on test, to compress 1.5 GB of video files, 7-Zip delivers the highest compression rate, WinRAR comes as the second, while WinZip provides a compression ratio that is about 6% lower than 7-Zip. But if you choose the advanced compression format .zipx when using WinZip, its compression ratio is almost the same with 7-Zip.

7-Zip vs WinRAR vs WinZip – Conclusion
By comparing 7-Zip, WinRAR and WinZip above, all of these three top file compression software can do a good job in file packing and unpacking. If you want a totally free file compressor and get the smallest file size, 7-Zip may be a good choice.

Both 7-Zip and WinRAR are the best in compression. But their default formats 7Z and RAR are not fully supported on other operating systems. If you want to open 7Z or RAR files on non-Windows systems, you need to download and install the compatible software first. On the contrary, WinZip file can be opened on various systems with its own application.

Therefore, to choose 7-Zip, WinRAR or WinZip, it depends on you.

Just mentioned it to clear things up, or was posting a result of "7-Zip is 75% better than WinZip" a joke that belong in here?

two questions from dev to dev, because it wonder me since post #1

can such an application really safe me clicks/mouse movement/steps to do/time... that was my basic thinking for post #2
question #1: i mean like i wrote in post #2 "have 2x Explorer open, drag and drop, done", is your way in any way faster?
more elegant/comfortable it might be. like all your splendid apps. but that is not my question and yes, it is a user wish that you do, that i know and respect.

(fyi, i do all my file operations with totalcommander tool so i wont test this time your app)

in no way i want to make you application bad, really, i just would like to understand the "useful-factor"
question #2: compared to pure windows functions, how would you rate your own app? (0 = not needed at all, 10 = cant live without)

thanks for reading and hopeful not mad with my spelling and questions!

DC Gamer Club / Re: Ludum Dare 48: April 23rd-26th, 2021
« on: May 04, 2021, 08:18 PM »
that video, is that made from your pc or other competitor?
i do also enjoy it much! great job!

Yeah perhaps I don't need a full band just a person in front of a computer who is good at music software... Anyone?
Question is, can a covered version be public used without harming any music-rights?
You should get informed who is current copyright holder and ask for permission, than you may use original version instant.
I did made in past a few remixes but was not allowed to make them public avail (in germany it is called GEMA and they act like bountyhunters.)

Printed notes from original music score can be bought here: follow this link.

Hello Donators, Members, English Teachers!

This topic is meant to:
- remind me if I lost contact to a project (I am often doing many projects at once, the ones that I personal like more, will be done first, I might have forgot the one or other)
- hate me: feel free to critism me, no trolling, stay social, thanks
- thank me: if you just like to say "Thanks" or "Hi" without referring to any special thread, do it

This thread should give everyone the opportunity to say whatever you like to tell me. No porn or other things that violates forum rules will be allowed.

(for reminders, please put a link to thread within post)

KodeZwerg's Realm / Re: TextLimit by KodeZwerg
« on: May 02, 2021, 10:29 AM »
After reading and understanding your last posts, i have made a decission to create a new app for that purpose. For my "TextLimit" is is out of bound. (possibility to split-to-fit will be added here aswell)

Your needs, more "configurable" / "flexible" things: that has nothing to do with that project, just some basics match.

New project "kzTwitster" (name may change, was my first thought), will be born soon to fit your requests.

KodeZwerg's Realm / Re: TextLimit by KodeZwerg
« on: May 01, 2021, 06:20 AM »
I am no twitter-dude, will add optional checkboxes for 'begin with "..."' and 'print page number'.
Those extra data be included to set limit.

Shall both be on extra lines or within start/end of text?

Example (for page 2):
'0123456789' -> '...0123456789 [2/2]'
And does twitter count linebreaks as a wasted character?

KodeZwerg's Realm / Re: TextLimit by KodeZwerg
« on: May 01, 2021, 03:46 AM »
Very possible to do (i planned doing such anyway)
My plan:
Add button 'split-to-fit'
Press that button my app will add at bottom another edit box, starting with first logical correct block.
Another button 'next' will add next logical data to that edit box until everything is processed.

Is that something to fit request or should workflow be different?

@v, you are welcome bro.
@o, if you mean my 'split-to-fit' suggestion, you might take a look on my own project (textlimit) and add that as a request if you like my way of doing things. (I am still a bit confused, so i stop request things within a user-made-request, i do not wish to violate any rules)

Suggestion to have it work like you expect it ( have less uninformative replies for you...)

Make your request like 'i only want to have my wish coded and not interested in alternatives or other information'
Ofc better written but that it is meaning of my 'text'.

If it is urgent, you may tell that a bonus reward will be made. And add 'PM me for details' within your request.

That would reduce reply amount alot = you are not confused/more satisfied.

I do not know about your slave stuff, sound bad to me.

Join discord is always a good choice.

Enjoy your staying!

(No sarcasm)

Good day.
Sorry my bad english.
My post 'not interested' plus what to do without any 3rd party tool was not meant to offend you.
Sorry if you interpreted this as such.
On this forum many talented coders/users with great knowledge are taking a request/giving hints.
- To signal others/or OP; i'd say what i say.
From point of donation: give what think is fair. 1cent or a million, it is your free will, no rule.
Mouser (the head from this forum) made a cool 'how much is fair' letter, just search a bit and you find it.
First of all, all software is availabe free, but have in mind, even coders/helpful users must eat!

Everything i write is not meant to harm, i just express myself often rough without knowing it.

Enjoy your staying!

Post New Requests Here / Re: Start Menu mod
« on: April 28, 2021, 01:17 PM »
If you can live without any familiar features this would be feasible. (just the box with the items would be the result if I try.)
Else I would say: not possible, at least not for one that do give support in here as hobby-coder.
Nice how you shortened the names, also very hard to do by code.

I don't understand prev/post - am I missing something here?
Prev = pick a color for "legit" text, all text that did not cross the limit
Post = pick a color for text that exceed the limit.

KodeZwerg's Realm / Re: TextLimit by KodeZwerg
« on: April 28, 2021, 02:58 AM »
 - i accidently made a mistake with cursor positioning, fixed
 - added a statusbar to inform you better (row, column, position, characters left)
 - Renamed application
 - fixed coloring when you delete text
 - Updated version number

Updated version in Post #1.
(Updated image aswell in post #1)


Positioning error:
When you entered text, all was fine, edit text inside text = cursor jumped to end of document.

Coloring error:
I forgot to recolor when you delete characters.

KodeZwerg's Realm / TextLimit by KodeZwerg
« on: April 27, 2021, 01:57 PM »
KodeZwerg's TextLimit

Application Name TextLimit
Version v1.1
Short Description Portable application to visualize a set limit on Text
Supported OSes Windows
Version History
  • First public release.
  • Added Hotfix.
Author KodeZwerg

This application is a quick build that match my personal needs.
1. Set up limit number
2. Enter Text (or paste)

When limit is reached, text will be drawn in red characters.
Coloring and Statusbar updating only perform when you use Keyboard.

Additional I have implemented a quick and dirty password generator that also uses the limit.



- Based on an Idea from a user and an Application made by Vic aka PublicDomain from this Forum. Here is a link to his LimitPad.

@vic, no need to implement my wish anymore. i recreated my project (formerly deleted my project after seeing yours). it fit perfect to my needs and no user-request is harmed since it is my own thing now :-]
soon i make it public within my realm downloads.
my changes in short:
only react to used characters, no colors can be choosen, dark and light theme, pw-generator
maybe i add a "split-to-fit" feature, so one main edit can be filled with as much text as you like, pressing a button would generate several sub-edits that hold text to match the limit.

have a nice day!

Post New Requests Here / Re: Show Center of monitor screen
« on: April 26, 2021, 08:09 PM »
so I am wondering if the problem might be my setup. I mean, how can (A_ScreenWidth/2), (A_ScreenHeight/2) give anything but the center? Why is there a problem in the first place?
FYI the taskbar is not part of the desktop client area. Normal apps center on desktop, so their centering is correct.
Still just a guess and a fact; if author really has used your formula there would be another problem, "Screen" is a dimensional sum of all connected displays :-] (having 2 displays of same size the center would be "one half on left and one half on right display")
Luckily there are Api ways to determine position and size of taskbar, aslong original taskbar is used. If custom taskbar was used, last chance would be to recognize dimension of current active display to center things like you want to have it.

Post New Requests Here / Re: Show Center of monitor screen
« on: April 23, 2021, 04:22 AM »
First version's shaping as a goodie/keeper, functionality-wise  :)
-publicdomain (April 22, 2021, 08:08 PM)
You might want to look at RegisterHotKey and UnregisterHotKey, just as a small hint  ;D

Images looks wonderful! Amazing job you do there!!  :up:  :Thmbsup: :up:

The trascendental question is If I can use offline wikiloc
Trying to see if exist an app for this purpose and I can download a offline map to see without internet connection.
With a little more research I did found this link.

Check it out if that is possible with your devive and you are good to go.
I'll try and comment
 :-* :P
have you tried link?

With a little more research I did found this link.

Check it out if that is possible with your devive and you are good to go.

In the 1. target

I may be able to upload a route like in wikiloc
When I use the GPS of my mobile I must be able to recognize the route and obtain additional data with no internet connection.

I do not exactly how you translate that in english but i try:
For dogs and cats that have access to open land, there was invented a small gps tracking device plus software for pc to map everything.
Also a bicycle thief protection, same feature, exists.

All are same, small gps devices that either save track or send directly track to satellites.

In addition to that: Android GPS Tracking

No Internet = No GPS at all AFAIK.
(then it is only possible with a string that you lay out and measure how long it is afterwards)

Have you ever heard of the ancient artefact that us older folks call: "A Map"?
-Stephen66515 (April 22, 2021, 03:29 AM)
Go way back more in time or a different story. Hansel and Gretel, Breadcrumbs  :D

That method still works to not get lost.

Pages: [1] 2 3 4 5 6 ... 25next