DOSLib icon indicating copy to clipboard operation
DOSLib copied to clipboard

dos_printscrn with issues on second monitor

Open Pierre-de-la-Verre opened this issue 2 years ago • 1 comments

Doslib 9.0.3, Acad 2018, DOSLib22x64.arx 1065136 11.11.2017 02:00:00

For me, it seems that dos_printscrn has issues on second monitor. Only mode 2 and 3 seem to work fine, the other modes are always capturing the main monitor.

Can it be confirmed or resolved?

Mode 4 seem to have a problem with the display of the optional prompt. IMHO the last linefeed is missing, so it only displayed after the selection of the area

Befehl: (dos_printscrn "C:\\temp\\test40.bmp" 4 )
Drag a screen rectangle to capture:
"C:\\temp\\test40.bmp"

Befehl: (dos_printscrn "C:\\temp\\test40.bmp" 4 "drag..")
drag.."C:\\temp\\test40.bmp"
```

Pierre-de-la-Verre avatar Aug 10 '22 08:08 Pierre-de-la-Verre

The code behind dos_printscrn is old, so I'm not surprised by the multi-monitor issues.

For prompt, just append your own \n.

dalefugier avatar Aug 29 '22 23:08 dalefugier