Commands

Top  Previous  Next

 

 

Use Modifier Keys to gain functionality:

Without a modifier, the command will operate on the selected text as a block.

shift         hold this to reverse the command.

ctrl         will operate on each line individually.

shift+ctrl  combine them to reverse the command on each line individually.

 

The following charts show all of the possible commands along with their modifier keys.

The ... in the Command Name indicates that the command uses a dialogue box - you hold the modifier key WHEN you push the Accept button in the dialogue.

Some of the items are not useful in the menus (such as Select Word), but can be added as a button on the toolbar.

 

Hint: If you use the Index panel of this help file, then you can see the Commands in numerical order or you can search for them by name or number.

 

Command ID Categories

Editor

Encase

Coding

Convert

Transform & Encrypt

Sort & Number

Trim & Spacing

Insert

Date & Time

WebEdit

Search and Replace

Tools & Options

 

Editor

Items used for navigating the text area or working with the window.

ID

Command

shift

ctrl

ctrl+shift

Description

101

Save

 

 

 

Sends ctrl+s

102

Undo

 

 

 

Sends ctrl+z

103

Select All

 

 

 

Sends ctrl+a

104

Paste as Text

 

 

 

Pastes current clipboard as plaintext.

114

Send Selection to Notepad

 

 

 

Pastes current selection into new Notepad window.

105

Dual Copy

 

 

 

COPY using auxiliary clipboard.

106

Dual Cut

 

 

 

CUT using auxiliary clipboard.

107

Dual Paste

 

 

 

PASTE using auxiliary clipboard.

108

Select Line

 

 

 

Selects the current line under the cursor.

109

Copy Line

 

 

 

Copies current line where the cursor is located.

110

Duplicate

 

 

 

If there is a selection, that will be placed on a new line below the current line where the cursor is located.

If there is no selection, the entire line will be duplicated to the line below it.

111

Delete Line

 

 

 

Deletes the current line where the cursor is located

113

Text Statistics

 

 

 

Popup report with count statistics for lines, paragraphs, sentences, words, glyphs.

115

Zoom Editor...

 

 

 

Edit selected text in a resizable window.  This can be useful when you have to work in teeny little text areas.  You can select the text, then edit it comfortably in the larger Zoom Editor window, and then send it back.  You can even use functions from the TextWorx Menu within the Zoom Editor.

120

Select Word

 

 

 

Selects the word under the cursor.

121

Key Left

 

 

 

Sends the Left Arrow Key.

122

Key Right

 

 

 

Sends the Right Arrow Key.

123

Key Up

 

 

 

Sends the Up Arrow Key.

124

Key Down

 

 

 

Sends the Down Arrow Key.

109

Copy Line

 

 

 

Copies the current line under the cursor to the clipboard.

125

Copy

 

 

 

Just sends ctrl+c for Copy

126

Cut

 

 

 

Sends ctrl+x

127

Paste

 

 

 

 

723

Find and Replace String...

 

 

 

Replace each occurence of text with another.  Check the box to replace all occurances; uncheck to only replace the first one.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Encase

The encase functions will ignore preceding and trailing spaces.  So if you grab one by accident, it will account for this and ignore the spaces.

ID

Command

shift

ctrl

ctrl+shift

Description

201

"encase"

checkmark

checkmark

checkmark

Encases the selection with double-quotes.

202

'encase'

checkmark

checkmark

checkmark

Encases the selection with single-quotes.

208

%encase%

checkmark

checkmark

checkmark

Encases the selection with percent signs.

207

*encase*

checkmark

checkmark

checkmark

Encases the selection with asterisks.

209

-encase-

checkmark

checkmark

checkmark

Encases the selection with hyphens.

203

(encase)

checkmark

checkmark

checkmark

Encases the selection with parenthesis.

205

[encase]

checkmark

checkmark

checkmark

Encases the selection with square brackets.

206

{encase}

checkmark

checkmark

checkmark

Encases the selection with curly brackets.

204

<encase>

checkmark

checkmark

checkmark

Encases the selection with carets.

210

\encase\

checkmark

checkmark

checkmark

Encases the selection with backslashes.

211

/encase/

checkmark

checkmark

checkmark

Encases the selection with forwardslashes.

212

Surround...

checkmark

checkmark

checkmark

