Hi Veeru,
Thank you for your response!
I have tried to use the internal property and method Object.Getcolor example below of code
but I get the value 0 as the output and if I use another date which has a different color in date cel then the above date I get the same value 0.
Please advice if I am using the Object.GetColor correctly seems at the moment it is not.
I am unable to open the KM article from the link you had provided i get the following message "You are not authorized to view this document".
I think I am missing something in my code to extract the background color of the SAP GUI Calendar date cell, hoping you can help with this!
Thanks in advance!
Thank you for your response!
I have tried to use the internal property and method Object.Getcolor example below of code
Code:
hWndSource = SAPGuiSession("Session").SAPGuiWindow("Year Overview 2010").SAPGuiCalendar("Calendar_2").Object.GetColor("selecteddate:=28/Dec/2010")
msgbox hWndSourcebut I get the value 0 as the output and if I use another date which has a different color in date cel then the above date I get the same value 0.
Please advice if I am using the Object.GetColor correctly seems at the moment it is not.
I am unable to open the KM article from the link you had provided i get the following message "You are not authorized to view this document".
I think I am missing something in my code to extract the background color of the SAP GUI Calendar date cell, hoping you can help with this!
Thanks in advance!


