ascii | ascii -dos | calc | cmd | data | env | fromclip | jsonform | license | number | prompt | random | ruler | spell | status | toclip | update | version | video | view | xmlform | Команда: fromclip sfk fromclip [-wait] [-clear] get plain text from clipboard. options -wait wait until plain text is available. -clear empty clipboard after use. -ltrim remove whitespace at start of lines. -tofile x write text to file x. -cliptries=n try up to n times if clipboard is locked by another app. default is 6, waiting up to 500 msec. this option can also be set globally. -quiet tell nothing on console if access failed return codes rc=0 : ok got text rc=1 : no text available rc=2 : failed to open clipboard aliases sfk lclip same as sfk fromclip -ltrim to get text left side trimmed sfk rawclip same as sfk fromclip +toclip to remove unwanted formatting when copying text from a web page into a word processor. web reference http://stahlworks.com/sfk-clip examples sfk fromclip -tofile out.txt write clipboard content directly to file. sfk fromclip +filter -rep x/x\x +toclip change all / into \ within the clipboard text sfk fromclip -wait -clear +tee toterm +tofile -append cliplog.txt +loop appends every plain text change to a file cliplog.txt. while doing so the clipboard cannot be used to paste elsewhere as it is reset by -clear on every change. [26] |