Tool "Textify" - Summary (english)

English support forum

Moderators: white, sheep, Hacker, Stefan2

Post Reply
User avatar
tuska
Power Member
Power Member
Posts: 2421
Joined: 2007-05-21, 12:17 UTC

Tool "Textify" - Summary (english)

Post by *tuska »

This tool offers many advantages, among others it supports - for example - me in creating forum posts.
Therefore I take the liberty of publishing this summary in this forum.
Tool "Textify"

Textify is a tool which allows to select and copy text from many places in Windows where it’s not possible otherwise.
This includes error messages, dialogs, lists, and even elements of the taskbar. ... integrating web services with Textify.
Textify could then be used for quick actions such as translating text, searching the web, looking up a word in a dictionary, ...
Here is a demonstration (.gif)
Main link of Textify: https://rammichael.com/textify


EXAMPLE --> The Windows version number should be extracted from the "Info" window and copied to the clipboard <--
The Windows version can be determined as follows (.. with winver.exe ..):
  1. Type in the command line of Total Commander winver, press <ENTER> key ........... -> "Info" window
  2. Press Windows logo key + R -> "Run" window appears, enter winver, press OK ........ -> "Info" window
    [corresponds to right click on start button, execute, ...]
Position the cursor in the "Info" window in the line with the version number(!) and press Ctrl + right mouse button [changeable]
--> copies the Windows version number to the clipboard.

Tip from Stefan2 - Forum "Total Commander (Deutsch)" -> <German>:
Alternatively, instead of using "winver" and "Textify", you can simply type in ver|clip into the command line of Total Commander
and press <enter>.

With Ctrl+V the content of the clipboard can then be output as text in a suitable place,
e.g. in Total Commander Forum when entering requests/bug reports, etc.

Example-1: "Textify" .... Version 2004 (Build 19041.572)
Example-2: "ver|clip" .. Microsoft Windows [Version 10.0.18363.1139] oder Microsoft Windows [Version 10.0.19041.572]
Then you should add the Windows edition (Home, Pro,...).

In this way you can also with "Textify", e.g. copy a part of the title bar from the Total Commander window to the clipboard.


BUTTON in Total Commander

Code: Select all

TOTALCMD#BAR#DATA
%COMMANDER_PATH%\Tools\Textify\Textify.exe -hidewnd

%COMMANDER_PATH%\Tools\Textify\Textify.exe
Textify - Copy text [autom.] from dialog boxes|https://rammichael.com/textify|Textify.exe -hidewnd (Start -> Systray)|CTRL+right mouse button, [Mark text], again CTRL+right mouse button(!)|or 'ESC' inserts the marked area into the clipboard!


-1
TC-Button with command: %COMMANDER_PATH%\Tools\Textify\Textify.exe -hidewnd (adjust path if necessary)
starts Textify and the program icon is immediately displayed in the taskbar (vulgo System Tray)
if in the file Textify.ini in section [config] -> hide_tray_icon=0 is set.
If desired, you can create a shortcut with this parameter in the autostart folder by specifying the absolute path.

WITHOUT the parameter -hidewnd a Textify window and task is displayed in the taskbar after calling Textify.exe.
Only when you close the window with "X" the program icon is displayed in the System Tray.

Textify.ini

Code: Select all

; After editing this configuration file,
; Textify must be restarted to apply the changes.

; Mouse and keyboard key numbers can be found here:
; https://docs.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes

[mouse]
key=2
ctrl=1
alt=0
shift=0

[keyboard]
key=84
ctrl=1
alt=1
shift=1

[config]
check_for_updates=1
auto_copy_selection=1
hide_tray_icon=0

; The following option causes empty Unicode symbol to be removed
; and various space symbols to be replaced with a regular space.
unicode_spaces_to_ascii=0

; Web buttons can be used with the keyboard shortcuts: Alt+1, Alt+2, etc.
; More web buttons can be added, and existing buttons can be removed.
; If desired, all of the web buttons can be removed.
;
; A command can be a URL or a program. It can contain the following:
; %s - will be replaced by the selected text, URL encoded.
; %cs - will be replaced by the selected text, with quote characters stripped.
; %rs - will be replaced by the selected text as is (use carefully).
;
; A command can start with popup-web!, followed by a URL.
; In this case, the page will be opened in a browser popup (browser auto-detected).
; You can be more specific by starting a command with one of the following:
; popup-chrome!, popup-firefox!, popup-ie-control!.

