AppleScript reads like English, which makes it unusually approachable in a screenshot and unusually easy to get subtly wrong.
Codeshotは貼り付けたコードからAppleScriptを判別するので、言語の選び間違いは起きません。付属する30種類のうち3つのテーマで同じスニペットを、アプリ自身のスタイルシートで表示しています。
AppleScript
AppleScriptのスニペットを、Macから離れることなく共有したくなる画像に。
AppleScript reads like English, which makes it unusually approachable in a screenshot and unusually easy to get subtly wrong.
Codeshotは貼り付けたコードからAppleScriptを判別するので、言語の選び間違いは起きません。付属する30種類のうち3つのテーマで同じスニペットを、アプリ自身のスタイルシートで表示しています。
tell application "Codeshot"
activate
set theTheme to "Xcode"
paste the clipboard
export with scale 2
end tell
tell application "Codeshot"
activate
set theTheme to "Xcode"
paste the clipboard
export with scale 2
end tell
tell application "Codeshot"
activate
set theTheme to "Xcode"
paste the clipboard
export with scale 2
end tell
Its keywords are ordinary words, so a theme with strong keyword colouring helps far more here than in a language with symbolic syntax.
画像サイズを内容に合わせるか、比率で固定します(1:1、4:3、3:2、16:9、9:16、2:3、3:4)。そのうえで1×・2×・3×から選んで書き出せば、Retinaディスプレイでも鮮明なままです。⌘⇧Cでクリップボードに直接コピー、または⌘Sで保存できます。
30種類のテーマを見比べるか、全体の流れをご覧ください。
すべてMac上で動作します。コードが外に出ることはありません。