Soecifying directory to save a text file in

Hints, tips and tricks for newbies

Moderators: Dorian (MJT support), JRL

Post Reply
walgett
Newbie
Posts: 3
Joined: Mon Aug 29, 2005 2:47 am

Soecifying directory to save a text file in

Post by walgett » Fri Sep 30, 2005 6:51 am

How do I specify the directory to save a text file i have just created into?
This what I have had to do to get saving the file so far, however it saves it in whichever directory I last saved a file in. Also any pointers on streamlining the code would help.

Press ALT
Send>fa
Release ALT
WaitWindowOpen>Save As
SetFocus>Notepad*
SetFocus>Save As*
Send Character/Text>%File%.ini
wait>0.1
Press Enter
Press ALT
send character/text>s
Send Character/Text>fx
Release ALT
wait>1

Press ALT
Release ALT
wait>0.5
Send Character/Text>fx
Wait 1

I wish to save the file in C:/Alcatel

User avatar
support
Automation Wizard
Posts: 1450
Joined: Sat Oct 19, 2002 4:38 pm
Location: London
Contact:

Post by support » Fri Sep 30, 2005 7:02 am

Just add the path:

SetFocus>Save As
Send>C:/Alcatel/%File%.ini
MJT Net Support
[email protected]

Post Reply
Sign up to our newsletter for free automation tips, tricks & discounts