Forum Discussion

smrutirmohanty's avatar
Occasional Visitor
11 months ago

Query regarding error

function BoldText()
var1 = NameMapping.Sys.Philips_Configure.HwndSource_ShellWindow.ShellWindow.contentTabs.tLeft.cbox;
// Specifies new attributes
var attr = Log.var1;
// Applies these attributes to a message
Log.Message("default value is in BOLD", "", pmNormal, attr);


Getting  a error message as 

cannot  find BOLDText property of Undefined.

1 Reply

  • rraghvani's avatar
    Champion Level 3

    Your coding looks incomplete - the variable 'var1 = ' does not equal anything?



    What is attr.BoldText() ?


    I suggest you look at the example given in LogAttributes Object, if that is what you are trying to do