[web_button_1]
icon=icons\google.ico
command=https://www.google.com/search?q=%s
;command=popup-web!https://www.google.com/search?q=%s
width=1200
height=900

[web_button_2]
icon=icons\duckduckgo.ico
command=https://duckduckgo.com/?q=%s
width=1200
height=900

[web_button_3]
; GERMAN - ENGLISH
icon=icons\google_translate.ico
command=https://translate.google.de/translate#auto/en/%s
width=1200
height=900

[web_button_4]
; ENGLISH - GERMAN
icon=icons\google_translate.ico
command=https://translate.google.de/translate#auto/de/%s
width=1200
height=900

[web_button_5]
icon=icons\wikipedia.ico
command=https://en.m.wikipedia.org/w/index.php?search=%s
width=1200
height=900

[web_button_6]
icon=icons\wikipedia.ico
command=https://de.m.wikipedia.org/w/index.php?search=%s
width=1200
height=900

[web_button_7]
icon=icons\Everything.ico
command=es:%s
width=800
height=800

[web_button_8]
icon=icons\EmEditor.ico
command=EmEditor.exe /i
width=1200
height=900
Textify.ini - Notes 1 of 2

Code: Select all

			If "Textify" is started/open, a click on the button "More settings" shows the used settings.
Section
[config]
check_for_updates=1	After starting the tool it checks for updates/upgrades
auto_copy_selection=1   Copies the (partially) marked text automatically to the clipboard, ESC = close window
			OR
			Press 2x CTRL + right mouse button (change of settings possible!) --> this corresponds to:
			-1x copy text to the clipboard (a partial selection can be made!),
			-1x Close window (like pressing ESC key)
			The content of the clipboard can then be pasted into an editor, etc. using Ctrl+V.
hide_tray_icon=0	Hides the program icon in the notification area of the taskbar (vulgo System Tray) --> ON
hide_tray_icon=1	Hides the program icon in the notification area of the taskbar (vulgo System Tray) --> OFF

Textify.ini - Notes 2 of 2

Code: Select all

Sections		Starts a Google search with the [selected] search term in a separate window
[web_button_1]		command=popup-web!https://www.google.com/search?q=%s --> currently annotated (;command=...)
			Starts a Google search with the [selected] search term in a separate tab in the standard browser
			command=https://www.google.com/search?q=%s
[web_button_2]		Starts a DuckDuckGo search with the [selected] search term in a separate tab in the standard browser
[web_button_3]		Starts Google Translate with the [selected] search term in a separate tab in the default browser
			Example: Left: GERMAN-RECOGNIZED | Right: ENGLISH
[web_button_4]		Starts Google Translate with the [selected] search term in a separate tab in the default browser
			Example: Left: ENGLISH-RECOGNIZED | Right: GERMAN
[web_button_5]		Starts a Wikipedia search with the [selected] search term in a separate tab in the standard browser (english)
[web_button_6]		Starts a Wikipedia search with the [selected] search term in a separate tab in the standard browser (german)
[web_button_7]		command=es:%s ... opens 'Everything' and automatically pastes the text from the clipboard into the search box
[web_button_8]		command=EmEditor.exe /i ... opens EmEditor and inserts the text from the clipboard automatically
Tip: In addition to the web-buttons, you can use the shortcuts Alt+1, Alt+2, etc. instead of clicking the buttons. --> Textify.ini!
WebApp.ini

Code: Select all

[Appearance]
StatusBar=1
AUTOSTART folder for shortcut: C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\
Link example: Textify.exe.lnk --> Properties, Target: C:\Tools\Textify\Textify.exe -hidewnd
On [Auto]Start the program icon is immediately placed in the Systray and the pop-up window is omitted.


LINKS COLLECTION:
https://rammichael.com/textify
https://rammichael.com/downloads/textify_setup.exe?changelog
https://rammichael.com/textify-v1-6-meets-the-web
https://github.com/m417z/Textify
https://github.com/RaMMicHaeL/Textify/blob/master/Textify.cpp
https://rammichael.com/textify/comment-page-2#comment-8902
https://rammichael.com/textify/comment-page-2#comment-8459 ...
https://www.voidtools.com/forum/viewtopic.php?p=24043#p24043 'Everything'-Icons (different colours)
 