Opens a little window to allow you to enter your prefix and suffix.  Hold the modifiers when you push "okay" in the window.

folder

Custom Encase Items

 

 

 

These are your own custom encasing items. To see how to add your own items, see the Encase Topic.

 

Coding

 

ID

Command

shift

ctrl

ctrl+

shift

Description

301

/*css*/

checkmark

checkmark

checkmark

 

302

<!--html-->

checkmark

checkmark

checkmark

 

303

//javascript and C#

checkmark

checkmark

checkmark

 

304

<%asp%>

checkmark

checkmark

checkmark

 

305

<%--asp--%>

checkmark

checkmark

checkmark

 

306

<?php?>

checkmark

checkmark

checkmark

 

307

%autohotkey%

checkmark

checkmark

checkmark

 

308

;autohotkey

checkmark

checkmark

checkmark

 

309

'visual basic

checkmark

checkmark

checkmark

 

310

^notetab

checkmark

checkmark

checkmark

 

311

$notetab & $powershell

checkmark

checkmark

checkmark

 

312

bcx$

checkmark

checkmark

checkmark

 

313

#powershell

checkmark

checkmark

checkmark

 

212

Surround...

checkmark

checkmark

checkmark

Opens a little window to allow you to enter your prefix and suffix.  Hold the modifiers when you push "okay" in the window.

 

Convert

 

ID

Command

shift

ctrl

ctrl+

shift

Description

401

UPPER CASE

 

 

 

Converts all letters in selection to upper case.

402

lower case

 

 

 

Converts all letters in selection to lower case.

403

Title Case

 

 

 

Converts all letters in selection to title case.

404

Sentence case

 

 

 

Converts all letters in selection to sentence case.

420

CamelCase

 

 

 

Use on a string of space-separated words. It capitalizes the first letter and removes the spaces.

421

snake_case

 

 

 

Use on a string of space-separated words. It forces all letters to lower case and inserts an underscore between them.

422

kebab-case

 

 

 

Use on a string of space-separated words. It forces all letters to lower case and inserts a hyphen between them.

405

Hexify String

 

checkmark

 

Converts letters and numbers in selection to hex format.

Example = 45 78 61 6D 70 6C 65

415

Dec <> Hex

checkmark

 

 

Converts decimal value to hex value. shift to do contrary.

416

Dec <> Binary

checkmark

 

 

Converts decimal value to binary. shift to do contrary.

418

Dec <> Base64

 

 

 

Converts decimal value to Base64. shift to do contrary.

419

Convert Number Base...

 

 

 

Opens a dialogue where you can choose a number base to change the selection into.  Use this on single number values of any number base.

408

URI Encode | Decode

checkmark

 

 

URI Encodes selection. shift to decode selection

409

Decimal <> Roman Numeral

checkmark

 

 

Converts numbers in string to Roman Numerals. Shift to revert to decimal numbers.

410

\ to /  |   / to \

checkmark

 

 

Converts backslash to forwardslash. shift to convert forwardslashes to backslashes.

411

\ to \\   |   \\ to \

checkmark

 

 

Doubles backslashes. shift to remove double backslashes.

412

/ to //  |  // to /

checkmark

 

 

Doubles forwardslashes. shift to remove double forwardslashes.

413

" to \   |   \ to "

checkmark

 

 

Converts double-quotes to backslash. shift to convert backslash to double-quotes.

417

" to '        | ' to "

checkmark

 

 

Converts double-quotes to single quotes. shift to convert single-quotes to double-quotes

 

 

 

 

 

 

 

Transform & Encrypt

 

ID

Command

shift

ctrl

ctrl+

shift

Description

710

Reverse

 

checkmark

 

Reverses the selection. control to operate on each line separately.

711

Caesar Encode

checkmark

 

 

Shifts alphabet by 3 for each letter. shift to shift letters back.

712

Caesar Shift...

 

 

 

Asks for how many letters you wish to shift by.  Use negative numbers for decoding.

726

Scramble

 

 

 

Scrambles all the glyphs in the selection.

728

Scramble Each Word

 

 

 

Scrambles selection, retaining word placement.

727

Typoglycemize

 

 

 

Scrambles each word typoglycemically.

732

Sort Letters

checkmark

checkmark

checkmark

