ACLIP.ZIP -- AutoIt Clipboard Copy & Paste
C.L.Distefano rev. 6 May 2016
For:
XyWrite 4+ with U2 v121 (1 May 2016)
And
XyWrite III+ and XyWrite 4 & later

--> Read in a XyWrite non-eXPanded view <--


Table of Contents
-----------------
Included Files
I.   Setup for XyWrite 4 with Jumbo U2 v121
II.  Setup for XyWrite III+ and later,
      including XyWrite 4 without Jumbo U2 v121
III. Command-Line Syntax for CLIP.A3X AutoIt Script


Included Files:
ACLIP.FRM ...... U2 frames for Xy4 with Jumbo U2 v121 or later
ACOPY.PM  ...... Copy for XyIII+/Xy4
APASTE.PM ...... Paste for XyIII+/Xy4
AI3.BAT   ...... Batch file for launching AutoIt .A3X scripts
AI3.EXE   ...... AutoIt v3 EXEcutable
CLIP.A3X  ...... AutoIt Clipboard script
ACLIP.TXT ...... This documentatiohn


I. Setup for XyWrite 4 with Jumbo U2 v121
   ======================================
A. Basic Setup
   -----------
1) Unzip ACLIP.ZIP (all files) into the directory with EDITOR.EXE.

2) CAll ACLIP.FRM

3) Command DFA<Helpkey> to DeFine the entire file.

4) Command ADD2U2<Helpkey> to add to U2.

B. KBD file assignments
   --------------------
Copy DeFined text to Clipboard:
nn=NOJM(,2,.,a,C,o,p,y,)

Paste Clipboard contents into XyWrite:
nn=NOJM(,2,.,a,P,a,s,t,e,)

Dual-action Copy/Paste key:
nn=NOJM(,2,.,a,D,u,a,l,)

C. Miscellaneous
   -------------
Dual-action behavior:
If text is DeFined, Copy DeFine to Clipboard; Else Paste

Clip text from the CMline:
ACOPY [text_to_clip]<Helpkey>

Copy and Paste without ANSI:
ACOPY/NV<Helpkey>
APASTE/NV<Helpkey>


II. Setup for XyWrite III+ and later,
     including XyWrite 4 without Jumbo U2 v121
    ==========================================

1) Unzip ACLIP.ZIP (all files) into directory
   Optionally delete ACLIP.FRM

2) Create a Copy key in your keyboard file:
   (substitute VADR for d:\path\)

Xy3:
nn=BC,r,u,n, ,d,:,\,p,a,t,h,\,A,C,O,P,Y,.,P,M,XC

Xy4:
nn=BX,r,u,n, ,d,:,\,p,a,t,h,\,A,C,O,P,Y,.,P,M,Q2

3) Create a Paste key in your keyboard file
   (substitute VADR for d:\path\)

Xy3:
nn=BC,r,u,n, ,d,:,\,p,a,t,h,\,A,P,A,S,T,E,.,P,M,XC

Xy4:
nn=BX,r,u,n, ,d,:,\,p,a,t,h,\,A,P,A,S,T,E,.,P,M,Q2


III. Command-Line Syntax for CLIP.A3X AutoIt Script
     ==============================================

Copy:
AI3.EXE CLIP.A3X C(opy) [OEM]<cr>

Contents of CLIP.TXT (in directory with CLIP.A3X) are copied to Clipboard.
Optional arg OEM uses the OEM [ANSI] character set.

Paste:
AI3.EXE CLIP.A3X P(aste) [OEM]<cr>

Text in Clipboard is saved to CLIP.TXT (in directory with CLIP.A3X)
Optional arg OEM uses the OEM [ANSI] character set


Enjoy!
- CLD
