zzxxcc2005
Technical User
Presently if I want to copy part of a screen to another application, I have to select the area of the screen, copy and paste text into the target application. I have written a macro that finds the selected area, but when I paste it, none of the <CRLF> are there.
How do I get the <CRLF> into my clipboard?
Here is the code being used now
Dim Buffer As String
Dim objSystem as Object, objSessions as Object, objSession as Object, objScreen as object, abjArea as object
Sub Main
set objSystem = CreateObject("EXTRA.System")
set objSessions = objSystem.Sessions
set objSession = objSessions.Item(1)
Set objScreen = objSession.Screen
Set objArea = objScreen.Selection
Buffer$ = objArea
End Sub
How do I get the <CRLF> into my clipboard?
Here is the code being used now
Dim Buffer As String
Dim objSystem as Object, objSessions as Object, objSession as Object, objScreen as object, abjArea as object
Sub Main
set objSystem = CreateObject("EXTRA.System")
set objSessions = objSystem.Sessions
set objSession = objSessions.Item(1)
Set objScreen = objSession.Screen
Set objArea = objScreen.Selection
Buffer$ = objArea
End Sub