Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
CotEditor Script
Search
USAMI Kosuke
August 06, 2014
Technology
0
500
CotEditor Script
Lightning Talk
フェンリル社内勉強会
USAMI Kosuke
August 06, 2014
Tweet
Share
More Decks by USAMI Kosuke
See All by USAMI Kosuke
Onsager代数とその周辺 / Onsager algebra tsudoi
usamik26
0
670
Apple HIG 正式名称クイズ結果発表 / HIG Quiz Result
usamik26
0
220
ゆめみ大技林製作委員会の立ち上げの話 / daigirin project
usamik26
0
350
@ViewLoadingプロパティラッパの紹介と自前で実装する方法 / @ViewLoading property wrapper implementation
usamik26
0
520
これからUICollectionViewを実践活用する人のためのガイド / Guide to UICollectionView
usamik26
1
780
Xcodeとの最近の付き合い方のはなし / Approach To Xcode
usamik26
2
700
UICollectionView Compositional Layout
usamik26
0
830
Coding Swift with Visual Studio Code and Docker
usamik26
0
540
Swift Extension for Visual Studio Code
usamik26
2
1.1k
Other Decks in Technology
See All in Technology
Introduction to Bill One Development Engineer
sansan33
PRO
0
340
BidiAgent と Nova 2 Sonic から考える音声 AI について
yama3133
2
140
#22 CA × atmaCup 3rd 1st Place Solution
yumizu
1
120
Everything As Code
yosuke_ai
0
490
20251225_たのしい出張報告&IgniteRecap!
ponponmikankan
0
110
Oracle Database@AWS:サービス概要のご紹介
oracle4engineer
PRO
2
670
チームで安全にClaude Codeを利用するためのプラクティス / team-claude-code-practices
tomoki10
5
2k
善意の活動は、なぜ続かなくなるのか ーふりかえりが"構造を変える判断"になった半年間ー
matsukurou
0
220
SES向け、生成AI時代におけるエンジニアリングとセキュリティ
longbowxxx
0
290
あの夜、私たちは「人間」に戻った。 ── 災害ユートピア、贈与、そしてアジャイルの再構築 / 20260108 Hiromitsu Akiba
shift_evolve
PRO
0
370
技術選定、下から見るか?横から見るか?
masakiokuda
0
170
Master Dataグループ紹介資料
sansan33
PRO
1
4.2k
Featured
See All Featured
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
35
3.3k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
76
Building AI with AI
inesmontani
PRO
1
610
SEO for Brand Visibility & Recognition
aleyda
0
4.1k
HU Berlin: Industrial-Strength Natural Language Processing with spaCy and Prodigy
inesmontani
PRO
0
120
Product Roadmaps are Hard
iamctodd
PRO
55
12k
VelocityConf: Rendering Performance Case Studies
addyosmani
333
24k
Visualization
eitanlees
150
16k
Between Models and Reality
mayunak
1
150
The Curious Case for Waylosing
cassininazir
0
200
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
The SEO identity crisis: Don't let AI make you average
varn
0
45
Transcript
CotEditor ͷ εΫϦϓτͷ࡞Γํ ! Ӊࠤݟ ެี
CotEditor ͷհ
http://coteditor.github.io/
ݱࡏgithubͰ։ൃ
CotEditor ͷओͳಛ • γϯλοΫεΧϥʔϦϯά • ΞτϥΠϯϝχϡʔ • ೖྗิ • ύϫϑϧͳݕࡧͱஔ
• ຊޠϑϨϯυϦʔ
CotEditor ͷεΫϦϓτػೳ
εΫϦϓτ • εΫϦϓτϝχϡʔʹεΫϦϓτొɾ࣮ߦ • ฤूதͷςΩετΛՃ • ֎෦ͷϓϩάϥϜΛىಈ
͑Δݴޠ • AppleScript • Python • Ruby • Perl •
PHP • UNIX Shell
۩ମྫʢαϯϓϧ͔Βൈਮʣ • ݱࡏ࣌ࠁΛૠೖ • ߦ಄ɾߦͷεϖʔεΛআ • HTMLλά࣮ମࢀরͷૠೖ • શ֯ΧλΧφͱ֯ΧλΧφͷม •
ݱࡏͷϑΝΠϧΛSafariͰ։͘
εΫϦϓτͷՃ
εΫϦϓτͷஔ • εΫϦϓτϑΥϧμʹϑΝΠϧΛஔ͘ • ʮεΫϦϓτϝχϡʔΛߋ৽ʯΛ࣮ߦ
εΫϦϓτݺͼग़͠ • γϣʔτΧοτΩʔɿϑΝΠϧ໊Ͱࢦఆ • ྫɿ"Insert
[email protected]
" → Command+E
ೖྗͷࢦఆʢAppleScriptҎ֎ʣ • εΫϦϓτͷ಄ʹҎԼΛهड़ • # %%%{CotEditorXInput=xxxx}%%% • None : ೖྗͳ͠
• Selection : બจࣈྻ • AllText : υΩϡϝϯτͷͯ͢ͷจࣈྻ
ग़ྗͷࢦఆʢAppleScriptҎ֎ʣ • # %%%{CotEditorXOutput=xxxx}%%% • Discard : ग़ྗͳ͠ • ReplaceSelection
/ ReplaceAllText • InsertAfterSelection / AppendToAllText • Pasteboard
ྫɿ ΧʔιϧҐஔʹग़ྗ #!/usr/bin/env ruby -Ku #%%%{CotEditorXInput=None}%%% #%%%{CotEditorXOutput=InsertAfterSelection}%%% ! now =
Time.now print now.strftime("%y-%m-%d")
AppleScriptͷ߹ • ৄࡉলུʢޙड़ͷϚχϡΞϧΛࢀরʣ • CotEditor ͷػೳͷҰ෦Λར༻Մೳ • ݕࡧɺஔɺ֯શ֯มɺͻΒΧλม • ΤϯίʔσΟϯάมɺUnicodeਖ਼نԽ
• ΩϟϨοτͷҠಈɺεΫϩʔϧ
υΩϡϝϯτྨ
CotEditor ϔϧϓ
εΫϦϓτϚχϡΞϧ
εΫϦϓτ࡞ͬͨΒ ͥͻެ։͍ͯͩ͘͠͞ ʢTweet ͨ͠Βัଊ͞ΕΔ͔ʁʣ