* Michael Welle wrote:
> Hello,
Hi Michael!
> great. May I ask what you are building? Are the screen dumps just for
> documentation purpose or are you up to something interesting ;)?
The purpose of this screenshot is to get a quick possibility to
check my next four weeks (only appointments, no
* Michael Welle wrote:
> Hello,
Hi Michael!
> Karl Voit writes:
>
>> I'd like to get a screenshot (PNG) of an agenda of mine by following
>> snippet:
[...]
>> (sleep-for 1)
> waits without updating the display. Mayby that is the problem? Try
> sit-for.
You seem to have found the root cause.
Hi Karl,
This seems strange to me too. I tested your code and found that the
screenshot always showed the pre-agenda state of the frame, showing the lisp
window at the top and the helm-M-x window at the bottom, the way it looked
when I hit RET to run the command.
However, I tried stepping throug
Hi!
I'd like to get a screenshot (PNG) of an agenda of mine by following
snippet:
(defun my-export-month-agenda-to-png-via-screenshot()
(interactive)
(org-agenda nil "n") ; generates agenda "n" (one month without todos)
(if (my-buffer-exists "*Org Agenda*")
(switch-to-buffer "*Org Agenda*