Hi,
please try the
button below.
The
path to i_view64.exe
must be customized.
I don't remember the source. Maybe it was a button from
here.
Code: Select all
TOTALCMD#BAR#DATA
"%COMMANDER_PATH%\Tools\IrfanView-portable-64bit\IrfanView\i_view64.exe"
/clippaste /convert=%P$U(%%Y-%%m-%%d_%%H%%M%%S).png
"%COMMANDER_PATH%\Tools\IrfanView-portable-64bit\IrfanView\i_view64.exe",6
IrfanView: Open & Paste|– 'Paste': NOT possible on Desktop Public, \\Desktop\!|– Hardcopy: .PNG in the same folder!|– If the folder name starts with '#', the folder name with number '1' is generated| and the png file is stored there! ...topic.php?t=84537
-1
-1
- Click on "SELECT ALL" (to the right of CODE:), then press CTRL+C (copy to clipboard).
- Right-click on any place in the button bar, then click on "Paste".
⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺⸺
- Option1: Point to the new button (slightly longer): 'Tooltip' is shown (-> description to the button).
A maximum of 259 characters is allowed for the tooltip. | = create line break, || = create | as separator character.
- Option2: Button bar - "Tooltip" field: A single space deactivates the display of the tooltip.
If the "Tooltip" field is empty, the content of the "Command" field is displayed.
- Option3: See FAQs and explanation: Button-code (TOTALCMD#BAR#DATA) <-- <Ctrl+click on the link...>
Create a shortcut:
If you want to assign a shortcut to a command, you must first create an
em_command.
Example:
usercmd.ini
Insert the following text at the end of the file. If the file “usercmd.ini” does NOT exist,
then create it with a text editor in %COMMANDER_PATH% - that is the path where the files
TOTALCMD.EXE and/or TOTALCMD64.exe are located.
Code: Select all
[em_Clipboard_as_a_png_file_using_IrfanView]
button=""%COMMANDER_PATH%\Tools\IrfanView-portable-64bit\IrfanView\i_view64.exe",6"
cmd=""%COMMANDER_PATH%\Tools\IrfanView-portable-64bit\IrfanView\i_view64.exe""
param=/clippaste /convert=%P$U(%%Y-%%m-%%d_%%H%%M%%S).png
menu=IrfanView x64: Open & Paste|– 'Paste': NOT possible on Desktop!|– Hardcopy -> .png in the same folder!|– If the folder name starts with '#', the folder name with number '1' is generated.| and the png file is stored there! .../viewtopic.php?p=209581#p209581
wincmd.ini -
section [Shortcuts] -> Insert the following code. Attention: The section [Shortcuts] must only exist once!
Code: Select all
A+V=em_Clipboard_as_a_png_file_using_IrfanView
I have defined
ALT+V as a shortcut.
I would advise against using CTRL+V (as it is a Windows shortcut).
If you want to
change the shortcut, you can do so e.g. as follows:
If you want to assign or change a keyboard shortcut for a command, an em_command must first be present.
Configuration - Options... - Misc. - Redefine hotkeys (Keyboard remapping) - choose your hotkeys by clicking the appropriate fields,
"Default command (no remapping)" is shown then - click on the magnifying glass to the right - click on "usercmd.ini" -
choose your em_command: em_Clipboard_as_a_png_file_using_IrfanView - OK - Important: Click on the green checkmark! - OK - FINISHED!
The shortcut for the em_command: em_Clipboard_as_a_png_file_using_IrfanView is stored in the “wincmd.ini” file in the [Shortcuts] section.
If an em_command is available, you can also create a button e.g. with this em_command:
Code: Select all
em_Clipboard_as_a_png_file_using_IrfanView
Useful links:
Paste clipboard data |
paste a picture in total commander