unable to solve chaning window names with regular expression
i have recorded operations for particular word file and saved it as case1.gui
i am opening another file and loading the same case1.gui file,but it is not executing the operation,it is not able to recognise the objects.
i am retrieving the path in the variable path and replacing the single slashes to double slashes to open with invoke function and capturing the file name in to the variable filename. chaning the physical description to use the below code to open any file
# 10-QSB - Microsoft Word
set_window ("10-QSB"& "- Microsoft Word", 1);
obj_mouse_click ("Menu Bar", 379, 11, LEFT);
............... </pre><hr /></blockquote><font size="2" face="Verdana, Arial, Helvetica">In .gui file
10-QSB - Microsoft Word
label: "10-QSB - Microsoft Word",
i am changing the physical description of label
label: "10-QSB - Microsoft Word", to
label: "!* - Microsoft Word",using regular expression so that i am trying to open every file ,
it is opening every file but it is going to struck at
set_window ("10-QSB.doc - Microsoft Word", 1);
because it is not recognising the menu.
please reply me with where changes should be made in the code.