topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Tuesday November 30, 2021, 10:01 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

Author Topic: TextLimit by KodeZwerg  (Read 1483 times)

KodeZwerg

  • Moderator
  • Joined in 2018
  • *****
  • Posts: 628
    • View Profile
    • Donate to Member
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.
Usage:
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.

kzTextLimit.pngTextLimit by KodeZwerg


Enjoy.


- 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.
« Last Edit: April 28, 2021, 03:26 AM by KodeZwerg »

KodeZwerg

  • Moderator
  • Joined in 2018
  • *****
  • Posts: 628
    • View Profile
    • Donate to Member
Re: TextLimit by KodeZwerg
« Reply #1 on: April 28, 2021, 02:58 AM »
Hotfix:
 - 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)

Enjoy!

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.
« Last Edit: April 28, 2021, 03:24 AM by KodeZwerg »

orbis

  • Supporting Member
  • Joined in 2017
  • **
  • default avatar
  • Posts: 56
    • View Profile
    • Donate to Member
Re: TextLimit by KodeZwerg
« Reply #2 on: May 01, 2021, 01:20 AM »
@KodeZwerg, thank you.

Could it be made Twitter-thread-generation-friendly? That would be very good!

In other words:

- set 280 characters, and type until text goes red
- delete characters to within 280 limit at a sensible point
- make a break to the next tweet in the thread (three dashes on a new line, or something)
- start typing the next tweet in the thread
- rinse and repeat until end of thread is reached.

Something like...

aaaaaaaaaaa [goes red at 281]

---

bbbbbbbbbb [goes red at 281]

---

etc...

KodeZwerg

  • Moderator
  • Joined in 2018
  • *****
  • Posts: 628
    • View Profile
    • Donate to Member
Re: TextLimit by KodeZwerg
« Reply #3 on: May 01, 2021, 03:46 AM »
@orbis
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?

orbis

  • Supporting Member
  • Joined in 2017
  • **
  • default avatar
  • Posts: 56
    • View Profile
    • Donate to Member
Re: TextLimit by KodeZwerg
« Reply #4 on: May 01, 2021, 04:47 AM »
Good idea, and thanks. Just bear in mind that those who do Twitter threads:

- may want to start or end a given tweet with '...' or '1/10' or '1/x' to indicate that something further is happening
- prefer not to end a tweet mid-word, but rather in a place which beckons the reader on to the next tweet.

So there needs, I think, to be the possibility of the writer choosing where and how to break to the next chunk of writing. Automating it too much is unlikely to give adequate flexibility.

https://threadreaderapp.com/thread/1348964732104007680.html is probably the biggest Twitter thread out there, currently, and I note that a writer:

- may start his tweet with numerals, or put them at the end of each tweet. or three dots, etc
- may want to use Twitter emojis.

https://getchirrapp.com/ has tried to enable the creation of Twitter feeds, but somehow I have never got on with it.

Thanks for responding!

KodeZwerg

  • Moderator
  • Joined in 2018
  • *****
  • Posts: 628
    • View Profile
    • Donate to Member
Re: TextLimit by KodeZwerg
« Reply #5 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]'
Or:
'...
0123456789
[2/2]'
And does twitter count linebreaks as a wasted character?

orbis

  • Supporting Member
  • Joined in 2017
  • **
  • default avatar
  • Posts: 56
    • View Profile
    • Donate to Member
Re: TextLimit by KodeZwerg
« Reply #6 on: May 01, 2021, 07:17 AM »
Extra lines or not?: could there we an option to choose? (People's styles vary hugely.)

Spaces and paragraph breaks: all count towards the 280 characters.

orbis

  • Supporting Member
  • Joined in 2017
  • **
  • default avatar
  • Posts: 56
    • View Profile
    • Donate to Member
Re: TextLimit by KodeZwerg
« Reply #7 on: May 01, 2021, 07:22 AM »
One issue is that a writer may not know when s/he begins how many tweets will be in the thread. It's a work in progress. So they might opt for any of the following, at the beginning or end of each tweet:

- "1/20" (where they go back and adjust the numbering before publishing)
- "1/x" (where they may, in the final tweet, write something like "19/19", if there are 19 tweets)
- "1 " or "1. " or "1/ " at the beginning or end of a tweet.

Additionally, some writers like to mark their final tweet with "ENDS" or "end/" or even "fin" (for finish).

I suspect it would be impossible to cater for all options, but it might be good to know the diversity around.

Thanks again.

orbis

  • Supporting Member
  • Joined in 2017
  • **
  • default avatar
  • Posts: 56
    • View Profile
    • Donate to Member
Re: TextLimit by KodeZwerg
« Reply #8 on: May 01, 2021, 07:24 AM »
Just thought of a further issue, which complicates things. Twitter shortens a hyperlink, and the shorter url constitutes the character count. So, where a link might be 16 characters, say, the shortened version (which you do not see until you publish) might only count 8 towards the 280 limit. I think this may be an insurmountable issue!

KodeZwerg

  • Moderator
  • Joined in 2018
  • *****
  • Posts: 628
    • View Profile
    • Donate to Member
Re: TextLimit by KodeZwerg
« Reply #9 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.

orbis

  • Supporting Member
  • Joined in 2017
  • **
  • default avatar
  • Posts: 56
    • View Profile
    • Donate to Member
Re: TextLimit by KodeZwerg
« Reply #10 on: May 02, 2021, 10:50 AM »
I'm sure that's the best way forward. Thanks!