Paolo Amoroso on Nostr: A way of programmatically taking a screenshot on Medley is to pass a window to the ...
A way of programmatically taking a screenshot on Medley is to pass a window to the Interlisp function BITMAPCOPY. As in this example in which I captured the logo window the pointer was in (returned by WHICHW) and opened it in the bitmap editor (EDITBM):
(EDITBM (BITMAPCOPY (WHICHW)))
#interlisp #lisp
Published at
2024-06-06 11:23:50Event JSON
{
"id": "d3a9bff6b599c4496db10b923e4fd0a6bcf452f495dae1b7b065eca458ee02ef",
"pubkey": "d515918d32bc4dd40240fe70cdc87a50fcf2676abe40bd9797c4189a4d3bffd3",
"created_at": 1717673030,
"kind": 1,
"tags": [
[
"t",
"interlisp"
],
[
"t",
"lisp"
],
[
"proxy",
"https://fosstodon.org/users/amoroso/statuses/112569419734275140",
"activitypub"
]
],
"content": "A way of programmatically taking a screenshot on Medley is to pass a window to the Interlisp function BITMAPCOPY. As in this example in which I captured the logo window the pointer was in (returned by WHICHW) and opened it in the bitmap editor (EDITBM):\n\n(EDITBM (BITMAPCOPY (WHICHW)))\n\n#interlisp #lisp\n\nhttps://cdn.fosstodon.org/media_attachments/files/112/569/416/687/232/760/original/05c1b6f7d8226974.png",
"sig": "f27ac94f515b3123ddca05427fadd04a0be1fe43bd5bf50cdab24bd4a599547c31422db2f4a19a42c748ca6a7825155940ec34448863ef4c37896edda63cedbb"
}