topbanner_forum
  *

avatar image

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

Login with username, password and session length
  • Sunday April 28, 2024, 8:48 pm
  • 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 - BGM [ switch to compact view ]

Pages: prev1 ... 7 8 9 10 11 [12] 13 14 15 16 17 ... 23next
276
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 20, 2019, 11:44 PM »
Ah, okay, I updated it again to version 1.2.  Now you can assign multiple hotkeys to the same command.
The hotkeys involve the modifiers you use to alter the nature of the commands, so now you can create a hotkey that involves them.
See here for details.

277
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 20, 2019, 10:21 PM »
Version 1.1 is out now!
See my post here for details!

The best change is that now you can set a Global Hotkey for absolutely ANY TextWorx Command!
You can also customize the hotkeys for the TexWorx Menu and the TextWorx Toolbar!

When you assign hotkeys to TextWorx commands, though, be sure and think about how TextWorx uses shift and control as modifier keys for the commands - and TextWorx will honour those even if you use them for the hotkey - so there may some conflict.

You might want to use win alone for your hotkeys, and save ctrl and shift for it's command usage.

What I mean is this: Say you use 201 "encase" for a hotkey. If you use the shift key in your hotkey, it will only ever remove quotes because shift changes the command to reverse.

So, for commands that work on both lines and in reverse, you are best not to use control or shift in the hotkey.  Also, beware of using alt in your hotkeys, because alt often times invokes a windows own menu.  For commands that do not use the shift or control modifiers, you can freely use those modifiers in your command hotkeys.

Using hotkeys for commands is a little experimental right now, so it might not always work as expected yet.  Consider it a beta feature for now.

278
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 17, 2019, 01:55 PM »
Ath - it's in the next release with it's own command.  I also added a dialogue to convert to and from any base.

279
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 17, 2019, 09:26 AM »
Wraith - yes, I think you are right.  The CamelCase, snake_case and kebab-case already have the inner word separations.  I can see how converting between those cases could be useful to a coder.  But we couldn't do anything for all lowercase letters, though.  Okay, I'll add it.

280
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 17, 2019, 08:09 AM »
Yes, I have been thinking of that, too, - hotkeys for the commands but I have to figure out how to do it first.  It would be pretty nifty.  However, my first goal will be to allow the user to change the global hotkey for the menu.  Problem with hotkeys for the commands is that they would *all* be global.  OR, maybe there could be some way to lock them to the active window so they are not global.  This will require some thought.

TextWorx is about the same for you as PSPad if you add the command to the top of the main menu.  Select Text - open menu, select command

But for you, Contro, do you use autohotkey?  If you like that RunText function, I can make you a little script that will let it work for you that way; it would be pretty easy.

281
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 16, 2019, 06:54 PM »
HAha!  You are right - it's not there.  I left it out of the created ini file by accident.

Open the ini file, and under [Menus]
change this:
mainmenu=default
to:
mainmenu=800||201|307|302|301||104|901|212|725||encase|coding|editor|sort|trim|transform|convert|webedit|insert|*sar|*date|tools
and add this:
tools=default
Then restart TextWorx.
That will fix it.

After you do that, if you want RUN Text to be in the main menu, the command is 850.  Just put it in the string for the mainmenu, like this:
mainmenu=800||850||201|307|302|301||104|901|212|725||encase|coding|editor|sort|trim|transform|convert|webedit|insert|*sar|*date|tools

So, your entire [Menus] section will look like this; you will have RUN Text in the main menu, and the Tools menu will appear:
mainmenu=800||850|201|307|302|301||104|901|212|725||encase|coding|editor|sort|trim|transform|convert|webedit|insert|*sar|*date|tools
editor=default
transform=default
insert=default
trim=default
sort=default
coding=default
encase=default
convert=default
webedit=default
tools=default

Sorry for the trouble!  I'm saving up fixes for the next version.

But I'll add it in the next update so it shows by default.  The update won't affect your configuration any, though.
If you wanted to know how to add it, you'd have to look through the Menu topic in the help file.  That would say how to add the default tools menu, and also tells how to customize the tools menu and every other menu.

So, if you want to open the file in the default program, you can just RUN Text (command 850) on a filename.
RUN Text on this will open it in notepad for me because notepad is default for .txt files.
c:\test.txt

282
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 16, 2019, 03:25 PM »
I'm glad you like TextWorx - it's one of my long-time programs, and I happily use it myself.
In the Tools & Options menu, there is a command to simply RUN the selected text.
Also, if you look in the help file under Tools, you'll see a way to add your own programs into the menu.

Just select the text and choose RUN Text from the Tools Menu, it could be anything (but it doesn't do multiple lines - I think I'll add that too).
notepad "c:\test.txt"
calc


For selective chains, I've been thinking about that.  As things are, you would have to use the Select Line command, then the RUN text command.
Unless you use notepad3, which has selective chains built in already (meaning, if you push ctrl+c with no text selection in notepad3, notepad3 copies the entire line).

