Hello, Oliver
1C script cannot operate with clipboard data directly but you can get it, for example, using WScript as a COM object:
| Code |
|---|
SystemInfo = New SystemInfo;
If SystemInfo.PlatformType = PlatformType.Windows_x86
or SystemInfo.PlatformType = PlatformType.Windows_x86_64 Then
wsh = New COMObject("WScript.Shell");
// Copying text
wsh.SendKeys("^c");
// Pasting text
wsh.SendKeys("^v");
EndIf |
Don't forget, COM objects are allowed for applications that run on Windows and only.