SetPreference command: Difference between revisions

From m204wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 3: Line 3:


{|
{|
|width="50%"| '''Action:'''
|width="125px"| '''Action:'''
|width="50%"|
|width="775px"|
<span class="f_Para">Lets you use a [[Using Debugger Macros|macro]] or [[Introducing the configurable components|mapped]] button or key to control </span><span class="f_ListBul1">Client preference settings that are available via the </span><span class="f_Para">[[File menu options#Preferences|Preferences]] dialog box or the [[The tabbed pages#Proc Selection tab|Proc Selection]] page. </span>
<span class="f_Para">Lets you use a [[Using Debugger Macros|macro]] or [[Introducing the configurable components|mapped]] button or key to control </span><span class="f_ListBul1">Client preference settings that are available via the </span><span class="f_Para">[[File menu options#Preferences|Preferences]] dialog box or the [[The tabbed pages#Proc Selection tab|Proc Selection]] page. </span>



Latest revision as of 18:39, 9 February 2023


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