WriteProfileInt 方法 (Editor 對象)¶
設一個整數值到注冊表中或一個取決于 EmEditor 設置的 INI 檔案中。 nKey 用下列值之一來指定一個鍵值。eeRegConfig
和 eeRegEmEditorPlugin 需要 pszConfig 參數來指定鍵值。 eeRegCommon HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Common 或 eeCommon.ini\[Common] eeRegRegist HKEY_CURRENT_USER\Software\EmSoft\Regist 或 eeCommon.ini\[Regist] eeRegLMCommon HKEY_LOCAL_MACHINE\SOFTWARE\EmSoft\EmEditor v3\Common 或 eeLM.ini\[Common] eeRegLMRegist HKEY_LOCAL_MACHINE\SOFTWARE\EmSoft\Regist 或 eeLM.ini\[Regist] eeRegConfig HKEY_CURRENT_USER\Software\EmSoft\EmEditor v3\Config\(pszConfig) 或 eeConfig.ini\[(pszConfig)] eeRegEmEditorPlugins HKEY_CURRENT_USER\Software\EmSoft\EmEditorPlugIns\(pszConfig) 或 eePlugins.ini\[(pszConfig)] eeRegEmEditorUsers HKEY_CURRENT_USER\Software\EmSoft\EmEditorUsers\(pszConfig) 或 eeUsers.ini\[(pszConfig)] strConfig 用另一個字符串來指定鍵值當 eeRegConfig,eeRegEmEditorPlugin,或 eeRegEmEditorUsers 被選取。 strEntry 指定要檢索的值的名稱。 nData 指定要儲存的數據。 支持 EmEditor 8.00 或之後的版本。¶
[JavaScript]¶
editor.WriteProfileInt( nKey, strConfig, strEntry, nData );
[VBScript]¶
editor.WriteProfileInt nKey, strConfig, strEntry, nData
參數¶
版本¶