faqts : Computers : Programming : Languages : Tse : Clipboard : TSE

+ Search
Add Entry AlertManage Folder Edit Entry Add page to http://del.icio.us/
Did You Find This Entry Useful?

Entry

sub5: Using version 2.0 of TSE, is there a way to copy and paste to Windows applications?

Nov 8th, 2001 16:05
Knud van Eeden,


[Internet: see: 
http://www.faqts.com/knowledge_base/view.phtml/aid/12621/fid/900]

ad 5. To automate it, change your .ui file (make a backup first),
      and change all the occurrences of copy to and paste from the
      Windows clipboard so that the above two macros are called instead

(such that CopyToWindowsClipboard (e.g. <CTRL C>) calls the
macro 'clipwcop.mac', and PasteFromWindowsClipboard (e.g. <CTRL V>
calls the macro 'clipwpas.mac'), then recompile this .ui file so that
it is permanently burned into your TSE editor:

Here are examples of the changed lines from the .ui file (insert this
at the appropriate places

    ...
    "P&aste from Windows Clipboard", ExecMacro( "clipwpas" )
    ...
    <Ctrl v>                    ExecMacro( "clipwpas" )
    ...
    "Copy to Windows Clip&board", ExecMacro( "clipwcop" )
    ...
    <Ctrl c>                    Execmacro( "clipwcop" )

and recompile this .ui file (make a backup first)

---