Verwandle AppleScript-Snippets in Bilder, die man gerne teilt — ohne deinen Mac zu verlassen.
AppleScript reads like English, which makes it unusually approachable in a screenshot and unusually easy to get subtly wrong.
Codeshot erkennt AppleScript an dem Code, den du einfügst; es gibt also keine Sprachauswahl, die man falsch treffen kann. Hier ist dasselbe Snippet in drei der 30 mitgelieferten Themes, gerendert mit den Stylesheets der App.
tellapplication"Codeshot"activateset theTheme to"Xcode"
paste the clipboard
export with scale 2endtell
GitHub · dunkel
tellapplication"Codeshot"activateset theTheme to"Xcode"
paste the clipboard
export with scale 2endtell
Solarized · dunkel
tellapplication"Codeshot"activateset theTheme to"Xcode"
paste the clipboard
export with scale 2endtell
Xcode · dunkel
Das passende Theme für AppleScript
Its keywords are ordinary words, so a theme with strong keyword colouring helps far more here than in a language with symbolic syntax.
Die richtige Größe
Lass das Bild dem Inhalt folgen oder lege es auf ein Verhältnis fest — 1:1, 4:3, 3:2, 16:9, 9:16, 2:3 oder 3:4 — und exportiere dann mit 1×, 2× oder 3×, damit es auf Retina-Displays scharf bleibt. Kopiere es mit ⌘⇧C direkt in die Zwischenablage oder sichere mit ⌘S.