約 6,157,805 件
https://w.atwiki.jp/api_programming/pages/141.html
下位ページ Contents Class Toybox WatchUi InputDelegateサブクラス 関数(要約) Instance Method Details(Object) handleEvent(evt) (Boolean) onHold(evt) (Boolean) onKey(evt) 物理キーが押された時に呼び出される (Boolean) onKeyPressed(evt) 物理キーが押し込まれた時に呼び出される (Boolean) onKeyReleased(evt) 物理キーが離された時に呼び出される (Boolean) onRelease(evt) (Boolean) onSwipe(evt) (Boolean) onTap(evt) Class Toybox WatchUi InputDelegate InputDelegate handles basic input events. There are three types of basic inputs key, touch, and swipe. Since 1.0.0 サブクラス BehaviorDelegate 関数(要約) (Object) handleEvent(evt) This is the function that maps low level events to delegate events. (Boolean) onHold(evt) When a screen hold event occurs, onHold() is called. (Boolean) onKey(evt) When a hard key is pressed, onKey() is called. (Boolean) onKeyPressed(evt) When a hard key is pressed down, onKeyPressed() is called. (Boolean) onKeyReleased(evt) When a hard key is released, onKeyReleased() is called. (Boolean) onRelease(evt) When a screen release event occurs, onRelease() is called. (Boolean) onSwipe(evt) When a swipe event occurs, onSwipe() is called. (Boolean) onTap(evt) When a screen tap event occurs, onTap() is called. Instance Method Details (Object) handleEvent(evt) This is the function that maps low level events to delegate events. DO NOT OVERRIDE. Since 1.0.0 (Boolean) onHold(evt) When a screen hold event occurs, onHold() is called. This is sent if user touches and holds on the screen. Parametersevt (ClickEvent) A ClickEvent object containing information about the hold Returns (Boolean) true if handled, false otherwise Since 1.0.0 (Boolean) onKey(evt) 物理キーが押された時に呼び出される Parametersevt (KeyEvent) 発生したキーイベント。WatchUi.KEY_* の値を getKey() を使って取り出せる。 Returns (Boolean) true if handled, false otherwise Since 1.0.0 (Boolean) onKeyPressed(evt) 物理キーが押し込まれた時に呼び出される Parametersevt (KeyEvent) The KeyEvent that occured. Call evt.getKey() to get the WatchUi.KEY_* enum value. Returns (Boolean) true if handled, false otherwise Since 1.1.2 (Boolean) onKeyReleased(evt) 物理キーが離された時に呼び出される Parametersevt (KeyEvent) The KeyEvent that occured. Call evt.getKey() to get the WatchUi.KEY_* enum value. Returns (Boolean) true if handled, false otherwise Since 1.1.2 (Boolean) onRelease(evt) When a screen release event occurs, onRelease() is called. This is only sent after an onHold event when the user stops touching the screen. Parametersevt (ClickEvent) A ClickEvent object containing information about the release Returns (Boolean) true if handled, false otherwise Since 1.0.0 (Boolean) onSwipe(evt) When a swipe event occurs, onSwipe() is called. This is sent when the user swipes the screen. Parametersevt (SwipeEvent) A SwipeEvent object containing information about the swipe Returns (Boolean) true if handled, false otherwise Since 1.0.0 (Boolean) onTap(evt) When a screen tap event occurs, onTap() is called. This is sent if the user taps (quickly presses and releases) the screen. Parametersevt (ClickEvent) A ClickEvent object containing information about the tap Returns (Boolean) true if handled, false otherwise Since 1.0.0
https://w.atwiki.jp/lp2returnscup/pages/7.html
RSSを取り込んで一覧表示(rss) #rss(ここにRSSのURL) もしくは #rss(ここにRSSのURLを入力) と入力することで指定したRSSを取り込んで一覧表示します。 詳しくはこちらをご覧ください。 =>http //www1.atwiki.jp/guide/pages/269.html#id_a0e79757 たとえば、#rss(http //www1.atwiki.jp/guide/rss10_new.xml) と入力すると以下のように表示されます。 #showrss plugin Error showrssプラグインでのatwiki.jpのRSSの取り扱いはできません。#recentなどをご利用ください。
https://w.atwiki.jp/vocaloidenglishlyric/pages/381.html
【Tags Doofus-P Kaito matt9five miki tI I】 Original Music title iNSaNiTY Romaji music title iNSaNiTY Music Lyrics written, Voice edited by Doofus-P / matt9five Music arranged by Doofus-P / matt9five Singer(s) Kaito, SF-A2 miki Click here for the original Japanese Lyrics English Lyrics (translated by Doofus-P / matt9five): The unneeded meaning of start and end To the disappearance of this soul Who remembers characters? From the window of madness, goodbye Hello, myself Haven t we met before? Goodbye, yourself So, want to talk? iNSaNiTY Like floating on air PSYCHoPaTHY A carefree life iNSaNiTY An illusion that can t end CaPTiViTY Unable to run away iNSaNiTY Like floating on air PSYCHoPaTHY A carefree life iNSaNiTY An illusion that can t end CaPTiViTY Like the corruption is continuing The discovered conclusion, disappearing Outlines fading to black In the darkness, there s no such thing thing as light From the inside of madness, goodbye Hello, myself Haven t we met before? Goodbye, yourself So, want to talk? iNSaNiTY Like floating on air PSYCHoPaTHY A carefree life iNSaNiTY An illusion that can t end CaPTiViTY Unable to run away iNSaNiTY Like floating on air PSYCHoPaTHY A carefree life iNSaNiTY An illusion that can t end CaPTiViTY Like the corruption is continuing Hey, haven t we met somewhere in the past? Hey, you re special to me,I want to talk to you Hey, what time is it?What s today?I don t know Hey!It would be great if we completely forgot iNSaNiTY It s like floating on air PSYCHoPaTHY A carefree life iNSaNiTY Dark?Light? iNSaNiTY iNSaNiTY sAnIty Can t see the dark already pUrIty The days are longer sAnIty But that also must sink "sAnIty" ... what is that? iNSaNiTY Like floating on air PSYCHoPaTHY A carefree life iNSaNiTY An illusion that can t end CaPTiViTY Unable to run away iNSaNiTY Like floating on air PSYCHoPaTHY A carefree life iNSaNiTY An illusion that can t end CaPTiViTY The corruption is continuing Romaji lyrics (transliterated by THELUCKIESTSTAR): Hajime to owari no iranai imi Kono kokoro no jouhatsu eto Dare ga hinsei wo oboeteru ka? Kyouki no mado kara sayounara Konnichiwa watashi Awanakatta darou? Sayounara anata Saa hanashi shiyou ka? iNSaNiTY Fusou shisou desu PSYCHoPaTHY Nonki na jinsei iNSaNiTY Owarenai madoi CaPTiViTY Nigerarenai iNSaNiTY Fusou shisou desu PSYCHoPaTHY Nonki na jinsei iNSaNiTY Owarenai madoi CaPTiViTY Odaku ga tsudzuke sou Mitsuketa saigo kiesatte yuku Kuro ni nijinde autorain Makkurayami ni hikari nado nai Kyouki no oku kara sayounara Konnichiwa watashi Awanakatta darou? Sayounara anata Saa hanashi shiyou ka? iNSaNiTY Fusou shisou desu PSYCHoPaTHY Nonki na jinsei Insanity Owarenai madoi CaPTiViTY Nigerarenai iNSaNiTY Fusou shisou desu PSYCHoPaTHY Nonki na jinsei iNSaNiTY Owarenai madoi CaPTiViTY Odaku ga tsudzuke sou Ne doko de atta koto ga nai ka? Ne itoshii kimi to hanashitai Ne jikan wa? Kyou wa? Wakaranai Ne! Wasurete shimaeba yokatta iNSaNiTY Fusou shisou da PSYCHoPaTHY Nonki na jinsei iNSaNiTY Yami ka? Hikari ka? iNSaNiTY iNSaNiTY sAnIty Mou mienai kuro pUrIty Motto nagai hibi sAnIty Sore mo shizumanakya "sAnIty" ...tte nani desu ka? iNSaNiTY Fusou shisou desu PSYCHoPaTHY Nonki na jinsei iNSaNiTY Owarenai madoi CaPTiViTY Nigerarenai iNSaNiTY Fusou shisou desu PSYCHoPaTHY Nonki na jinsei iNSaNiTY Owarenai madoi CaPTiViTY Odaku ga tsudzukeru
https://w.atwiki.jp/xbox360score/pages/179.html
北米・欧州版Xbox360でのみ起動可能なソフト これらのタイトルは日本版本体では動かない。 アジア版も未発売。 5th Grader Game Time Air Conflicts Pacific Carriers (欧州のみ発売/要欧州本体) Air Conflicts Secret Wars All-Pro Football 2K8 Amped 3 Apache Air Assault Ashes Cricket 2009 (欧州のみ発売/要欧州本体) Attack of the Movies 3D Autobahn Polizei Back to the Future The Game Backbreaker Backyard Football 2010 Backyard Sports Rookie Rush Backyard Sports Sandlot Sluggers Bakugan DOTC Barbie and her Sisters Puppy Rescue Bass Pro Shops The Hunt Bass Pro Shops The Strike Big Bumpin Blood Drive Brian Lara International Cricket 2007 Bully Scholarship Edition Cabela s Adventure Camp Cabela s African Safari Cabela s Dangerous Hunts 09 Cabela s Outdoor Adventures 2010 Carrier Command Gaea Mission Cartoon Network Punch Time Explosion XL Championship Manager 2007 College Hoops 2K6 College Hoops 2K7 College Hoops 2K8 Country Dance All Stars Crash Time Darkest of days DDRUniverse Deadliest Catch Alaskan Storm Deadliest Catch Sea of Chaos Deadly Premonition DEATHSMILES NA Digimon All-Star Rumble DreamWorks Super Star Kartz Duck Dynasty Eragon Fantastic 4 Rise of the Silver Surfer FAR CRY 4 Field & Stream Golden Compass Gray Matter (欧州のみ発売/要欧州本体) GregHastingsPaintball2 History Channel Civil War History Channel Civil War Secret Missions History Channel Great Battles - Medieval History Legends of War Patton IL-2 Sturmovik Birds of Prey Indianapolis 500 Evolution JASF Jane s Advanced Strike Fighters Jillian Michaels Fitness Adventure Jimmie Johnson s Anything with an Engine Jurassic The Hunted Jurassic Park The Game KR American Idol Encore KR American Idol Encore 2 Karaoke Revolution Glee Volume 3 Le Tour de France 2011 Legendary LEGO Star Wars II LMA Manager 2007 Looney Tunes ACME Arsenal Lucha Libre AAA: Heros of the Ring Madden NFL 06 Man vs. Wild Mayhem 3D Meet the Robinsons Michael Phelps Push the Limit Minute To Win It MLB Front Office Manager Monster High New Ghoul In School Monster Jam PoD Monster Madness MorphX MoToGP 13 MoToGP 14 Motorcycle Club (欧州のみ発売/要欧州本体) MUD FIM Motocross World Championship NASCAR 08 NASCAR 09 NASCAR The Game Inside Line NASCAR Unleashed National Geographic Challenge! Naughty Bear NBA 2K6 NCAA Basketball 09 NCAA Football 07 NCAA Football 08 NCAA Football 09 NCAA March Madness 07 NCAA March Madness 08 NFL Head Coach 09 NFL Tour NHL 07 NHL 08 NHL 09 NHL 10 NHL 11 NHL 2K6 NHL 2K7 NHL 2K8 NPPL Championship Paintball 2009 Phineas and Ferb Quest for Cool Stuff Pinball Hall of Fame The Williams Collection Pocketbike Racer Power Rangers Super Samurai Quake 2(Quake 4の同梱ディスクでのみプレイ可能 ※Quake 4自体はリージョンフリー) Rambo The Video Game (欧州のみ発売/要欧州本体) Rock Band 2 Rock Band Track Pack AC/DC LIVE Rock Band Country Track Pack Rock Band Metal Track Pack Rock of the Dead Rock Revolution Rugby Challenge 2 Rugby League Live 2 (欧州のみ発売/要欧州本体) Rugby World Cup 2015 Samurai Warriors 2 Empires SBK-08 Superbike World Championship SBK-09 Superbike World Championship Section 8 Sherlock Holmes vs. Jack the Ripper Sherlock Holmes:Crimes&Punishments Sneak King Ski Doo Snowmobile Challenge Sniper Ghost Warrior Space Chimps Summer Athletics Summer Athletics 2009 Supreme Commander Tale Of Despereaux Tetris Evolution The Cursed Crusade Top Gun Hard Lock Truth or Lies Venetica Wheel of Fortune Who Wants to Be a Millionaire 2012 Edition Winning Eleven 2007 Winter Sports 2 The Next Challenge World Championship Poker All In World of Outlaws Sprint Cars World Series of Poker 2008 BftB World Series of Poker ToC World Snooker Championship 2007 WRC FIA World Rally Championship 3 WRC FIA World Rally Championship 4 WRC5 Zumba Fitness Core Zumba Fitness Join the Party Zumba Fitness Rush Zumba Fitness World Party Zumba Kids
https://w.atwiki.jp/api_programming/pages/23.html
http //developer.android.com/training/sync-adapters/creating-sync-adapter.html Sync Adapter を使用するためにやること Sync Adapter Class を作る Service をバインドする Sync adapter XML metadata file を準備する AndroidManifest.xml への宣言 Sync Adapter Classを作る AbstractThreadedSyncAdapterの拡張 コンストラクタの作成 /** * Handle the transfer of data between a server and an * app, using the Android sync adapter framework. */ public class SyncAdapter extends AbstractThreadedSyncAdapter { ... // Global variables // Define a variable to contain a content resolver instance ContentResolver mContentResolver; // 情報を操作するオブジェクト ... /* Sync Adapter の設定 */ public SyncAdapter(Context context, boolean autoInitialize) { super(context, autoInitialize); /* * If your app uses a content resolver, get an instance of it * from the incoming Context */ mContentResolver = context.getContentResolver(); } ... /** * Set up the sync adapter. This form of the * constructor maintains compatibility with Android 3.0 * and later platform versions */ public SyncAdapter( Context context, boolean autoInitialize, boolean allowParallelSyncs) { super(context, autoInitialize, allowParallelSyncs); /* * If your app uses a content resolver, get an instance of it * from the incoming Context */ mContentResolver = context.getContentResolver(); ... } データの通信 onPerformSync() 内で実施。 引数は簡単に呼び出せるように、 (Account) accountアカウント情報の要らないサーバなら、不要 (Bundle) ExtrasBundleオブジェクト:アプリの中断および強制終了されたときのため前回終了時の状態を保持する。http //wakaranai.web.fc2.com/c01-Bundle.html 画面がクルッを回したりすると、一旦Bundleクラス内に情報を預けて、画面を更新。構築後、情報を取り出す。 onSaveInstanceState() って、わざわざonSaveInstanceState(Bundle outstate)なんて持ち出さなくても、onCreate(Bundle savedInstanceState)じゃないか。 (String) Authority (ContentProviderClient) (SyncResult)syncresult 実装する機能。以下を読むと、何だ、全部人でやるんじゃん、って思った。でも、以下の処理をバックグラウンドでやってくれる。 サーバに接続Sync Adapter がネットワークにつないでくれるわけじゃない データのダウンロード、アップロードダウンロード、アップロードを勝手にはやってくれないので、自分で実装する。 ネットワークエラーの処理も自分で取り扱う必要あり Handling data conflicts or determining how current the data isサーバでデータのコンフリクトが起こっても、やっぱり自分で対処。 ネットワークを閉じるなどの終了処理 ContentResolverなんかでデータを挿入したりするのはここで書くのか。 Sync Adapter をサービスにバインドする Serviceの中のonCreate()にてSync Adapter コンポーネント生成する。必要なタイミングまで生成されるのを待てる。 thread-safeで作る複数個呼び出されてもいいように package com.example.android.syncadapter; /** * Define a Service that returns an IBinder for the * sync adapter class, allowing the sync adapter framework to call * onPerformSync(). */ public class SyncService extends Service { // Storage for an instance of the sync adapter private static SyncAdapter sSyncAdapter = null; // Object to use as a thread-safe lock private static final Object sSyncAdapterLock = new Object(); /* * Instantiate the sync adapter object. */ @Override public void onCreate() { /* * Create the sync adapter as a singleton. * Set the sync adapter as syncable * Disallow parallel syncs */ synchronized (sSyncAdapterLock) { if (sSyncAdapter == null) { sSyncAdapter = new SyncAdapter(getApplicationContext(), true); } } } /** * Return an object that allows the system to invoke * the sync adapter. * */ @Override public IBinder onBind(Intent intent) { /* * Get the object that allows external processes * to call onPerformSync(). The object is created * in the base class code when the SyncAdapter * constructors call super() */ return sSyncAdapter.getSyncAdapterBinder(); } }
https://w.atwiki.jp/vocaloidenglishlyric/pages/202.html
【Tags D MEIKO OPA tA tE tO tT Asaki No'9】 Original Music Title 道徳の樹海 English music title Ocean of Trees of Moral \ Extensive Forest of Moral Romaji music title Doutoku no Jukai Lyrics written by Asaki No 9 Music written by OPA Music arranged by OPA Singer MEIKO Click here for the original Japanese Lyrics English Lyrics (translated by hokorichan): If you wander naked in the forest while the black snow are gathering even human will turn into beasts turn into beast for the sake of living If you take away all that is noble can you still call that living if you ask the present day educators you are better off being ignored It had been decided long ago decided by other people no one can be comforted by my personality Instead of a collar, morals chained me up I can quit being human if I remove that but even so, I cannot take it off my genes are crying... Surrounded by the cold rain and nothingness wandering around by the importance of the past even regrets will turn into forest becoming resources for the sake of the future It had been fixed long ago I will kill it myself my personality has been determined by my blood Don t human all return to the ocean one day? by that time will I understand the reason? even so, we are still evolving are you a demon? In the midst of the endless continuing disputes running away from this deep forest ahead there is a scene that is not yet permitted to be seen If you wander naked in the forest while the black snow are gathering even your soul will be sacrificed sacrificed for the sake of the next generation Romaji lyrics (transliterated by hokorichan): kuroi yuki ga furitsumoru goro hadaka de fukai jukai samayoueba ningen datte kemono ni naru seimei no tame ni kemono ni naru suukou dake torinozoi temo sore wo ikiteiru to ieru no ka ima no kyouiku ni toikakete mushisareta dake mada mashi datta itsukara ka kimerareta tanin ni kimerareta watashi no kosei de wa dare mo nagusamerarenai kubiwa no kawari ni burasageta doutoku hazuse ba sugu ni ningen wo yameremasu soredemo mada hazusenai idenshi ga naiteru... sameta ame to mu ni tsutsumareta ano hibi wo taisetsu ni samyoue ba koukai datte jukai ni naru mirai no tame no shigen ni naru itsukara ka kimetsukete jibun de koroshiteta watashi no jinkaku wa chi ga kimeteiru no da to ningen mo itsuka umi ni kaeru darou sono riyuu wa sono toki ni wakaru darou soredemo mada shinkasuru anata ga akuma na no? taemanaku tsuzuku arasoi no tochuu de kono fukai jukai wo nukedashita kara ka kono saki mo mada yurusenai keshiki ga nagareteru... kuroi yuki ga furitsumoru koro hadaka de fukai jukai samayoueba tamashii datte gisei ni naru jisedai no tame no gisei ni naru
https://w.atwiki.jp/gamemusicbest100/pages/9416.html
リターン トゥ ドリームランド 収録作品:星のカービィ Wii[Wii] 、星のカービィ Wii デラックス [NS] 作曲者:安藤浩和 概要 『星のカービィ Wii』のスタッフクレジットで流れるBGM。 長らく作曲者は不明だったが、Wiiデラックスで収録された際に安藤氏であることが判明した。 本作のエンディングはこれまでの冒険の思い出を振り返ることに比重を置いた構成となっており、曲も作中で使われた複数の主要曲のフレーズを組み込んだオーケストラメドレーである。 「4人の仲間と:クッキーカントリー」「彼方からの旅人マホロア」で前半を優しく演奏し、「スカイタワー」を橋渡しとして「ぼうけんのはじまり」で一気に盛り上げ、最後はお馴染み「GREEN GREENS」で締め括る曲構成となっている。 『星のカービィ Wii』の楽曲の集大成といえる曲となっており、本作のエンディングに相応しい仕上がりと言えるだろう。 曲名については、本作の北米版タイトル『Kirby’s Return to Dream Land』から取ったものと思われる。 「Dream Land」とは、カービィたちが住むプププランドの英語名であるため、直訳すると「プププランドへの帰還」となる。 なお、この北米版タイトルは初代の英語名『Kirby's Dream Land』を意識して名付けられたものと思われる。本作は非常に開発が難航した作品で知られており、7年の歳月を経て完成した本作のタイトルに、初代タイトルを含ませた意味は軽いものではないだろう。 ちなみに、この曲の英語名は「Returning to Dream Land」と微妙に違う。 またスタッフクレジットのムービーは、SDX及び前作USDXのエンディングを多大に意識したものとなっており、エクストラモードのうら・スタッフクレジットが特に分かりやすい。 なおムービーの最後にまだ見ぬ存在を示唆するスタイルは、以降の作品にも受け継がれている。 異空(いくう)をかけ チカラを全(すべ)て集(あつ)め、まるで 生(う)まれかわった ような旅人(たびびと)マホロア! いつの日(ひ)かトモダチのため( )に、そのチカラを使(つか)う時(とき)がくるかも…こないかも? リメイク作『星のカービィ Wii デラックス』の追加エピソード「マホロアエピローグ」のエンディングの一部にも、本編のエンディング曲であるこの曲のフレーズが使われている。 この曲は主に追加エピソードのメインテーマである「断罪のマルスプミラ」と「CROWNED」のフレーズを中心に構成されているのだが、前半の区切りとなる「Return to Dreamland」のフレーズを境に、ラスボス曲と同様にこの作品とは違う別の作品の曲のフレーズが流れてくる。 これまでの戦いの軌跡を振り返り、最後の異空間ゲートに飛び込むシーンの辺りから曲の輪郭が露になってくるのだが、それはカービィハンターズの「マックスハッピータウン!!」であった。 全てを見終わったとき、このエンディングこそが、エピソードの副題である「異空をかける旅人」の答えであることが分かるはずだ。 ちなみにこの曲の名は「あのパラレルを超えて、キミと」である。 過去ランキング順位 星のカービィ Wii「Return to Dreamland」 第15回みんなで決めるゲーム音楽ベスト100 512位 第16回みんなで決めるゲーム音楽ベスト100 673位 みんなで決めるエンディングBGMベスト100の結果 127位 第2回みんなで決めるエンディングBGMベスト100の結果 20位 みんなで決める2011年の新曲ランキングの結果 239位 みんなで決める星のカービィBGMベスト100 79位 みんなで決める泣き曲ランキングの結果 147位 第2回みんなで決める星のカービィBGMランキング 111位 星のカービィ Wii デラックス「あのパラレルを超えて、キミと」 第16回みんなで決めるゲーム音楽ベスト100 725位 みんなで決める2023年の新曲ゲーム音楽ランキング 217位 サウンドトラック 星のカービィ Wii ミュージックセレクション
https://w.atwiki.jp/ntemacs/pages/78.html
ここは、次のページの【お知らせ】をまとめているページです。 Windows の操作を Emacs のキーバインドで行うための設定 (Keyhac版) 【特に重要なお知らせ】 2020/04/23 更新 use_emacs_ime_mode 変数の設定により、Emacs日本語入力モードを使うかどうかを指定できるようにしました。Emacs日本語入力モードは、IME が ON の時に文字(英数字かスペースを除く特殊文字)を入力すると起動するモードです。(モードに入ると、▲のマークが表示されます。) Emacs日本語入力モードになると、Emacsキーバインドとして利用できるキーが以下のキーのみに限定され、その他のキーは Windows にそのまま渡されるようになります。このため、以下のキー以外は IME のショートカットキーとして利用することができるようになります。 ⇒ (2020/05/10 追記)emacs_ime_mode_key 変数の設定により、IME ショートカットキーの置き換えができるようになりました。 Emacs日本語入力モードで使える Emacsキーバインドキー ・C-[ ・C-b、C-f ・C-p、C-n ・C-a、C-e ・C-h ・C-d ・C-m ・C-g ・scroll_key 変数で指定したスクロールキー Emacs日本語入力モードは、以下の操作で終了します。 ・Enter、C-m または C-g が押された場合 ・[半角/全角] キー、A-` キーが押された場合 ・BS、C-h 押下直後に toggle_input_method_key 変数や set_input_method_key 変数の disable で指定したキーが押された場合(間違って日本語入力をしてしまった時のキー操作を想定しての対策) 利用する上での注意点としては、日本語入力を上記に記載している「Emacs日本語入力モードを終了する操作」(Enter や C-g などの押下)で終えないと、Emacs日本語入力モードが終了しないことです。例えば、文字を入力し BSキーで入力した文字を消したり Esc でキャンセルしたりすると日本語入力中ではなくなりますが Emacs日本語入力モードは終了していません。この場合は、C-g を押下することで明示的に Emacs日本語入力モードを終了させる必要があります。(BS、C-h 押下直後に toggle_input_method_key 変数や set_input_method_key 変数の disable で指定したキーが押された場合についても、Emacs日本語入力モードを終了させるようにしています。半角文字を入力するつもりで間違って日本語入力をしてしまった場合、BS、C-h で入力した文字を削除した後に IME を OFF にする操作をすることが想定されるため、その対策です。) 逆に、変換候補表示中に C-g を押下すると、日本語入力が終了していな状態でも Emacs日本語入力モードが終了してしまいます。変換候補表示をキャンセルする場合には Esc を使うようにし、C-g と使い分けて利用するようにしてください。 これで、Windows のキーを直接的に入力する方法は以下の5とおりとなっています。 本設定で置き換えしていないキーを入力する。(置き換えしていないので、入力したキーがそのまま Windows に渡される。C-c など。) side_of_ctrl_key 変数や side_of_alt_key 変数で設定した側でない Ctrlキーや Altキーと組み合せたキーを入力する。 C-q を入力した後にキーを入力する。(C-q の後に入力したキーが Windows に入力される。) Emacs日本語入力モード時に、C-[、C-b、C-f、C-p、C-n、C-a、C-e、C-h、C-d、C-m、C-g、scroll_key 変数で指定したスクロールキー、toggle_emacs_ime_mode_key 変数で指定したキー以外のキーを入力する。 2020/02/14 追記 Keyhac を利用する場合のメリットを考えてみました。 ポータブルであること(OS へのインストールが不要で、ソフトおよび設定を容易に持ち運びできる。Keyhac を動かすには「Visual Studio 2015 の Visual C++ 再頒布可能パッケージ 」のインストールが必要となっていますが、インストールされるものは C \Windows\SysWOW64\msvcp140.dll ですので、この dll を keyhac.exe と同じフォルダに置けば、「Visual Studio 2015 の Visual C++ 再頒布可能パッケージ 」をインストールしていない PC でも Keyhac を動かすことができるようになります。) keyhac.exe を起動している時のみ、キーバインドの設定が有効になること どこでも同じ環境を容易に構築でき、そして設定を簡単に無効にできる(ソフトのアンインストールが不要な)のはとても便利かと思います。 2019/12/17 追記 redo(undo の undo)を行うためには、Emacs と同様に C-g を入力した後に undo を実行します。ただし、notepad.exe の様に redo のキーバインド(C-y)を持たないアプリケーションソフトでは動作しません。 2016/10/12 追記 IME を Google 日本語入力 とし、プロパティの「キー設定」を「ことえり」にすると、C-i(文節を縮める)、C-o(文節を伸ばす)、C-j(ひらがなに表示切替)、C-k(全角カタカナに表示切替)、C-l(全角英数に表示切替)、C-;(半角に表示切替)、C- /C- (半角英数に表示切替)が近い位置(io と jkl; or jkl; はそれぞれ横並びの位置)のキーに設定され、Emacs日本語入力モードで有効としているキーとも被らない設定となるので、具合が良いです。(被らない設定となるのは、「ことえり」が Emacsキーバインドをベースとしたキー設定となっており、Emacs日本語入力モードで有効としているキーが 「ことえり」でも同じ目的のキーの設定となっているためです。またこのことは、本設定により Emacsキーバインドを有効としていないアプリケーションソフトで日本語入力する場合でも Emacsキーバインドを使えるということにもなります。) https //www.google.co.jp/ime/ http //little-beans.net/howto/google-jinput-win10/ ⇒ (2020/05/10 追記)emacs_ime_mode_key 変数の追加により、Google 日本語入力 のプロパティを「MS-IME」にしていても「ことえり」のキーバインドが利用できるようになりました。また、Micorosoft IME でも同様に利用できます。 【その他のお知らせ】 2021/04/11 追記 次の issue の報告の対策を行いました。 https //github.com/smzht/fakeymacs/issues/9 2021/04/06 追記 次の の issue(バグ)の対応と共に、VSCode 用の機能の実装を全面的に見直しました。 https //github.com/smzht/fakeymacs/issues/8 2020/11/19 追記 VSCode 向けに Ctl-x C-b(list-buffers)の機能をサポートしました。 2020/11/02 追記 利用している IME を設定する方法を見直しました。_config_personal.py 中の設定も変更となっていますので、config_personal.py を利用されている方は対応をお願いします。 https //github.com/smzht/fakeymacs/commit/f9f1e820486e837348cae9109f566bc1e26ca647 2020/10/15 追記 config.py の全面的な構成見直しにより、config_light.py のサポートを中止しました。config_light.py を利用されている方が居りましたら、ご了承願います。 2020/10/10 追記 リストウィンドウのリストを指定する変数名の見直しを行いました。cblister が clipboardList_listers に、lclister が lancherList_listers に変更となっています。_config_personal.py 中の設定も変更となっていますので、config_personal.py を利用されている方は対応をお願いします。 2020/10/10 追記 ほとんどの方が利用しないであろう config.py 内のオプション機能をオプション用の config ファイルに切り出し、config_personal.py の中から間接的に呼び出すように見直しました。また、「オプション機能」を「拡張機能」と呼ぶように見直しました。 2020/10/04 追記 VSCode では C-S- をモディファイアキーとして使うキーバインドが多く定義されています。このことから、定義が被るキーバインドを利用する Emacsシフトモードのサポートを中止することとしました。あまり利用されていない機能だと思っていますが、もし利用されている方が居りましたら、ご了承ください。 2020/10/01 追記 本ページで akinosign というソフトを紹介していましたが、このソフトを起動していると複雑な構成の Excel ファイルで処理が重くなるなど、問題が発生することが分かりました。ついては、本ページで akinosign 紹介することは取りやめることとしました。 2020/09/20 追記 VSCode の対応を強化しました。強化ポイントは次のページの説明を参照してください。この対応により、Code.exe の Emacs キーバインドが有効となるよう初期設定を変更しています。 https //github.com/smzht/fakeymacs#vscode-%E3%81%AE%E5%BC%B7%E5%8C%96%E3%83%9D%E3%82%A4%E3%83%B3%E3%83%88 2020/09/15 追記 toggle_emacs_keybind_key 変数の設定(初期値:C-S-Space)により、emacs キーバインドを利用する設定をしたアプリケーションソフトの Emacs キーバインドの利用を切り替えることができるようにしました。Emacs キーバインドを利用するアプリケーションでかつフォーカスが当たっているアプリケーションソフトに対して切り替えが機能します。また、Emacs キーバインドを OFF にしても、IME の切り替えは img_target に登録したアプリケーションソフトと同様に機能するようにしています。なお、emacs_target_class 変数に指定したクラス(初期値:Edit)に該当するアプリケーションソフト(NotePad など)は、Emacs キーバインドを切り替えの対象となりませんのでご留意ください。 2020/08/18 追記 Fakeymac で個人設定用ファイルを利用できるようにしました。詳しくは、以下のリポジトリにある _config_personal.py の最初のコメントを参照してください。 https //github.com/smzht/fakeymacs 2020/08/15 追記 skip_settings_key 変数を設定することにより、キーマップ毎にキー設定をスキップするキーを指定できるようにしました。現在、個人の設定を外部ファイルに外出しして管理できるようにする機能を追加しており、その機能を実現するための1機能となります。個人の設定を外部ファイルに外出しして管理できるようにする機能は develop branch で開発していますので、興味の有る方は覗いてみてください。 https //github.com/smzht/fakeymacs/issues/2 https //github.com/smzht/fakeymacs/tree/develop ⇒(2020/08/18 追記)develop branch は master branch に merge されました。 2020/08/11 追記 emacs_exclusion_key 変数を設定することにより、Emacs のキーバインドにするアプリケーションソフトで Emacs キーバインドから除外するキーを指定できるようにしました。例えば、C-t は Emacs キーバーインドで reconversion(再変換)の機能を割り当てていますが、ブラウザを利用しているときには「新しいタブを開く」機能のショートカットキーとして利用したいと思う方が多く居ると思います。このようにアプリケーションソフト側のショートカットキーを優先したい場合に利用することができます。この設定を行わなくても、左右のモディファイアキーを使い分けることで Windows 側のショートカットキーを入力することも可能ですが、頻繁に利用するキーについては Emacs キーバインドで使うモディファイアキーとの組み合わせで利用できるようになり便利かと思います。 (もう少し具体的な説明をすると、chrome.exe には Emacs のキーバインドから除外するキーとして C-l、C-t を割り当てています。この設定により chrome.exe では、C-l を「アドレスバーへの移動」、C-t を「新しいタブを開く」として使えるようになります。これに Emacs キーバインドとして設定してある M-k(A-k)の「開いているタブを閉じる」や chrome.exe のショートカットキーである C-Tab/C-S-Tab の「タブの切り替え」などを組み合わせると、ブラウザを容易に操作できるようになると思います。) 2020/06/03 追記 新しい Microsoft IME では、リージョンを選択した状態で Space キーを押下すると「再変換」が働きます。このときに日本語入力モードを使う設定にしていれば、日本語入力モードに移行するようにしました。 2020/05/29 追記 「キー割り当て変更ユーティリティを統合した「PowerToys v0.18.0」」。Keyboard Manager が統合されています。PowerToys Run もいい感じのデザインです。 https //pc.watch.impress.co.jp/docs/news/1253450.html ※ KeySwap や Change Key でのレジストリの設定を Keyboard Manager に移行することを試みましたが、Keyboard Manager は Keyhac との共存はできないツールのようでしたので、元に戻しました。Keyboard Manager はレジストリ設定型のアプリではなく、Keyhac や AutoHotKey と同様の常駐型のアプリのようです。 2020/05/28 追記 仮想デスクトップを操作する SylphyHorn というソフトを見つけました。Microsoft Store からインストールできます。仮想デスクトップは、OS 標準機能でもキーボードショートカットによる移動はできますが、ウインドウを仮想デスクトップ間で移動するキーボードショートカットはありません。このソフトはこの機能をサポートしています。 https //forest.watch.impress.co.jp/docs/news/1136124.html Fakeymacs では、仮想デスクトップの移動に Win+b と Win+f を割り当てています。(というか、今回見直しを行いました。)また、アクティブウィンドウを仮想デスクトップ間で移動するためのキーを設定する変数として、window_movement_key_for_desktops 変数を追加しました。SylphyHorn をインストールし、window_movement_key_for_desktops 変数を設定することにより、仮想テスクトップの操作をキーボードのみで行えるようになります。(window_movement_key_for_desktops 変数の設定例には、Win+p、Win-n を設定しています。Win+p は「プレゼンテーション表示モード選択画面」を表示するためのキーなのですが、Ctrl+q Win+p で機能を呼ぶことができます。RWin キーがあれば、RWin+p でも対応可能と思います。) なお、SylphyHorn には仮想デスクトップをループさせる機能があります。この機能は(何故か)背景を変更する機能を ON にすると利用できるようになるのですが、同時に仮想デスクトップ切替時にウィンドウのフォーカスが正しく切り替わらない(タスクバーのアイコンが点滅する)状況が発生するようになるため、利用は見合わせています。また、仮想デスクトップの切り替えを通知する機能がありますが、この機能は処理が重いので代わりにトレイアイコンにデスクトップ番号を表示する機能を使っています。これらの SylphyHorn の機能を有効するには、設定画面を閉じる必要があるようです。 さらに、仮想デスクトップのアニメーションを止めたい場合は、次のページを参照してください。 http //otsuka.hatenablog.com/entry/2016/08/05/214256 また、すべての仮想デスクトップのウィンドウのアイコンをタスクバーに表示させたい場合には、次のページを参照してください。 https //pc-karuma.net/windows-10-virtual-desktop-show-all-window-app/ 2020/05/26 追記 ThinkPad トラックポイント キーボード II が国内で販売開始となりました。Fakeymacs と相性バッチリではないかと思います。 https //pc.watch.impress.co.jp/docs/column/ubiq/1254581.html https //www.lenovo.com/jp/ja/accessories-and-monitors/keyboards-and-mice/keyboards/KBD-BO-TrackPoint-KBD-US-Eng/p/4Y40X49493 https //www.lenovo.com/jp/ja/accessories-and-monitors/keyboards-and-mice/keyboards/KBD-BO-TrackPoint-KBD-Japanese/p/4Y40X49522 2020/05/24 追記 仮想デスクトップを移動するためのキーは、Windows キーと組合わせたキー設定にしないと、仮想デスクトップを移動したときにアクティブフォーカスの設定が正しく行われないことが分かりました。このことから、Fakeymacs で Windows キーを正式にサポートすることとし、desktop_switching_key 変数の初期値を Win キーを利用するものに変更しました。(併せて、window_movement_key 変数 の初期値も Win キーを使うものに見直しました。) 2020/05/23 追記 IME の「再変換」の機能は、[変換] キーだけでなく、Win+/ キーでも機能することが分かりました。Windows 10 ver 2004 では [無変換] キー、[変換] キーのキーの機能を容易に変更できるようになるため、この影響を受けないように IME の「再変換」の機能を Win+/ キーで動作するように見直ししました。 2020/05/10 追記 Windows 10 May 2020 Update では、Microsoft IME の機能改善が図られ、Google 日本語入力と遜色ない IME になっているようです。ただし、キーバインドを変更する「キー設定」の編集画面が見当たりません。そこで、IME のキーバインドを変更するための機能を追加してみました。初期値は、Microsoft IME で Google 日本語入力の「ことえり」のキーバインドが利用できるようにする設定 としています。emacs_ime_mode_key 変数で設定の追加や変更ができますので、お試しください。 2020/04/30 追記 「Windows 10 2020年春の新機能 日本語入力が楽になる!変換/無変換キーで日本語入力がオン/オフに」。Fakeymacs では、set_input_method 変数の設定により、同様の機能をサポートしました。Windows 10 1909 までのバージョンでも IME の設定変更なくこの機能を利用できます。。 https //pcmanabu.com/windows10-ime/ 2020/04/26 追記 Keyhac のバージョン 1.82 がリリースされました。ワンショットモディファイアの機能に不具合の修正が入りましたので、Alt キーによる IME 切替え機能を利用される方は Keyhac のバージョンアップをお願いします。 https //github.com/crftwr/keyhac/blob/master/doc/changes.txt 2020/04/26 追記 数引数の指定に Ctrl + 数字キーを使うかどうかを指定する変数を追加しました。初期値は無効(False)としています。 2020/04/26 追記 Alt + 数字キー列や Alt + Shift + 数字キー列によるファンクションキー入力機能を追加しました。F1 から F12 までを Alt + 数字キー列で、F13 から F24 までを Alt + Shift + 数字キー列で指定できます。初期値はどちらも無効(False)としています。この設定は global に機能します。 2020/04/23 追記 ワンショットモディファイアの機能を利用し、左右の Alt キーで IME を切替えられるようにする機能を追加しました。set_input_method_key 変数のコメントを見直すことで動作するようになります。US のキーボードを利用している場合にお試しください。 https //github.com/smzht/fakeymacs なお、次の設定も同じ操作性にできるように見直しました。 emacs-mozc を動かすための設定(Emacs 設定編) 2020/04/16 追記 PC を落とす時や再起動する時、Windows のデスクトップを選択(クリック)して C-x C-c を押下すると、操作を選択するダイアログが表示されます。地味に便利なのでお試しください。 2020/04/13 追記 「IME を無効にするキー」と「IME を有効にするキー」を設定できるようにし、set_input_method_key 変数で指定できるようしました。初期設定では、「無変換」キーと「変換」キーを割り当てています。C-o の設定はトグル動作となっていますが、設定の中のコメントを見直すことで変更可能です。お勧めは、C-o のトグル設定は残して C-j に英数への切替えを設定するものです。日本語への切替えが C-o によるトグル操作による切替えの他、C-j C-o での一発切替えが可能となります。 https //github.com/smzht/fakeymacs なお、次の設定も同じ操作性にできるように見直しました。 emacs-mozc を動かすための設定(Emacs 設定編) 2020/03/16 追記 Microsoft PowerPoint でも Word と同様の改行対策を行いました。 2020/03/13 追記 Microsoft Excel 2019 では、セル内の文字列の改行の扱い方が変更となりました。(Word と同様、改行を選択可能となった。)この対策を行いました。 2019/12/24 追記 Keyhac の動作にに必要な「Visual Studio 2015 の Visual C++ 再頒布可能パッケージ 」ですが、次のリンクに書かれているとおり複数のバージョンがあるようです。 https //caddiary.com/?p=1669 https //tyawanmushi.hatenablog.com/entry/Microsoft-Visual-C%2B%2B-Redistributable-Lists Keyhac のダウンロードページにあるリンクは古いものを指しているようでしたので、次のリンクの新しいもの(14.0.24215.1 2016/09/15)のインストールをお勧めします。(x86版 のインストールが必要です。) https //www.microsoft.com/ja-jp/download/details.aspx?id=53840 なお、「Visual Studio 2019 の Visual C++ 再頒布可能パッケージ 」では 2015 が統合されているとのことです。ですのでこちらをインストールする選択肢もあると思いますが、この辺になると良く分かりません。 https //support.microsoft.com/ja-jp/help/2977003/the-latest-supported-visual-c-downloads https //nln.jp/wp/archives/4782 2019/11/20 追記 Emacsシフトモードを利用していない場合、シフトキー+移動キーでリージョンの設定ができる機能をサポートしました。この対応で、windows_movement_key と desktop_switching_key の初期設定値を見直ししています。 <2019/11/24 追記> use_region_reset 変数を False にした場合の挙動を保証できなくなったので削除することとしました。(初期値は True だったので、ほとんどの方には影響は無いと思います。) 2019/07/21 追記 Emacs日本語入力モードを使っている場合に発生する、ウインドウ切り替わり直後の日本語入力時に文字が二重に入力されることがある問題の対策を行いました。この問題は、Windows 10 1903 から顕著に発生するようになったものです。 <2019/03/27 追記> 数引数を指定してキーボードマクロを再生した際の再生再現性を高めました(まだ完全ではありませんが..)。また、この対応で C-u C-x e(数引数付きのキーボードマクロの再生)を行った際に、再生文字列中に「e」や「え」が混入することがある問題も解決されたように思います。 <2019/03/27 追記> キーボードマクロの再生時に IME の状態に依存した動作とならないようにするため、キーボードマクロの記録と再生の開始時に IME を強制的に OFF にするようにしました。 <2019/01/31 追記> Emacs のキーバインドにするウィンドウのクラスネームを指定できるようにし、Edit クラスを設定しました。この対応で、not_emacs_target に指定しているアプリなどでも、ダイヤログボックスなどにあるテキストフィールドで Emacsキーバインドが使えるようになりました。 2018/06/01 追記 kill-buffer に Ctl-x k とは別に M-k も割り当てしました。プラウザのタブを削除する際などにお使いください。 2018/04/17 追記 本設定は python のクロージャの仕組みを利用しています。クロージャについては、次のページの説明が参考になると思います。 https //www.lifewithpython.com/2014/09/python-use-closures.html 2018/04/03 追記 Logicool のマウスをお使いの方で、SetPoint アプリによる設定でキーストロークの割当を行う場合には、Keyhac のフックを OFF にしてから割当をするようにしてください。ON のまま割当すると正しく動作しないようです。(この現象が分かるまでかなり嵌りました..。)他のソフトでも同様の状況が発生する可能性があると思います。 2018/02/23 追記 clipboard 監視の対象外とするアプリケーションソフトで copy / cut した場合でも、クリップボードの内容をクリップボードリストに登録するように対策しました。 2017/10/12 追記 window_switching_key を None に設定した場合(タスク切り替え画面の起動を A-Tab で行う場合)でも、タスク切り替え画面内で A-p、A-n キーによる画面移動を可能としました。 2017/06/22 追記 ちょっと邪道との思いはあったのですが、word_register_key 変数に設定したキーにより IME の「単語登録」プログラムが起動するように対応しました。「単語登録」プログラムの起動は、IME のショートカットキーの設定によっても対応できるのですが、mozc_emacs_helper.exe を使って NTEmacs 等の Emacs 上で日本語入力している際にはこの IME のショートカットキーが有効とならないため、Keyhac 側で対応することとしました。Keyhac 側で対応したことにより、以下の設定で動かす Emacs からでも利用することができます。 WSL で Emacs を使うための設定 キーの初期設定は、C-] とし、起動する「単語登録」プログラムは「Google 日本語入力」のものとしています。単語登録したい単語(文でも OK)を選択もしくはグリップボードにコピー(Emacs はこちらの対応が必要)してから C-] を押下することで、容易に単語登録ができるようになります。IME のショートカットキーを利用した方法ではないため、英数直接入力モードの場合でも単語登録を行うことができます。 設定の中で「単語登録」プログラムを「MS-IME」のものに変更することもできるようにしていますが、こちらは IME のショートカットキーから起動した場合と動きが異なり、選択した単語の初期表示が行われないようです。IME に「MS-IME」を使うということであれば、mozc_emacs_helper.exe を利用していないと思われますので、その際は IME のシートカットから「単語登録」プログラムを起動するように設定することをお勧めします。 なお、この機能が不要な場合は word_register_key 変数に None を設定してください。機能が無効となります。 2017/05/24 追記 間違った数引数の指定により発生するコマンドのリピートが止まらなくなる事故を防ぐため、コマンドのリピート回数の最大値を指定できるようにしました。初期値は 1024 にしています。 2017/05/16 追記 cmd.exe と powershell.exe についても、C-n、C-p、C-w、M-w、C-k、C-s、C-r 辺りのキー(C-s、C-r が使えるのは Powershell のみ)は利用できるように対応しました。但し、powershell.exe では起動直後に C-w や C-k で切り取りをした際や、以降でも行の最終カラムで C-k を入力した際などにエラーとなります。これは既知の問題のようでもあり対策できていません。(Keyhac を利用していない状態でも、C-a - C-x で再現します。)⇒ (2019/4/1 追記)Windows 10 1809 で試したところ、この問題は発生しなくなっていました。 https //github.com/lzybkr/PSReadLine/issues/509 なお、範囲選択(リージョン指定)ができない場合は、プロパティの設定にある「テキスト選択を拡張する」が OFF になっている可能性があります。確認ください。 2017/05/16 追記 not_clipboard_target 変数で、clipboard 監視の対象外とするアプリケーションソフトを指定できるように対応しました。新しめのバージョンの Excel を使っているとクリップボードに関連する競合エラーが発生するため、初期設定では Excel を登録しています。 2017/04/12 追記 firefox で Googleカレンダーを使う際、ポップアップした予定入力画面で日本語入力をし Enter で変換を確定すると、ポップアップしている画面が閉じてしまうようです。Chrome では発生しません。影響を及ぼしている設定箇所は分かったのですが、その設定箇所を無効とはしたくないため、設定の変更は行わないこととします。日本語入力の変換の確定を C-m で行えばこの現象を回避できますので、この方法でご利用ください。 2017/03/16 追記 Microsoft Excel や Word などの Office系アプリを使ってコピー&ペーストをした際、「Ctrl」と表示される「貼り付けオプション」ボタンが表示される場合があります。これが Emacsキーバインドで利用している Ctrl キーの押下を検知して、想定外の動きをしてしまうようです。今のところ本設定での対策は難しいと思っておりますので(Ctrl をモディファイアキーとして使わない方法は考えられますが、影響が大きい)、以下のページで紹介している「貼り付けオプション」ボタンを消す対応で回避してください。 http //ciao.aoten.jp/ciao/2015/03/word-54e8.html 2017/03/10 追記 本設定をカスタマイズして Mac版を公開された方がいらっしゃいます。私は Mac を使わないので使用感が分からないのですが、Mac をお使いの方は是非お試しください。 https //github.com/hiroxy/keyhac-config 2015/11/09 追記 redo をサポートしてみました。undo キー(C-x u や C-/)で undo している時に、C-g を押下すると 以降の動作が redo に切り替わります。その後は、C-g を押すごとに undo と redo をトグルする動きとなります。 なお、redo は Windows に C-y キーを発行することで実現しているのですが、アプリケーションソフトによっては、C-y をサポートしていません。(Notepad など。)このため、このようなソフトで redo に移行すると、undo キーを押してもだんまりとなる場合があります。この場合は再度 C-g を押すことで復帰してください。(undo キー と C-g 以外のキーを入力することでも、undo のモードに復帰します。)また、アプリケーションソフト単位で redo の動作を無効にすることができます。undo 関数の中で行っていますので、必要であれば設定を追加してください。(初期設定では、Notepad を登録しています。) 2015/10/31 追記 Keyhac のクリップボードリスト画面で migemo 検索を可能とするためには、辞書ファイルを登録する必要があります。次のページの説明が参考となります。(dictフォルダの中をすべてコピーするのではなく、dict/utf-8 の中のファイルをコピーするところがポイントです。また、migemo 検索するには、検索文字列の一文字目を大文字で指定する必要があります。) http //blog.livedoor.jp/ryman_trainee/archives/1042315792.html 2014/10/17 追記 検索の繰り返し機能をサポートしました。C-g 等のコマンド入力で、検索のやり直しが可能です。検索の繰り返しは F3キー で行っているのですが、F3キーをサポートしていないアプリがあるため、繰り返し検索時にダンマリとなることがあります。その際は、C-g を押下後、C-s や C-r で検索を再開し、Windows の割当キー(Enter 等)を使って検索の繰り返しを行ってください。
https://w.atwiki.jp/vocaloidenglishlyric/pages/445.html
【Tags Koohoo-P Miku Y tA tT tS】 Original Music title 闇の唄 English music title Song of Darkness Romaji music title Yami no Uta Music Lyrics written, Voice edition by コーホーP(Koohoo-P) Music arranged コーホーP(Koohoo-P) Singer(s) 初音ミク (Hatsune Miku) Fanmade Promotional Video(s) Click here for the original Japanese Lyrics English Lyrics (translated by motokokusanagi2009): I m falling into the night alone Tonight the moon is in the full Missing my real face Laughs in the far deep darkness From behind the crying clouds I count how many moons there are In a wet carriage With who shall I pass away? Hiding a cold dream, I hear a dark song echoing I take you away without making a sound I m swimming in the shining sky The moon lost its shape The wind dances and touches the darkness From behind the crying clouds I count how many moons there are In a wet carriage With who shall I pass away? Getting separated from the sleeping night in sadness, I lost my mind Even if tonight I m the one Who will lose my life... Hiding a cold dream, I hear a dark song echoing How cruel a night can be Eternity you re sleeping in Romaji lyrics (transliterated by motokokusanagi2009): hitori yoru o ochite iku koyoi tsuki wa michite iru nakushita sugao ga warau fukaku tōi yami de namida o nagasu kumo ni kakurete tsuki o kazoeru nureta basha ni yurare dare to yuku? tsumetai yume kakushite yami no uta ga hibiku yo oto mo tatezu tsure saru hikaru sora o oyoide iru tsuki no katachi kuzurete kaze wa odori yami ni fureru namida o nagasu kumo ni kakurete tsuki o kazoeru nureta basha ni yurare dare to yuku? kanashimi nemuru yoru to hagurete kokoro kuruwasu tatoe konya kieru inochi mayoigo tsumetai yume kakushite yami no uta ga hibiku yo zankoku na yoru no sugata kimi ga nemuru eien [Koohoo-P, KoohooP]
https://w.atwiki.jp/kimikage/pages/77.html
使い方 ①フォームにボタン(button1)を加える ②button1のクリックイベントにbutton1_Clickを設定する ③usingにCustomMsgBox(当プログラムのnamespace)を加える ④以下のコードをフォームのコードに加える private void button1_Click(object sender, EventArgs e) { MsgBox.Show(this, "wow"); MsgBox.Show(this, "wow", "cap"); MsgBox.Show(this, "wow", "cap", MessageBoxButtons.OK); MsgBox.Show(this, "wow", "cap", MessageBoxButtons.OK, MessageBoxIcon.Information); MsgBox.Show(this, "wow", "cap", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1); MsgBox.Show(this, "wow", "cap", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.RightAlign); MsgBox.Show(this, "wow", "cap", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.RightAlign, ""); MsgBox.Show(this, "wow", "cap", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.RightAlign, "", HelpNavigator.Index); MsgBox.Show(this, "wow", "cap", MessageBoxButtons.OK, MessageBoxIcon.Information, MessageBoxDefaultButton.Button1, MessageBoxOptions.RightAlign, "", HelpNavigator.Index, null); } Owner Window中央に表示されるMessageBox using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.InteropServices; using System.Windows.Forms; using System.Windows; namespace CustomMsgBox { /// summary /// Owner Window中央に表示されるMessageBox /// /summary public class MsgBox { [DllImport("user32.dll")] public static extern bool UnhookWindowsHookEx(IntPtr hHook); [DllImport("user32.dll")] public static extern IntPtr GetWindowLong(IntPtr hWnd, int nIndex); [DllImport("kernel32.dll")] public static extern IntPtr GetCurrentThreadId(); [DllImport("user32.dll")] public static extern IntPtr SetWindowsHookEx(int idHook, HOOKPROC lpfn, IntPtr hMod, IntPtr dwThreadId); [DllImport("user32.dll")] public static extern IntPtr CallNextHookEx(IntPtr hHook, int nCode, IntPtr wParam, IntPtr lParam); [DllImport("user32.dll")] public static extern bool SetWindowPos(IntPtr hWnd, int hWndInsertAfter, int X, int Y, int cx, int cy, uint uFlags); [DllImport("user32.dll")] public static extern bool GetWindowRect(IntPtr hWnd, out RECT lpRect); public delegate IntPtr HOOKPROC(int nCode, IntPtr wParam, IntPtr lParam); public enum HookType int { WH_JOURNALRECORD = 0, WH_JOURNALPLAYBACK = 1, WH_KEYBOARD = 2, WH_GETMESSAGE = 3, WH_CALLWNDPROC = 4, WH_CBT = 5, WH_SYSMSGFILTER = 6, WH_MOUSE = 7, WH_HARDWARE = 8, WH_DEBUG = 9, WH_SHELL = 10, WH_FOREGROUNDIDLE = 11, WH_CALLWNDPROCRET = 12, WH_KEYBOARD_LL = 13, WH_MOUSE_LL = 14, } public enum GWL int { GWL_HINSTANCE = (-6), GWL_HWNDPARENT = (-8), GWL_ID = (-12), GWL_EXSTYLE = (-20), GWL_STYLE = (-16), GWL_WNDPROC = (-16), GWL_USERDATA = (-21), } public enum SWP uint { SWP_ASYNCWINDOWPOS = 0x4000, SWP_DEFERERASE = 0x2000, SWP_DRAWFRAME = 0x0020, SWP_FRAMECHANGED = 0x0020, SWP_HIDEWINDOW = 0x0080, SWP_NOACTIVATE = 0x0010, SWP_NOCOPYBITS = 0x0100, SWP_NOMOVE = 0x0002, SWP_NOOWNERZORDER = 0x0200, SWP_NOREDRAW = 0x0008, SWP_NOREPOSITION = 0x0200, SWP_NOSENDCHANGING = 0x0400, SWP_NOSIZE = 0x0001, SWP_NOZORDER = 0x0004, SWP_SHOWWINDOW = 0x0040, } public enum HCBT int { HCBT_ACTIVATE = 5, HCBT_CLICKSKIPPED = 6, HCBT_CREATEWND = 3, HCBT_DESTROYWND = 4, HCBT_KEYSKIPPED = 7, HCBT_MINMAX = 1, HCBT_MOVESIZE = 0, HCBT_QS = 2, HCBT_SETFOCUS = 9, HCBT_SYSCOMMAND = 8, } public struct RECT { public int Left; public int Top; public int Right; public int Bottom; public int Width { get { return Right - Left; } } public int Height { get { return Bottom - Top; } } } /// summary /// 親ウィンドウ /// /summary private IWin32Window OwnerWindow; /// summary /// フックハンドル /// /summary private IntPtr HHook; /// summary /// コンストラクタ /// /summary /// param name="owner" 親ウィンドウ /param private MsgBox(IWin32Window owner) { OwnerWindow = owner; } public static DialogResult Show( IWin32Window owner, string text) { MsgBox mb = new MsgBox(owner); return mb.ShowMsgDialog(text); } public static DialogResult Show( IWin32Window owner, string text, string caption) { MsgBox mb = new MsgBox(owner); return mb.ShowMsgDialog(text, caption); } public static DialogResult Show( IWin32Window owner, string text, string caption, MessageBoxButtons buttons) { MsgBox mb = new MsgBox(owner); return mb.ShowMsgDialog(text, caption, buttons); } public static DialogResult Show( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon) { MsgBox mb = new MsgBox(owner); return mb.ShowMsgDialog(text, caption, buttons, icon); } public static DialogResult Show( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) { MsgBox mb = new MsgBox(owner); return mb.ShowMsgDialog(text, caption, buttons, icon, defaultButton); } public static DialogResult Show( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options) { MsgBox mb = new MsgBox(owner); return mb.ShowMsgDialog(text, caption, buttons, icon, defaultButton, options); } public static DialogResult Show( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath) { MsgBox mb = new MsgBox(owner); return mb.ShowMsgDialog(text, caption, buttons, icon, defaultButton, options, helpFilePath); } public static DialogResult Show( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator) { MsgBox mb = new MsgBox(owner); return mb.ShowMsgDialog(text, caption, buttons, icon, defaultButton, options, helpFilePath, navigator); } public static DialogResult Show( IWin32Window owner, string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator, object param) { MsgBox mb = new MsgBox(owner); return mb.ShowMsgDialog(text, caption, buttons, icon, defaultButton, options, helpFilePath, navigator, param); } private DialogResult ShowMsgDialog( string text) { // フック設定 SetHook(OwnerWindow); return MessageBox.Show(OwnerWindow, text); } private DialogResult ShowMsgDialog( string text, string caption) { // フック設定 SetHook(OwnerWindow); return MessageBox.Show(OwnerWindow, text, caption); } private DialogResult ShowMsgDialog( string text, string caption, MessageBoxButtons buttons) { // フック設定 SetHook(OwnerWindow); return MessageBox.Show(OwnerWindow, text, caption, buttons); } private DialogResult ShowMsgDialog( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon) { // フック設定 SetHook(OwnerWindow); return MessageBox.Show(OwnerWindow, text, caption, buttons, icon); } private DialogResult ShowMsgDialog( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton) { // フック設定 SetHook(OwnerWindow); return MessageBox.Show(OwnerWindow, text, caption, buttons, icon, defaultButton); } private DialogResult ShowMsgDialog( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options) { // フック設定 SetHook(OwnerWindow); return MessageBox.Show(OwnerWindow, text, caption, buttons, icon, defaultButton, options); } private DialogResult ShowMsgDialog( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath) { // フック設定 SetHook(OwnerWindow); return MessageBox.Show(OwnerWindow, text, caption, buttons, icon, defaultButton, options, helpFilePath); } private DialogResult ShowMsgDialog( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator) { // フック設定 SetHook(OwnerWindow); return MessageBox.Show(OwnerWindow, text, caption, buttons, icon, defaultButton, options, helpFilePath, navigator); } private DialogResult ShowMsgDialog( string text, string caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, MessageBoxOptions options, string helpFilePath, HelpNavigator navigator, object param) { // フック設定 SetHook(OwnerWindow); return MessageBox.Show(OwnerWindow, text, caption, buttons, icon, defaultButton, options, helpFilePath, navigator, param); } /// summary /// フックプロシージャ /// /summary /// param name="nCode" /param /// param name="wParam" /param /// param name="lParam" /param /// returns /returns private IntPtr CBTProc( int nCode, IntPtr wParam, IntPtr lParam) { if (nCode == (int)HCBT.HCBT_ACTIVATE) { RECT rectOwner; RECT rectMsgBox; int x, y; // Window位置・サイズ取得 GetWindowRect(OwnerWindow.Handle, out rectOwner); GetWindowRect(wParam, out rectMsgBox); // MessageBox出力位置設定 x = rectOwner.Left + (rectOwner.Width - rectMsgBox.Width) / 2; y = rectOwner.Top + (rectOwner.Height - rectMsgBox.Height) / 2; SetWindowPos(wParam, 0, x, y, 0, 0, (uint)(SWP.SWP_NOSIZE | SWP.SWP_NOZORDER | SWP.SWP_NOACTIVATE)); // フック解除 UnhookWindowsHookEx(HHook); } // 次のプロシージャへのポインタ return CallNextHookEx(HHook, nCode, wParam, lParam); } /// summary /// フック設定 /// /summary /// param name="owner" /param private void SetHook(IWin32Window owner) { // フック設定 IntPtr hInstance = GetWindowLong(OwnerWindow.Handle, (int)GWL.GWL_HINSTANCE); IntPtr threadId = GetCurrentThreadId(); HHook = SetWindowsHookEx((int)HookType.WH_CBT, new HOOKPROC(CBTProc), hInstance, threadId); } } }