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
630
Apple HIG 正式名称クイズ結果発表 / HIG Quiz Result
usamik26
0
180
ゆめみ大技林製作委員会の立ち上げの話 / daigirin project
usamik26
0
330
@ViewLoadingプロパティラッパの紹介と自前で実装する方法 / @ViewLoading property wrapper implementation
usamik26
0
480
これからUICollectionViewを実践活用する人のためのガイド / Guide to UICollectionView
usamik26
1
740
Xcodeとの最近の付き合い方のはなし / Approach To Xcode
usamik26
2
670
UICollectionView Compositional Layout
usamik26
0
780
Coding Swift with Visual Studio Code and Docker
usamik26
0
510
Swift Extension for Visual Studio Code
usamik26
2
1k
Other Decks in Technology
See All in Technology
第9回情シス転職ミートアップ_テックタッチ株式会社
forester3003
0
130
ローカルLLMでファインチューニング
knishioka
0
120
CI/CDとタスク共有で加速するVibe Coding
tnbe21
0
230
Welcome to the LLM Club
koic
0
130
doda開発 生成AI元年宣言!自家製AIエージェントから始める生産性改革 / doda Development Declaration of the First Year of Generated AI! Productivity Reforms Starting with Home-grown AI Agents
techtekt
0
200
20250623 Findy Lunch LT Brown
3150
0
750
菸酒生在 LINE Taiwan 的後端雙刀流
line_developers_tw
PRO
0
1.1k
Абьюзим random_bytes(). Фёдор Кулаков, разработчик Lamoda Tech
lamodatech
0
270
VCpp Link and Library - C++ breaktime 2025 Summer
harukasao
0
220
Azure AI Foundryでマルチエージェントワークフロー
seosoft
0
150
Windows 11 で AWS Documentation MCP Server 接続実践/practical-aws-documentation-mcp-server-connection-on-windows-11
emiki
0
690
AWS CDK 実践的アプローチ N選 / aws-cdk-practical-approaches
gotok365
4
480
Featured
See All Featured
A Tale of Four Properties
chriscoyier
159
23k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
357
30k
GitHub's CSS Performance
jonrohan
1031
460k
JavaScript: Past, Present, and Future - NDC Porto 2020
reverentgeek
48
5.4k
Thoughts on Productivity
jonyablonski
69
4.7k
The MySQL Ecosystem @ GitHub 2015
samlambert
251
13k
StorybookのUI Testing Handbookを読んだ
zakiyama
30
5.8k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Navigating Team Friction
lara
187
15k
Writing Fast Ruby
sferik
628
61k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.7k
Agile that works and the tools we love
rasmusluckow
329
21k
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 ͨ͠Βัଊ͞ΕΔ͔ʁʣ