2013/01/22(火) [n年前の日記]
#1 [windows] AutoHotKey用のエディタ
_SciTE4AutoHotkey
というエディタがあるらしい。AutoHotKeyスクリプトを書くのに適したエディタ、なのかな。とりあえずインストールしてみたり。環境は Windows7 x64。
C:\Program Files\AutoHotkey\SciTE\ 以下にインストールされた。設定ファイルは、ユーザホームディレクトリ以下に AutoHotkey\SciTE\ というフォルダが出来て、そこに保存されるっぽい?
フォントの設定方法が分からなくてハマる。オプション → ユーザ特性用設定を開く、で SciTEUser.properties が開くので、そこに記述を追加していけばいいのだろうけど…。
とりあえず以下のような記述を追加。
C:\Program Files\AutoHotkey\SciTE\ 以下にインストールされた。設定ファイルは、ユーザホームディレクトリ以下に AutoHotkey\SciTE\ というフォルダが出来て、そこに保存されるっぽい?
フォントの設定方法が分からなくてハマる。オプション → ユーザ特性用設定を開く、で SciTEUser.properties が開くので、そこに記述を追加していけばいいのだろうけど…。
とりあえず以下のような記述を追加。
#code.page=932
character.set=128
# Unicode
code.page=65001
#code.page=0
if PLAT_WIN
font.base=font:MeiryoKe_Gothic,size:11
font.small=font:MeiryoKe_Gothic,size:8
font.comment=font:MeiryoKe_Gothic,size:9
font.code.comment.box=$(font.comment)
font.code.comment.line=$(font.comment)
font.code.comment.doc=$(font.comment)
font.text=$(font.base)
font.text.comment=$(font.comment)
font.embedded.base=$(font.base)
font.embedded.comment=$(font.comment)
font.monospace=$(font.base)
font.vbs=$(font.base)
font.ahk=$(font.base)
if PLAT_GTK
# Global default styles for all languages
# Default
style.*.32=$(font.base)
# Line number
style.*.33=fore:#111111,back:#DDDDDD,$(font.base)
tillagoto.gui.font=MeiryoKe_Gothic
# Default (everything not below: spaces, untyped parameters)
style.ahk1.0=fore:#707070
# Line comment (; syntax)
style.ahk1.1=fore:#008000
# Block comment (/*...*/ syntax)
style.ahk1.2=fore:#406040
# Escaped characters (`x)
style.ahk1.3=fore:#FF8000
# Operator
style.ahk1.4=fore:#7F200F
# Expression assignement operator
style.ahk1.5=fore:#FF4F00
# String
style.ahk1.6=fore:#404040
# Number
style.ahk1.7=fore:#2F4F7F
# Variable dereferencing %varName%
style.ahk1.9=$(style.ahk1.8),back:#E4FFE4
# Keyword - Flow of control
style.ahk1.11=fore:#480048
# Keyword - Commands
style.ahk1.12=fore:#004080
# Keyword - Functions
style.ahk1.13=fore:#0F707F
# Keyword - Directives
style.ahk1.14=fore:#F04020
# Keyword - Keys & buttons
style.ahk1.15=fore:#FF00FF
# Keyword - Built-in Variables
style.ahk1.16=fore:#CF00CF
# Keyword - special parameters ("Keywords")
style.ahk1.17=fore:#0000FF
# Keyword - User defined
style.ahk1.18=fore:#800020,bold
[ ツッコむ ]
以上です。