GetUserPref

Introduced

v1.0

Description

Returns the specified user preference setting/value.

Scripting Syntax

oVariant = GetUserPref( Target );

Return Value

Variant

Parameters

Parameter Type Description
Target UserPreference User preference to get.

Examples

VBScript Example

'

' This example demonstrates how to find the current user 

' setting for the automatic inspection setting

'

bPopUpPPGs = GetUserPref(siAutoInspect)

if bPopUpPPGs then

	Application.LogMessage "true"

else 

	Application.LogMessage "false"

end if

See Also

SetUserPref Preferences.GetPreferenceValue Property Editor Automatic Inspection