(Creating a new post for this rather than hijacking someone elses) [img]/images/graemlins/cool.gif[/img] I'm new to VBScript so go easy.
Using VB script, how on earth do I script for dropdown options if the menu item property is not available? Specifically I am trying to check that two menu items in a dropdown are DISABLED. My code looks similar to the below....
Set MainForm = Aliases.App.MainForm
If Aliases.App.Window("#33333","", 1).Enabled = True Then
Call Log.Message("Menu Item Disabled")
Call Log.Picture (Sys.Desktop.Picture, "Menu Item Disabled")
Call Log.Message("Menu Item Enabled - WRONG")
Now, the code works BUT it is not correct because I am checking that the menu itself is enabled and NOT the menu item of X. How do I check the enabled property of the menu item X?