Sign up on the Revelation Software website to have access to the most current content, and to be able to ask questions and get answers from the Revelation community

At 10 MAR 2004 11:22:13AM Dave Harmacek wrote:

Does anyone remember WINCLIP? This allowed ARev to pass up to 191 characters from a variable into the Windows Clipboard.

I recently upgraded someone from a Windows 98 OS to Windows XP and WINCLIP no longer works. Ancient software, I know, but if someone found a workaround or can suggest a way to push a string into the Clipboard from ARev in W XP it would be helpful.

Thanks

Dave


At 10 MAR 2004 05:42PM Steve Smith wrote:

Dave,

The best I can do is to give you a substitute VB6 routine

DAVEH.EXE

Standard VB 6 exe, source:

Private Sub Form_Load()

Dim intFreeFilehandle As Integer

Dim filecontents As String

intFreeFilehandle=FreeFile

Open Trim(Command()) For Input As intFreeFilehandle

filecontents=Input(LOF(intFreeFilehandle), intFreeFilehandle)

Close intFreeFilehandle

Clipboard.Clear

Clipboard.SetText filecontents

Unload Me

End Sub

which accepts a single parameter (a DOS filespec) which the DAVEH.EXE reads and then places in the clipboard.

From AREV TCL, I tested it with (on one line)

EVAL OSWRITE "A big hello Dave Harmacek" TO "C:\TOCLIP.TXT" ; FLUSH ;

PERFORM "SUSPEND EXIT DAVEH.EXE C:\TOCLIP.TXT"

Then open notepad and Ctrl-V

Hope this helps,

Steve

[email protected]


At 17 MAR 2004 12:08PM Dave Harmacek wrote:

Works perfectly! Thanks!!

Dave

View this thread on the forum...

  • third_party_content/community/commentary/forums_nonworks/d35bf1dc1af8eed185256e530059ecd6.txt
  • Last modified: 2023/12/28 07:40
  • by 127.0.0.1