• 秀丸エディタ マクロ言語ヘルプ目次
  • 秀丸マクロの概要
  • 変数の使い方
  • 式について
    • 数値
    • 演算子
    • 文字列
  • エラーの処理
  • マクロの設定依存性について
  • 内部的な値を表現するキーワード
    • 結果コードと定数関連キーワード
      • resultについての注意事項
    • カーソル関連キーワード
    • テキスト関連キーワード
    • 範囲選択関連キーワード
    • ウィンドウ関連キーワード
    • ファイル名関連キーワード
    • 各種状態関連キーワード
    • ファイルタイプ別の設定関連キーワード
    • クリップボード関連キーワード
    • 日付と時刻関連キーワード
      • refreshdatetime文
    • アウトライン関連キーワード
  • 関数一覧
    • leftstr( s1, n1 ) 関数
    • rightstr( s1, n1 ) 関数
    • midstr( s1, n1, n2 ) 関数
    • strlen( s1 ) 関数
    • gettext( x1, y1, x2, y2, n1 ) 関数
    • gettext2( c1, l1, c2, l2, n1 ) 関数
    • char( n1 ) 関数
    • ascii( s1 ) 関数
    • unichar( n1 ) 関数
    • unicode( s1 ) 関数
    • str( n1 ) 関数
    • val( s1 ) 関数
    • hex( n1 ) 関数
    • strstr( s1, s2 ) 関数
    • strrstr( s1, s2 ) 関数
    • getinistr( s1, s2, s3 ) 関数, getininum( s1, s2, s3 ) 関数
    • input( s1, s2 ) 関数
    • inputchar( s1 ) 関数
    • iskeydown( n1 ) 関数
      • iskeydownの返す値を調べるマクロの例です
    • getenv( s1 ) 関数
    • existfile( s1 ) 関数
    • getregstr( s1 ) 関数
    • getregnum( s1 ) 関数
    • getregbinary( s1 ) 関数
    • getconfig( s1 ) 関数
    • getconfigcolor( n1, n2 ) 関数
    • getfilehist( n1 )関数
    • getpathhist( n1 )関数
    • getsearchhist( n1 )関数
    • getreplacehist( n1 )関数
    • gettagsfile( n1 ) 関数
    • columntox( c1, l1 ) 関数
    • linenotoy( c1, l1 ) 関数
    • xtocolumn( x1, y1 ) 関数
    • ytolineno( x1, y1 ) 関数
    • gettabhandle( n1, n2, n3 ) 関数
    • getcurrenttab( n1, n2 ) 関数
    • filter( s1, s2, s3, s4 ) 関数
    • tolower( s1 ) 関数
    • toupper( s1 ) 関数
    • getcolormarker( n1 ) 関数
    • gettitle( n1 ) 関数
    • getarg( n1 ) 関数
    • getstaticvariable( n1 ) 関数
    • seterrormode( n1, n2 ) 関数
    • getresultex( n1 ) 関数
    • charcount( n1 ) 関数
    • wcsleftstr( s1, n1 ) 関数
    • wcsrightstr( s1, n1 ) 関数
    • wcsmidstr( s1, n1, n2 ) 関数
    • wcslen( s1 ) 関数
    • wcsstrstr( s1, s2 ) 関数
    • wcsstrrstr( s1, s2 ) 関数
    • byteindex_to_charindex( s1, n1 ) 関数
    • charindex_to_byteindex( s1, n1 ) 関数
    • wideindex_to_charindex( s1, n1 ) 関数
    • charindex_to_wideindex( s1, n1 ) 関数
  • 通常のコマンドを実行する文
    • ファイル系文
      • openfile, saveas文など
      • setfilehist文
      • setpathhist文
      • setencode文
      • openbyshell文
      • print文
    • カーソル移動系文
      • up, down, right, left文
      • moveto, movetolineno文
      • moveto2文
      • nextpage, prevpage文
    • クリップボード系文
      • escape文
      • getcliphist文
      • clearcliphist文
    • 削除系文
    • 挿入系文
      • insert, insertfix, overwrite文
      • insertreturn文
    • その他編集系文
      • undo文
      • filter文
      • autocomplete文
    • 検索系文
      • searchdialog,searchup,searchdown文
      • replacedialog, replaceup, replacedown文
      • replaceall replaceallfast文
      • findup, finddown, getsearch文
      • findup2, finddown2, searchup2, searchdown2文
      • setsearch文
      • setsearchhist文
      • setreplace文
      • setreplacehist文
      • setgrepfile文
      • forceinselect文
      • grep, grepdialog, grepdialog2, localgrep文
      • grepreplace, grepreplacedialog2文
      • hilightfound文
      • colormarker文
      • nextcolormarker文
      • prevcolormarker文
      • 検索/置換文字列の上限について
    • ウィンドウ系文
      • restoredesktop文
      • savedesktop文
      • scrolllink文
      • split文
      • compfile文
      • nextcompfile文
      • prevcompfile文
      • settabmode文
      • settabgroup文
      • settaborder文
    • メニュー系文
    • その他のコマンド系文
    • アウトライン系文
      • fold, foldall文
      • nextfoldable, prevfoldable文
      • selectfoldable文
  • メッセージ系
    • message文
    • question文
    • beep文
    • play, playsync文
    • debuginfo文
    • showvars文
    • title文
  • プログラム実行系
    • run,runsync,runsync2文
    • runex文
    • ファイルのエンコードのまま入出力するマクロ
  • マクロ制御系
    • endmacro, endmacroall文
    • execmacro文
    • disabledraw,enabledraw文
    • disablebreak文
    • disableinvert, enableinvert文
    • ブロック
    • if文
    • while文
    • break文
    • continue文
    • goto文とラベル
    • サブルーチン
    • disableerrormsg, enableerrormsg文
    • disablehistory文
  • 入力系
    • inputpos文
    • menu,mousemenu, menuarray, mousemenuarray文
    • input関数
    • inputchar関数
    • iskeydown関数
  • INIファイル系
    • writeinistr文,writeininum文
    • getinistr関数, getininum関数
  • レジストリ系
    • openreg文
    • createreg文
    • deletereg文
    • writeregstr文,writeregnum文
    • getregstr関数, getregnum関数
    • writeregbinary文
    • getregbinary
    • closereg文
  • 設定系
    • configset文
    • config文
      • config ”x”で指定できる名前
    • getconfig関数
    • configcolor文
    • getconfigcolor関数
    • saveconfig文
    • envchanged文
    • loadkeyassign文
    • savekeyassign文
    • loadhilight文
    • savehilight文
    • loadbookmark文
    • savebookmark文
    • setfontchangemode文
    • setcompatiblemode文
    • setfloatmode文
    • seterrormode文
  • ウィンドウ配置系
    • setwindowsize文
    • setwindowpos文
    • showwindow文
    • setmonitor文
    • setfocus文
    • getfocusキーワード
    • 通常のコマンドを実行するウィンドウ系文
  • その他マクロ用
    • begingroupundo文
    • endgroupundo文
    • deletefile文
    • findspecial文
    • setstaticvariable文
    • getstaticvariable関数
  • 秀丸エディタ管理
  • 秀丸エディタ管理(タブ編)
  • DDE関連マクロ
  • クリップボードと変数のやりとり
  • DLL呼び出し機能
  • 自動起動マクロ
  • 浮動小数点数モード
    • HideMath.dll
  • COMの呼び出し
  • ファイルマネージャ枠,アウトプット枠