Code: Select all

[web_button_4]
icon=icons\google.ico
url=cmd.exe
parameters=/k echo %s
external_browser=1
https://ditto-cp.sourceforge.io/
http://capture2text.sourceforge.net/
https://getsharex.com/downloads/


INSTALLATION of a new version (using the example "textify_setup_1-8-2.exe"):
0) For program update/upgrade: For safety reasons, make a COPY of Textify.ini
    and WebApp.ini --> Backup!
1) execute .exe and select "portable" by dropdown possible
2) Copy path in TC, e.g: C:\Tools\Textify\
3) and put it in the Textify installation mask, OK
4) DONE and settings are preserved(!)

See also: https://rammichael.com/textify/comment-page-4#comment-11917
Installation in %APPDATA%, %PROGRAMFILES%; Silent installation...
https://nsis.sourceforge.io/Docs/Chapter4.html#silent Standard NSIS command line parameters


Textify and Google Chrome
Information on this topic can be found on the Textify website.

 
Limitation of the number of characters:
RaMMicHaeL says: November 20, 2019 at 9:47 wrote:If you’re talking about the amount of characters Textify can grab, the limit is imposed by the target program, not Textify.
See the discussion here: https://rammichael.com/textify/comment-page-3#comment-8942
RaMMicHaeL says: November 20, 2019 at 2:49 pm wrote:... It’s up to the target program, Textify is not responsible for the limit and cannot remove it. ...
RaMMicHaeL says: May 28, 2021 at 1:29 pm wrote:https://rammichael.com/textify/comment-page-4#comment-12581 ... The limit is imposed by the target program, not Textify. ...
 

This topic is also available in German language.
Last edited by tuska on 2021-05-28, 14:56 UTC, edited 4 times in total.
User avatar
solid
Power Member
Power Member
Posts: 588
Joined: 2004-08-09, 11:20 UTC

Re: Tool "Textify" - Summary (english)

Post by *solid »

2tuska
Thanks for pointing out. Really useful tool.
User avatar
tuska
Power Member
Power Member
Posts: 2421
Joined: 2007-05-21, 12:17 UTC

Re: Tool "Textify" - Summary (english)

Post by *tuska »

solid wrote: 2020-10-12, 11:14 UTC 2tuska
Thanks for pointing out. Really useful tool.
I am pleased that the information is well received. :)
User avatar
solid
Power Member
Power Member
Posts: 588
Joined: 2004-08-09, 11:20 UTC

Re: Tool "Textify" - Summary (english)

Post by *solid »

2tuska
Long time ago there was a thread about useful tools like this one.
It was a great resource, shame it got abandoned.
User avatar
tuska
Power Member
Power Member
Posts: 2421
Joined: 2007-05-21, 12:17 UTC

Re: Tool "Textify" - Summary (english)

Post by *tuska »

solid wrote: 2020-10-13, 19:21 UTC 2tuska
Long time ago there was a thread about useful tools like this one.
It was a great resource, shame it got abandoned.
There you will certainly still find interesting information.

I suspect, however, that due to its size (89 pages so far) it has become confusing at some point
and also because many topics were dealt with under a single title(!), there was no continuation.
Therefore I do not want to revive this thread.

Furthermore, in the first post there is a hint from the moderator Hacker that a WIKI page was opened
with exactly this topic: "Useful 3rd party tools to complement TC".

I am aware that this topic (-> Textify) will also fade into the background in the course of time.
If updates become known, I will announce them here.

For interested people I find this tool a valuable support, because who likes to type [longer texts],
if he can copy a text, e.g. from an information window to the clipboard using a shortcut instead of typing it?
User avatar
tuska
Power Member
Power Member
Posts: 2421
Joined: 2007-05-21, 12:17 UTC

Re: Tool "Textify" - Summary (english)

Post by *tuska »

In the first post the [web_button_7] for Textify v1.8.2 was added -> see: Textify.ini.

Target:
After clicking the [web_button_7] in "Textify"(!) 'Everything' should be opened and the text extracted to the clipboard by "Textify"
be automatically pasted into the search box of 'Everything'.

Reference:
Pass clipboard contents to 'Everything' search field automatically via command line

Icons (Everything-Icons.zip):
'Everything'-Icons (different colours)

Thanks again at this point to NotNull.
Post Reply