SetPreference command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
(Created page with "__TOC__ {| |width="50%"| '''Action:''' |width="50%"| <span class="f_Para">Lets you use a macro or [[intro_configurable_components.html|mapped]...")
 
No edit summary
Line 24: Line 24:
**<span class="f_ListBul1">Toggles Debugger [[customize_debugger_cfg_file.html#filetype_filter|file type filtering]] on or off: </span>
**<span class="f_ListBul1">Toggles Debugger [[customize_debugger_cfg_file.html#filetype_filter|file type filtering]] on or off: </span>


<span class="f_CodeExample">setPreference ignoredFileTypeList {on|off} </span>
<p class="syntax">setPreference ignoredFileTypeList {on|off} </p>


<span class="f_ListBul1">Where: </span>
: Where:  
**on honors the &quot;ignore list&quot; default behavior  
: ''on'' honors the &quot;ignore list&quot; default behavior  
**off does no file type filtering  
: ''off'' does no file type filtering  


*macroAutorun
*macroAutorun

Revision as of 17:30, 9 July 2022


Action:

Lets you use a macro or mapped button or key to control Client preference settings that are available via the Preferences dialog box or the Proc Selection page.

Syntax:

setPreference option {on|off} 

where option is one of the following:

  • breakAfterReadScreen

setPreference ignoredFileTypeList {on|off} 

Where:
on honors the "ignore list" default behavior
off does no file type filtering
  • macroAutorun
    • Selects or clears the Macro Autorun checkbox in the Preferences dialog box
  • valueDisplayOnConsole
    • Controls whether value displays appear in a separate Value window when the Console is open (the default, on, shows them in the Console if it is open)

Note:Instead of on or off, the command also takes 1 or 0.

You may want to use the command to toggle a setting in a Client macro, for example:

# toggle use exclude/include directives  toggle &debuggerDirectives !Directives setPreference debuggerDirectives &debuggerDirectives 

Client menu: --
Introduced: Build 55