However, TextWorx does this for the Duplicate function.  If you use the Duplicate command with no text selection, TextWorx will grab the entire line (internally using Select Line on it's own). 

I've been thinking about making TextWorx do this for everything, not only Duplicate.  I'll add this to my list.

However, if you want to create hyperlinks to open stuff for you, check out my other program called Protocaller.  Besides html pages, there are some programs that will let you use system url protocols (there are some that limit you to just http).

283
Post New Requests Here / Re: IDEA - The Name Game
« on: January 16, 2019, 08:41 AM »
HAha Skwire - necro-thread, well, you know, in the application it links to this thread...
Autohotkey, eh?  Like me!  Maybe I'll have to get some tips from you sometime!

284
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 15, 2019, 11:25 PM »
oh, well, if there were word separations, such as spaces, that would be easy. thisisavariable would be quite difficult (more difficult than I am interested in, anyway!).  However, would anybody ever want to do that to a phrase?  I think Cytochrome wanted to do it to thisisavariable, and I can understand wanting to do that.  When people write variables in code, they never write them with spaces between.  I would actually find it easier to camelcase the vars as they come to me in my mind than to put spaces into them where they don't belong.

285
Post New Requests Here / Re: IDEA - The Name Game
« on: January 15, 2019, 10:45 PM »
Skwire - I really love this!  I publish a children's magazine and am always creating word puzzles.  This gives me some ideas.
What language did you write this in? I'm guessing C++.  It's very neat and trim and fast.

286
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 15, 2019, 09:51 PM »
Sure. As you know, different programmers/computer languages have different conventions for naming variables.

camel case: concatenated words with each word in titlecase or the first word in lowercase 
  ThisIsMyVariableName or thisIsMyVariableName

snake case: lower-case words concatenated by underscores
  this_is_my_variable_name

kebab case: lowercase words concatenated by dashes
  this-is-my-variable-name

I've been thinking about this.  But there's no way to tell where one part of the word starts and another ends.
Say you type:  thisismyvariablename - what kind of forensics is there to use to separate that string into words in order to work on the words separately?  Same thing for snake_case and kebab-case.  The best I can think of is to change spaces to - or _   But that would mean you'd have to put spaces in your variables... so I don't think this is possible without some extravagant database of words to search through and do regex camparisons.  Even then, many varables are not composed of words at all.  I don't think this can be done.

287
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 15, 2019, 06:55 PM »
Mouser - you mean on the download page?  Okey, dokey, Boss.  I've added screenshots to the download page (my other apps already had them).

288
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 15, 2019, 02:17 PM »
Okay, everyone, it's ready now!  I've made a weeks worth of changes and fixes to it, and nearly everything works like a charm.
You can check out the help file which shows the changes. 

Main changes:
  • Menus are now completely customizable
  • Full Documentation
  • Toolbars work
  • Much more reliable
  • Any command can be on the toolbar or in the menu
  • Choose from many configurable toolbars
  • Many new commands
  • Many commands fixed

If you are using one of the betas, please delete all the files before using the new version.  Version 1.0 does things a bit differently with the config INI file.

289
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 10, 2019, 10:36 AM »
Great!  It's on my todo list.

290
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 10, 2019, 08:51 AM »
cytochrome - can you elaborate a little?  In the Convert menu there is uppercase, lowercase, sentence and title case.  I could add camelCase there.  I've never heard of snake and kebab case, though.

291
N.A.N.Y. 2019 / Re: N.A.N.Y. 2019 Begins
« on: January 08, 2019, 09:48 AM »
oh!  I did see that.  I mistook it for one of those signature banners.  Thanks.

292
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 07, 2019, 08:13 PM »
I think I've figured out how to make every single menu user-configurable!
My quandry is this, though, if the default menus can be changed, and then I add new functions, they won't appear anywhere in the menu, and the user would have to read the docs to add the new items if they want them.

Should I make the default menus just toggle-able?  The user can always create their own (in the new version I'm working on) which won't ever be overwritten by the program.

293
N.A.N.Y. 2019 / Re: N.A.N.Y. 2019 Begins
« on: January 07, 2019, 12:04 PM »
Mouser, I've looked for it, and can't find it.  What's the alternate mug design?  There is a hamradio design?

294
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 07, 2019, 11:29 AM »
Updated to version 0.8.  Changelog.

I fixed the extra lines in Reverse and most all of the other ones.  I've tested all the functions and they all work now

I haven't figured out how to make the global hotkey custom, but it's on my list.

If a menu item summons a dialogue, it has a * at the end of it.  This is actually in the documentation file that I am writing which you don't have yet.  ;)

Adding a "Restart TextWorx" item is a good idea; I think I'll do that.

Yes, you need the numbering for menu items.  The numbering on the left of the = sign is the order they appear, but you can rearrange what is on the right side.  They are not tied together.  The numbering allows the program to distinguish between settings and custom items.

The Zoom Editor works (I need to work on it, though) but you can't use TextWorx' own functions in that Zoom window.  It was designed for this, and it used to work, but I broke it.  I'm working on fixing that now.

295
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 06, 2019, 09:43 PM »
It is working great in most things I use. I noticed it works well on web chat boxes in a browser.

Sometimes, I've found that it misses occasionally.  There are a few timing settings that can be tweaked to accomodate for people's different systems.  If you find that it doesn't set the text correctly, or it replaces the selection with blanks, in the [preferences] section, you can adjust:
  • clipspeed - the length of time to wait for text to appear on the clipboard - adjust this by no more than 1.0 at a time.
  • windelay - the time to wait (in milliseconds) for windows to become active before interacting with them.
  • sendmode - the method used to set the text back to the original window.  4 is default, but there is also 1, 2 and 3.  I think 4 should always work, though.

296
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 06, 2019, 09:39 PM »
There is some customization possible - not for the submenus, but you can add specific commands to the main menu - I showed how to do that above.  I am working on an options menu that will allow you to do that.  The documentation, as soon as it's all together, will also explain some of this.  There's quite a bit more to it than what appears in the menu.  Right now it's all hidden in the ini settings.

BBC Code, yeah, we can do that, too.  Really, we could do anything; it's just a matter of time spent and understanding what to do to the text.
I'll put BBC Code on my todo list.

In the next update I'll release some fixes to a few things that are not quite working right.  Hold tight!  I appreciate y'all's interest! 

297
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 06, 2019, 11:09 AM »
So, the idea is for most functions: 
  • without modifiers = normal mode
  • shift = reverse the effect
  • control = work on each line
  • control shift = reverse the effect on each line

Some functions don't have a reverse because it doesn't matter - like the "Reverse" function, or other things that can't be reversed.
Sometimes you may want to work the effect twice, so therefore you have the option of forward again, or to reverse if you like - like the Base64 encoding, for example, where you said sometimes you would need to do it twice. 

So, you hold the modifier keys (shift, or control, or shift+control) when you click on the command - unless you are using a dialogue panel, in which case you hold the modifier key when you click the Accept button.

Okay, I've uploaded a new version.  The modifier keys all work now.  Some of the menu names were wrong before, but I think I've fixed them all.  There were some functions that didn't work on lines or would not reverse because the modifier key wasn't being detected.  This time, I deleted all the former zip files before I added the new one.

Also, you can add favourite items to the main menu by putting this in the textworx.ini file.
I'm working on an options panel to let you choose, but until I get that done, I might give a list of commands in the documentation.
The ini key is the first number on the left of the = sign.  The command is the second number.  maxcustom is the number of commands to be shown in the menu; the order is set by the number sequence, not by the position of the ini key.

[Menu]
maxcustom=10
100=201
101=307
102=302
103=301
104=separator
105=104
106=901
107=212
108=725
109=403

I still have to add the base64 encode for you, Ath.

298
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 06, 2019, 09:25 AM »
I have a feature request:
  • In the Transform menu, could 'Base64 Encode' and 'Base64 Decode' be added? (Should probably be separate entries, as for some purposes a double encoding is used...)
Oh yes!  That would be fun, too!

And a few bug-reports:
  • Convert / 'URI encode | decode' : is duplicated on the Transform menu
  • Transform / 'URI encode | decode' : on the same selection does only URI encode, not a decode when a valid % encoding is in the selection
  • Convert / 'Dec to Hex | Hex to Dec' : does only Dec to Hex (20 -> 14 -> E -> <error>), maybe a prefix (#/$/0x) should be added on the Hex result?
  • Hm, it seems all those dual-conversions only do the 'left side' of the conversion, all work in progress, I presume?

Yeah, I know some commands are in more than one menu; I actually did that on purpose.
The dual-conversions all work in the version I'm working at the moment - in the beta you have there was an issue detecting the shift modifier.
I'll test the uri encode again.  I think I might have already fixed it.

And some other findings:
  • 'Sort and Number' / 'Renumber Lines*' and 'Increment Tokens*' : popup view can't be closed/cancelled using <Esc> key
  • Popup views sometimes show (almost) off-screen when the mouse is close to the screen-edge/Windows taskbar (The <Win-K> menu is shown completely on-screen as it should)
  • The SysTray menu has 2 'Exit' entries

Ha - it does have two exit entries!  Didn't realize that.
Escape for the panels - yeah, I don't think that works in any of them.  I'll look into adding that.  The cancel button should work, though (but I know how you feel with the escape button).
For where the popups appear - well, I tried to make them appear where the mouse cursor is.  If I attempt to force them on screen I'll have to do some calculations with the edge of the screen...  ugh....




299
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 06, 2019, 09:20 AM »
You might want to package it a bit different before uploading to your (WP) site, there are 5 zipfiles in this TextWorx release-zip, and I had to manually select the latest to extract the files from. A single TextWorx.zip file holding only the latest application-files should suffice, IMHO.

Hmmm...  My zipfile that I upload does not contain any zipfiles.  I think maybe WP is adding the newer one to the old one or something.   I'm still trying to get a handle on this WP stuff.  Maybe I have to remove the package completely in WP?

300
N.A.N.Y. 2019 / Re: NANY 2019: TextWorx - Universal Text Manipulator
« on: January 05, 2019, 01:42 PM »
Version 0.6 is ready.  I fixed all the startup issues. Best to start with a fresh setup this time.

Pages: prev1 ... 7 8 9 10 11 [12] 13 14 15 16 17 ... 23next