Turns xigatuzw into agituwxz. shift to reverse order. Control operates on each line separately.

730

MD5

 

checkmark

 

Hashes the selection with MD5 encryption.

731

SHA1

 

checkmark

 

Hashes the selection with SHA1 encryption.

408

URI Encode | Decode

checkmark

 

 

URI Encodes selection. shift to decode selection

405

Hexify String

 

 

 

Replaces each letter with it's hex equivalent

406

Base64 String encode | decode

checkmark

checkmark

checkmark

Base64 encodes a string. shift to decode. control to operate on each line separately.

423

Pig Latin

 

 

 

Converts selection (English) to Pig Latin.

 

 

Sort & Number

 

ID

Command

shift

ctrl

ctrl+
shift

Description

501

Sort Lines

checkmark

 

 

Sort lines ascending. shift for descending.

503

Sort Lines Numeric

checkmark

 

 

Sort lines ascending, in numerical order. shift for descending.

502

Number Lines

checkmark

 

 

Number lines ascending. shift for descending.

732

Sort Letters

checkmark

checkmark

checkmark

Turns xigatuzw into agituwxz. shift to reverse order. Control operates on each line separately.

724

Renumber Lines

 

 

 

Renumbers the sequence of numbers at the start of each line.

725

Renumber Lines...

 

 

 

Renumbers the sequence of numbers at the start of each line.  Options for starting number, padding, and increment.

715

Increment Tokens...

 

 

 

Replaces all tokens in text with an incrementing number.

720

Increment Numbers by 1

 

 

 

Adds 1 to every number in selection.
Warning: removes padding)

721

Decrement Numbers by 1

 

 

 

Subtracts 1 from every number in selection.
Warning: removes padding.

722

Replace All Numbers...

 

 

 

Replace each number with the text of your choice.

733

Reverse Line Order

 

 

 

Puts first lines last, all in order

734

Sort Words

checkmark

 

 

Sorts each word onto its own line, removing duplicates and removing any blank lines. shift for descending order.

735

List Words

checkmark

 

 

Creates a space-separated list of words, removing duplicates and blank lines. shift for descending order.

736

List Letters

checkmark

 

 

Creates a list of letters used in the string, removing duplicates and separating them with spaces. shift for descending order.

737

Comma Separate

checkmark

checkmark

checkmark

Separates each word with a comma (and space), treating double-quoted sections as single words and removing punctuation. control to work on lines separately. shift or ctrl+shift to simply remove all commas.

 

 

Trim & Spacing

 

ID

Command

shift

ctrl

ctrl+
shift

Description

701

Trim Both Sides

 

 

 

Removes whitespace from beginning and end of each line.

702

Trim Space Left

 

 

 

Removes any whitespace at beginning of each line.

703

Trim Space Right

 

 

 

Removes any trailing whitespace at end of each line.

704

Remove All Spaces

 

 

 

Removes all spaces in selection.

707

Remove All Tabs

 

 

 

Removes all tabs in selection.

705

Remove Blank Lines

 

 

 

Removes every blank line in selection.

708

Compress All White Area

 

 

 

Removes all whitespace - every space, tab and carriage return.

706

Tabs to Spaces

checkmark

 

 

Converts tabs to spaces. shift to convert spaces to tabs.

714

Tab Indent

 

checkmark

 

Indents selection using tab character.

716

Interspace

checkmark

 

 

Insert spaces between each character in the selection. Regular spaces are doubled.  This can be useful, for example, if you are going to turn the string into Morse Code using SAR. shift to work in reverse: removes single spaces and changes double-spaces to single-spaces.

709

Strip HTML

 

 

 

Removes HTML formatting.

713

Trim N Characters...

 

checkmark

 

Trims N characters. Positive number trims left, Negative trims right. control to work on each line individually.

 

 

 

 

 

 

111

Delete Line

 

 

 

Deletes the line at the cursor.

112

Delete Every Other Line

 

 

 

Does just that!  To do even lines, put cursor at start of text.  To do odd lines, put one line before first line.

116

Delete Every Nth Line...

 

 

 

You specify which Nth lines to delete.

117

Double-Space Lines

 

 

 

Inserts a blank line between each line.

729

Remove Duplicate Lines

 

 

 

Does just that!

119

Join Lines

 

 

 

