How to? Invoke View Clipboard from command line

Feb 23, 2012
240
3
VIEW has a very useful feature to view the clipboard (File/ViewClipboard). Currently, I know that I can launch VIEW with any random file and then choose File/ViewClipboard. However, I'm wondering how to invoke this directly from the command line, without first loading up another file.
 
Feb 23, 2012
240
3
Hi Michael,
Thank you for your answer. However, your suggestion only makes sense for pure-text clipboard contents. However, let's say you simply go into explorer, select a file, and hit "ctrl-c" to copy it.
If you "type" it in TCC, TCC will report: "Clipboard is not text format"
On the other hand, in VIEW's View Clipboard box, you can see the full path and file info as it exists on the clipboard.
In general, the advantages of VIEW's View Clipboard box over "type clip:" are three:
1] The ability to view it in hex format
2] The ability to see the clipboard through the prisms of the various available retrieval methods (unicode text, oem text, windows drop handle, OLE private data), etc., to understand why various applications are reacting as they are to the clipboard.
3] Finally, as demonstrated above, the ability to see all formats of data, such as drop handles, graphics data [in hex format], etc., beyond just straight text.

If you are interested in the contents, you could simply 'type' it.

type clip:

However that would only work with text data....

Michael
 
After I sent this I thought that you probably already knew that...:)

Given that you won't be able to view all of that in a TCC console window, you would need a GUI application of some kind. So is your question "How can I launch view and go right to the ViewClipboard function? Perhaps with a set of switches that can defined your "prisms?"

Michael
 
Feb 23, 2012
240
3
Yes, that is my question. How can I issue a command line command to launch view and go right to the ViewClipboard function without first needing to select a file to view?

After I sent this I thought that you probably already knew that...:)

Given that you won't be able to view all of that in a TCC console window, you would need a GUI application of some kind. So is your question "How can I launch view and go right to the ViewClipboard function? Perhaps with a set of switches that can defined your "prisms?"

Michael
 
Feb 23, 2012
240
3
Hi Charles,
Thanks! I believe that this would be a very valuable feature.
Ideally, also, it would be great if we'd be able to use a command line switch to specify our preferred format (perhaps the user would be able to specify a format number that would correspond with the CF_ values defined in WinUser.h)
- Avi

You can't.

But I can look at adding an option in the next release.

Charles.
 
Similar threads
Thread starter Title Forum Replies Date
T VIEW only works from command line Support 14
vefatica VIEW ... remember the UTF-8 setting? Support 0
Alpengreis Documentation Minor issue in help file for view /E Support 1
vefatica VIEW wrap searches? Support 2
R Documentation Help Nit > bdebugger View Menu Support 0
Joe Caverly Why does TCCRT return VIEW as an internal command? Support 6
Joe Caverly Pipe into VIEW and search Support 12
vefatica VIEW ... CommandPrompt ... TC21 ... unregistered Support 6
vefatica Start VIEW with the toolbar showing? Support 5
rps How to? Piping to View /gb Support 1
vefatica VIEW ... remember no toolbar Support 0
E Fixed View command broken in version 21.0 build 22 Support 9
vefatica File Explorer ... remember view settings? Support 5
vefatica "View" settings still not remembered Support 10
vefatica TCMD ... remember View settings? Support 7
C View Print Wrap - please break at whitespace Support 3
C VIEW PRINT /Wrap doesn't work Support 0
C VIEW PRINT - Documentation corrected - Font size Support 8
C WAD VIEW print multiple files - switches fail Support 10
MickeyF TCC v16 crashes when I hit F1 to view help Support 9
R V19 - 'V' and 'View" Support 6
cgunhouse Crash on View/Folder Support 1
M View doesn't recognize Ctrl+End and Ctrl+Pos1 Support 2
vefatica Speaking of VIEW Support 18
nikbackm VIEW broken in v18 + Windows 10 Support 8
Alpengreis [Bug?] View (V) Prefs Error (TC 18.00.27 x64) Support 4
D Fixed Cut and paste in TC's file/folder view does not remove file Support 17
E View (internal command) does nothing now Support 3
vefatica VIEW and chars in 128-255 Support 4
MickeyF where to view the latest JPSoft newsletter? Support 0
Joe Caverly VIEW window in a TCC tab window problems Support 5
vefatica Fixed No text in List View! Support 4
D Folder/List view changed in v15 Support 8
D How to? V15.00.30 -(help!) - Floating view windows don't open Support 1
nikbackm Fixed v15: VIEW - encoding and CSV issues Support 9
T view command not working Support 5
S TCMD No List-View with Libraries? Support 5
M Sync folder/list view with command window? Support 2
C Fixed Starting editor from VIEW Support 9
J VIEW doesn't work again Support 16
S Fixed View and V do not work in new 13.04.52 x64 installation Support 11
jwblyth How to? Help will not Load in View (File Viewer)?? Support 4
M Folder View Freezing Support 10
Frank is the search-function in VIEW working? Support 2
H VIEW not "screen reader friendly: Support 7
J VIEW crash on redirected input and numbered bookmarks Support 6
gschizas View uses Windows-1252 codepage instead of System codepage Support 4
D view in tab and focus follows mouse Support 10
D View Help Keyboard Support 1
rconn 13.0.18 Test build for VIEW problem Support 23

Similar threads