Transforme trechos de AppleScript em imagens que valem a pena compartilhar, sem sair do seu Mac.
AppleScript reads like English, which makes it unusually approachable in a screenshot and unusually easy to get subtly wrong.
O Codeshot detecta AppleScript pelo código que você cola, então não há seletor de linguagem para errar. Aqui está o mesmo trecho em três dos 30 temas inclusos, renderizados com as folhas de estilo do próprio app.
tellapplication"Codeshot"activateset theTheme to"Xcode"
paste the clipboard
export with scale 2endtell
GitHub · escuro
tellapplication"Codeshot"activateset theTheme to"Xcode"
paste the clipboard
export with scale 2endtell
Solarized · escuro
tellapplication"Codeshot"activateset theTheme to"Xcode"
paste the clipboard
export with scale 2endtell
Xcode · escuro
Escolhendo um tema para AppleScript
Its keywords are ordinary words, so a theme with strong keyword colouring helps far more here than in a language with symbolic syntax.
Acertando o tamanho
Deixe a imagem seguir o conteúdo ou fixe uma proporção — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3 ou 3:4 — e exporte em 1×, 2× ou 3× para que continue nítida em telas retina. Copie direto para a área de transferência com ⌘⇧C ou salve com ⌘S.