Converts carriage returns to spaces.  Creates a single line out of many.

129

Join Lines with Commas

 

 

 

Converts carriage returns to commas. Creates a single line delimited with commas.

130

Remove Punctuation

 

 

 

Removes punctuation . , ; : characters from the selection

 

Insert

 

ID

Command

shift

ctrl

ctrl+
shift

Description

606

Generate Numbered Empty Lines...

 

 

 

Insert N number numbered blank lines.

607

Generate Lines...

 

 

 

Create N number of lines with predetermined text.  You have the option to number and pad-number each line.

 

 

 

 

 

 

608

UUID

 

 

 

Insert a UUID (Unique Universal Identifier), like this: A9372770-A721-127B-9776-1D4FDD8926CD

609

Timestamp

 

 

 

Inserts a timestamp (up to the second) like this: 20131120162526

604

Random Number

 

 

 

Inserts a random number.  This number is generated from the value of the Default Random Digits setting (randomdigits in the ini file).  If your settings is 4, then the minimum will 1000 and the maximum will be 4000.

605

Random Number...

 

 

 

Inserts a random number after you answer a dialogue to set the minimum and maximum values and the number of required digits.

folder

Glyphs

 

 

 

A submenu of glyphs you can choose from for insertion.  It is a user-defined menu specified in the [glyphs] section.

folder

Custom Inserts

 

 

 

A submenu of custom text snippets. It is a user-defined menu specified in the [custom] section.

folder

Adscribere

 

 

 

A submenu of long text blocks built from ini file entries in the /textowrx/adscribere directory.

 

Date & Time

Inserts today's date or time in a particular format - the menu item names will adjust according to today's date.  It is a Special Menu that cannot be customized, but can be moved around within the Main Menu and it's submenus.

ID

Command

shift

ctrl

ctrl+
shift

Description

800

Favourite

 

 

 

Insert Date formatted to your Favourite Date Format setting

801

Last

 

 

 

Insert the last used date command

802

8:20 PM Tuesday, November 19, 2013

 

 

 

Insert full date and time

803

Tuesday, November 19, 2013

 

 

 

Insert the full date

806

November, 19, 2013

 

 

 

Insert long date

804

11/19/2013

 

 

 

Insert short date

805

November, 2013

 

 

 

Insert Month and Year

807

2013-Nov-19

 

 

 

Insert Year-Month-Date

808

8:21 PM

 

 

 

Insert the time

809

08:21:17 PM

 

 

 

Insert the time in long format

810

20:21:22

 

 

 

Insert time in military format

609

Timestamp

 

 

 

Inserts a timestamp (up to the second) like this: 20131120162526

 

 

 

 

 

 

 

Webedit

There is a user-defined submenu called Custom Tags, which is defined using the [webedit] section in the textworx.ini file.

ID

Command

shift

ctrl

ctrl+
shift

Description

709

Strip HTML

 

 

 

Removes all HTML formatting from selection.

302

<!--html-->

checkmark

checkmark

checkmark

Comments the selection.

901

Paste Hyperlink

checkmark

checkmark

checkmark

Copies the text selection, and uses it as the href and wraps the entity in <a> tags.

912

Text <-> Unordered List

checkmark

checkmark

checkmark

Converts lines of text into a UL with nested LI elements. Enable the Add Tab property to have the <li> lines indented with tabs.

911

Text <-> Ordered List

checkmark

checkmark

checkmark

Converts lines of text into a OL with nested LI elements.  Enable the Add Tab property to have the <li> lines indented with tabs.

903

<p>

checkmark

checkmark

checkmark

Wraps selection in <p> tags.

904

<span>

checkmark

checkmark

checkmark

Wraps the selection in <span> tags.

905

<h1>

checkmark

checkmark

checkmark

Wraps the selection in <h1> tags.

906

<h2>

checkmark

checkmark

checkmark

Wraps the selection in <h2> tags.

907

<h3>

checkmark

checkmark

checkmark

Wraps the selection in <h3> tags.

908

<h4>

checkmark

checkmark

checkmark

Wraps the selection in <h4> tags.

909

<h5>

checkmark

checkmark

checkmark

Wraps the selection in <h5> tags.

910

<i>

checkmark

checkmark

checkmark

Wraps the selection in <i> tags.

913

<a>

checkmark

