Created
December 24, 2021 15:32
-
-
Save moyashi/ff066f4fcce1b0919eaa86b1f738a476 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set _clipboard to the clipboard | |
set _lines to paragraphs of _clipboard | |
set _output to "" | |
repeat with i in (reverse of _lines) | |
set _output to _output & i & " | |
" | |
end repeat | |
set the clipboard to _output |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
macOS用のAppleScript。
これをScript Editorで開き、アプリケーションとしてアプリケーションホルダに保存。
これを何らかのランチャーで起動するとクリップボード内のテキストが逆順になる。
自分はLaunchBarというコマンドランチャーで起動している。