AppleScript

AppleScript Code-Screenshot-Generator

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.

tell application "Codeshot"
    activate
    set theTheme to "Xcode"
    paste the clipboard
    export with scale 2
end tell
GitHub · dunkel
tell application "Codeshot"
    activate
    set theTheme to "Xcode"
    paste the clipboard
    export with scale 2
end tell
Solarized · dunkel
tell application "Codeshot"
    activate
    set theTheme to "Xcode"
    paste the clipboard
    export with scale 2
end tell
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.

Sieh dir alle 30 Themes im Vergleich an oder lies den kompletten Ablauf.

Gebaut für AppleScript und 59 weitere Sprachen

Alles läuft auf deinem Mac. Dein Code verlässt ihn nie.

Für macOS laden