「マクロリファレンス:Editor インターフェイス」の版間の差分
ナビゲーションに移動
検索に移動
編集の要約なし |
編集の要約なし |
||
| 59行目: | 59行目: | ||
Encoding | Encoding | ||
*省略可能です。開くファイルのエンコード。 | *省略可能です。開くファイルのエンコード。 | ||
{| class="wikitable" | |||
| meEncodingNone || 自動選択 | |||
|- | |||
| meEncodingUTF16LE || Unicode (UTF-16) | |||
|- | |||
| meEncodingUTF16BE || Unicode (UTF-16, Big-Endian) | |||
|- | |||
| meEncodingUTF8WithSignature || Unicode (UTF-8, BOM有) | |||
|- | |||
| meEncodingUTF8WithoutSignature || Unicode (UTF-8, BOM無) | |||
|- | |||
| meEncodingUTF7 || Unicode (UTF-7) | |||
|- | |||
| meEncodingArabic || アラビア言語 (Windows) | |||
|- | |||
| meEncodingBaltic || バルト言語 (Windows) | |||
|- | |||
| meEncodingCentralEuropean || 中央ヨーロッパ言語 (Windows) | |||
|- | |||
| meEncodingChineseSimplified || 簡体字中国語 (GB2312) | |||
|- | |||
| meEncodingChineseTraditional || 繁体字中国語 (Big5) | |||
|- | |||
| meEncodingCyrillic || キリル言語 (Windows) | |||
|- | |||
| meEncodingGreek || ギリシャ語 (Windows) | |||
|- | |||
| meEncodingHebrew || ヘブライ語 (Windows) | |||
|- | |||
| meEncodingEUC || 日本語 (EUC) | |||
|- | |||
| meEncodingJIS || 日本語 (JIS) | |||
|- | |||
| meEncodingShiftJIS || 日本語 (シフト JIS) | |||
|- | |||
| meEncodingKorean || 韓国語 | |||
|- | |||
| meEncodingThai || タイ語 (Windows) | |||
|- | |||
| meEncodingTurkish || トルコ語 (Windows) | |||
|- | |||
| meEncodingVietnamese || ベトナム語 (Windows) | |||
|- | |||
| meEncodingWesternEuropean || 西ヨーロッパ言語 (Windows) | |||
|} | |||
Flags | Flags | ||
{| class="wikitable" | {| class="wikitable" | ||
2015年6月20日 (土) 12:12時点における版
メソッド
FindInFiles メソッド
複数のファイルから指定の文字列を検索します。
- 構文
function FindInFiles(
FindPattern : String,
Path : String
Flags : int
)
- パラメータ
FindPattern
- 必ず指定します。検索する文字列。
Path
- 必ず指定します。検索するディレクトリのパス。
Flags
| meFindReplaceCase | 検索する単語の大文字と小文字を区別します。 |
| meFindReplaceOnlyWord | 完全に一致する単語を検索します。 |
| meFindReplaceRegExp | 正規表現で検索します。 |
| meFindRecursive | サブディレクトリも検索します。 |
| meFindFileNamesOnly | ファイル名のみ表示します。 |
NewFile メソッド
文書を新規作成します。
- 構文
function NewFile()
OpenFile メソッド
文書を開きます。
- 構文
function OpenFile(
File : String,
Encoding : int,
Flags : int
)
- パラメータ
File
- 必ず指定します。開くファイル名。
Encoding
- 省略可能です。開くファイルのエンコード。
| meEncodingNone | 自動選択 |
| meEncodingUTF16LE | Unicode (UTF-16) |
| meEncodingUTF16BE | Unicode (UTF-16, Big-Endian) |
| meEncodingUTF8WithSignature | Unicode (UTF-8, BOM有) |
| meEncodingUTF8WithoutSignature | Unicode (UTF-8, BOM無) |
| meEncodingUTF7 | Unicode (UTF-7) |
| meEncodingArabic | アラビア言語 (Windows) |
| meEncodingBaltic | バルト言語 (Windows) |
| meEncodingCentralEuropean | 中央ヨーロッパ言語 (Windows) |
| meEncodingChineseSimplified | 簡体字中国語 (GB2312) |
| meEncodingChineseTraditional | 繁体字中国語 (Big5) |
| meEncodingCyrillic | キリル言語 (Windows) |
| meEncodingGreek | ギリシャ語 (Windows) |
| meEncodingHebrew | ヘブライ語 (Windows) |
| meEncodingEUC | 日本語 (EUC) |
| meEncodingJIS | 日本語 (JIS) |
| meEncodingShiftJIS | 日本語 (シフト JIS) |
| meEncodingKorean | 韓国語 |
| meEncodingThai | タイ語 (Windows) |
| meEncodingTurkish | トルコ語 (Windows) |
| meEncodingVietnamese | ベトナム語 (Windows) |
| meEncodingWesternEuropean | 西ヨーロッパ言語 (Windows) |
Flags
| meOpenAllowNewWindow | 開かれている文書が変更されている場合は新しいウィンドウで開きます。 |
ReplaceInFiles メソッド
複数のファイルから指定の文字列を置換します。
- 構文
function ReplaceInFiles(
FindPattern : String,
ReplacePattern : String,
Path : String,
Flags : int
)
- パラメータ
FindPattern
- 必ず指定します。検索する文字列。
ReplacePattern
- 必ず指定します。置換後の文字列。
Path
- 必ず指定します。検索するディレクトリのパス。
Flags
| meFindReplaceCase | 検索する単語の大文字と小文字を区別します。 |
| meFindReplaceOnlyWord | 完全に一致する単語を検索します。 |
| meFindReplaceRegExp | 正規表現で検索します。 |
| meFindRecursive | サブディレクトリも検索します。 |
| meReplaceBackup | バックアップを保存します。 |
SaveAll メソッド
文書をすべて保存します。
- 構文
function SaveAll()
SaveCloseAll メソッド
文書をすべて保存して閉じます。
- 構文
function SaveCloseAll()
プロパティ
ActiveDocument プロパティ
現在開いているDocument オブジェクトを取得します。
- 構文
function get ActiveDocument() : Document
Documents プロパティ
現在開いている文書を示す Documents コレクションを取得します。
- 構文
function get Documents() : Documents
EnableTab プロパティ
タブが有効かどうかを取得します。
- 構文
function get EnableTab() : boolean
FullName プロパティ
Mery の実行ファイルのファイルパスを取得します。
- 構文
function get FullName() : String
Version プロパティ
Meryのバージョンを取得します。
- 構文
function get Version() : String
スポンサーリンク