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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
680
Apple HIG 正式名称クイズ結果発表 / HIG Quiz Result
usamik26
0
220
ゆめみ大技林製作委員会の立ち上げの話 / daigirin project
usamik26
0
360
@ViewLoadingプロパティラッパの紹介と自前で実装する方法 / @ViewLoading property wrapper implementation
usamik26
0
530
これからUICollectionViewを実践活用する人のためのガイド / Guide to UICollectionView
usamik26
1
780
Xcodeとの最近の付き合い方のはなし / Approach To Xcode
usamik26
2
700
UICollectionView Compositional Layout
usamik26
0
840
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
OCI Database Management サービス詳細
oracle4engineer
PRO
1
7.3k
日本語テキストと音楽の対照学習の技術とその応用
lycorptech_jp
PRO
1
420
All About Sansan – for New Global Engineers
sansan33
PRO
1
1.3k
Databricks Free Edition講座 データサイエンス編
taka_aki
0
290
データ民主化のための LLM 活用状況と課題紹介(IVRy の場合)
wxyzzz
2
670
30万人の同時アクセスに耐えたい!新サービスの盤石なリリースを支える負荷試験 / SRE Kaigi 2026
genda
1
270
(金融庁共催)第4回金融データ活用チャレンジ勉強会資料
takumimukaiyama
0
130
Tebiki Engineering Team Deck
tebiki
0
24k
外部キー制約の知っておいて欲しいこと - RDBMSを正しく使うために必要なこと / FOREIGN KEY Night
soudai
PRO
12
4.7k
Webhook best practices for rock solid and resilient deployments
glaforge
1
260
学生・新卒・ジュニアから目指すSRE
hiroyaonoe
2
550
コスト削減から「セキュリティと利便性」を担うプラットフォームへ
sansantech
PRO
3
1.3k
Featured
See All Featured
Test your architecture with Archunit
thirion
1
2.1k
Believing is Seeing
oripsolob
1
53
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
110
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
31
3.1k
Balancing Empowerment & Direction
lara
5
880
Money Talks: Using Revenue to Get Sh*t Done
nikkihalliwell
0
150
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
1.9k
RailsConf 2023
tenderlove
30
1.3k
Between Models and Reality
mayunak
1
180
AI in Enterprises - Java and Open Source to the Rescue
ivargrimstad
0
1.1k
Neural Spatial Audio Processing for Sound Field Analysis and Control
skoyamalab
0
160
The Hidden Cost of Media on the Web [PixelPalooza 2025]
tammyeverts
2
170
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 ͨ͠Βัଊ͞ΕΔ͔ʁʣ