User (girish@magicsoftware.com.nospam) posted:
he

hope this will hep u (But u have to run it without step mode).

----------------------------------------------------
win_activate ("Untitled - Notepad");
win_activate ("Untitled - Notepad");
set_window ("Untitled - Notepad", 2);
menu_select_item ("File;Save As...");
win_activate ("Save As");
set_window ("Save As", 1);
#U must take care of win _activate and set_window
# statements cause the edit is from that window

win_activate ("Save As");
set_window ("Save As", 1);
toolbar_button_press ("ToolbarWindow32", "Create New Folder"); # Button
Number 1;
type ("GMT<kReturn>"); #to change the folder name to GMT.
type ("<kReturn>"); #To enter the new folder
type ("<kTab>");
win_activate ("Save As");
set_window ("Save As", 1);
edit_set ("File name:", "hi_gmt.txt");
win_activate ("Save As");
set_window ("Save As", 1);
button_press ("Save");
set_window ("hi_gmt - Notepad", 12); #For saved fine name.
menu_select_item ("File;Exit");

--------------------------------------------------------------

Shivaprakash GK
<GK.Shivaprakash@blr.sp To: "'winrunner@yahoogroups.com'" <winrunner@yahoogroups.com>
cnl.co.in> cc:
Subject: RE: [winrunner] Renaming Folder in Save as window of Notepad
09/06/01 01:44 PM appl ication
Please respond to
winrunner



Hi Girish,

Thanx for the reply..
It works fine with respect to your script...but i want to create a new
folder in "Save As" window (ex:test) then put this file there...

So how can achieve this??

Thanx once again,
Shiva