#author("2017-05-13T18:14:53+09:00","default:wikiwriter","wikiwriter") &tag(KeyboardMaestro); *目次 [#qc839591] #contents *関連ページ [#h87eca54] *参考情報 [#mfca405b] -[[TextExpander から Keyboard Maestro へ移行した – with a Christian Wife:http://blog.withachristianwife.com/2016/11/29/use-keyboard-maestro-as-text-expansion/]] -[[[Keyboard Maestro] “Insert Text by Pasting” 問題 – with a Christian Wife:http://blog.withachristianwife.com/2016/12/23/insert-text-by-pasting-problem-in-km/]] *Tips [#m2339ca8] **サブマクロを呼び出す [#mbad0b06] -[[action:Execute a Macro [Keyboard Maestro Wiki]:https://wiki.keyboardmaestro.com/action/Execute_a_Macro]]にあるように、Execute Macroアクションを使用する。 **TextExpander代わりに使用する [#wba5dca9] -トリガーとしてTypedStringを利用する。 -Insert Text by Pastingで文字列を挿入する(Typeだと遅い)。 -実行後クリップボードが汚れるのが嫌な場合、Delete Past Clipboard アクションをパラメータ0で実行する **ChromeのURLやタイトルを取得する [#lb29a361] -%ChromeURL%や、%ChromeTitle%で取得可能。Insert Text by Pastingを使用すればテキスト編集エリアなどにペーストできる。 **Clipboardに文字列をコピーする [#c1ee23b0] -例えばスクリプトを実行するまえにClipboardに引数をコピーしたい場合がある。 -"Set Clipboard to Text"アクションを利用すれば良い(名前から受ける印象とことなり、システムクリップボードにテキストをセットするアクション)。%ChromeURL%といったキーワードも利用可能。