
laurent.orseau
2020-9-24 09:37:09
quickscript of the day: Save the interactions as a pdf file: #lang racket/base
(require quickscript
racket/class)
(define-script interactions->pdf
#:label "interactions->pdf"
(λ (selection #:interactions ints)
(send ints print #t #t 'pdf)
#f))
(I thought it would be more complicated, but the print
method already does all the job)

laurent.orseau
2020-9-24 09:44:41
with a license: https://gist.github.com/Metaxal/8e22dcdd48cefb61fcd843e02b345493

laurent.orseau
2020-9-24 12:28:11
Second quickscript of the day: Rename the current file (like Save as + delete) https://gist.github.com/Metaxal/31859c787804b4e40a1b2154172edcc3

laurent.orseau
2020-9-24 12:31:33
i’ve been wanting to do this one for quite some time but postponed as I thought I need to close the tab, open a new tab, etc. Turns out it only needs calling save-as
!