Hi
Use regular expression
I dont understand why you are using the property "ForeGround" to get the regexpwndtitle of the window... instead try this
Let me know is the above code works..
-Vinod
Use regular expression
Code:
Window("regexpwndtitle:= SLIM.*").WinMenu("Menu").Select "File;Print... Ctrl+P"I dont understand why you are using the property "ForeGround" to get the regexpwndtitle of the window... instead try this
Code:
Window("ForeGround:=True").WinMenu("Menu").Select "File;Print... Ctrl+P"Let me know is the above code works..
-Vinod