checkmark

checkmark

Wraps the selection in <a> tags.

914

<b>

checkmark

checkmark

checkmark

Wraps the selection in <b> tags.

915

<ol>

checkmark

checkmark

checkmark

Wraps the selection in <ol> tags.

916

<ul>

checkmark

checkmark

checkmark

Wraps the selection in <ul> tags.

902

<li>

checkmark

checkmark

checkmark

Wraps the selection in <li> tags.

917

<hr>

checkmark

checkmark

checkmark

Inserts <hr> tag.

918

<img>

checkmark

checkmark

checkmark

Inserts <img /> tag.

919

<br>

checkmark

checkmark

checkmark

Inserts <br/> tag.

920

<div>

checkmark

checkmark

checkmark

Wraps the selection in <div> tags.

408

Uri Encode

checkmark

 

 

URI Encodes selection. shift to decode selection.

folder

Custom Tags

 

 

 

A Submenu that will allow you to use custom tags.

To see how to add your own custom WebEdit tags, visit the WebEdit topic.

 

Search and Replace

This menu depends on well-built INI files placed in the textworx/sardir directory.  INI files added to this directory will show as commands in this menu.  The ones shown here are the default ones that come with TextWorx.

For details about how this works, and how to make your own Search and Replace routines go to the Search and Replace topic.

ID

Command

shift

ctrl

ctrl+
shift

Description

723

Find and Replace String...

 

 

 

Replace each occurence of text with another.

folder

All Abbr to States

 

 

 

Converts any instance of an abbreviation to it's matching State (United States)

folder

States to Abbreviations

 

 

 

Converts any instance of a State to its corresponding Abbreviation.

folder

Latin Accentuation

 

 

 

Replaces Latin words with Accented Latin words (about 85% accurate)

 

 

 

 

 

 

 

 

Tools & Options

ID

Command

shift

ctrl

ctrl+
shift

Description

866

Repeat Last Command

 

 

 

(Experimental) Performs the last-used command again. It does not repeat the last modifer keys, just the command.  You can still use the modifier keys like normal for the last command.  Also, this only works for commands with a CommandID - it won't work for custom and user-defined items.

99

Command Report

 

 

 

Opens a simple popup that displays the Hotkey you used, the CommandID and the Command's Name.  If you use this command from the TextWorx Menu or TextWorx Toolbar, it will report the hotkey for those, respectively.  If you run it from a Hotkey, it will report the hotkey used by the Command Hotkey.

100

TextWorx Options

 

 

 

Opens the Options & Settings Dialogue.

128

Charmap

 

 

 

Opens the Windows Charmap Dialogue.

850

RUN Text

 

checkmark

 

Attempts to run the selected text via commandline.

854

Run Notepad

 

 

 

Just runs notepad.

855

Call Text

 

 

 

Initiates a phone call using your system's default softphone and the selected text via callto: url protocol.

851

Email Text

 

 

 

Creates a new email to the address within the selection in your default client such as Thunderbird or Outlook.

852

Open Selection as File in Notepad

 

 

 

Will treat the selection as a filepath and attempt to open the file (if it exists) in notepad.

853

Save Text to File

 

 

 

Copies the text selection and automatically saves it as a new text file in the TextWorx Save Directory (savedir in textworx.ini).

114

Send Selection to Notepad

 

 

 

Copies the currently selected text and pastes it into a new Notepad window.

856

Edit TextWorx INI

 

 

 

Opens TextWorx.ini in your Text Editor.

857

Help

 

 

 

Opens this help file.

858

Restart TextWorx

 

 

 

Restarts the TextWorx application.

859

Toggle Toolbar

 

 

 

Toggles the TextWorx Toolbar.

860

Customize Toolbar

 

 

 

Opens the Customize Dialogue for TextWorx Toolbar.

861

Hide Toolbar

 

 

 

Hides a visible Textworx Toolbar.

862

About

 

 

 

Shows the About dialogue.

863

Homepage

 

 

 

Opens TextWorx's homepage.

865

Contact Authour

 

 

 

Opens the authour's Contact Web Page

864

Exit TextWorx

 

 

 

Quits the TextWorx application.

folder

Extra Tools

 

 

 

A submenu with user-defined tools. To see how to add your own tools to this menu, visit the Tools topic.