Sign in to follow this  
Followers 0
aceavatars

need to save file and save..plz guide

5 posts in this topic

hi everyone..im really a new bie to scripting and this programming stuff..i saw in example to open a notepad and send keystrokes ...till tht i did by taking help frm it...but thn if i want to mak it save thn wht commands shuld i giv thr so tht it saves itself with a specified name which i want and saves to the directory whr i want ..plz guide me....i knw itz a really simple but im total a newbie...i found this thngvery interesting :lmao:

Share this post


Link to post
Share on other sites



now in normal English? :lmao:


[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

now in normal English? :lmao:

hey i dint get u..wht do u mean excatly

Share this post


Link to post
Share on other sites

Here's a way to go around Notepad, this can save you a lot of trouble. But please don't post it bold and big anymore..

$Text = "Hello" & @CRLF & _
"How are you doing?" & @CRLF
$DirectoryandFilename = "C:\mytext.txt"

FileWrite ( $DirectoryandFilename, $Text )

Share this post


Link to post
Share on other sites

#5 ·  Posted (edited)

maybe this is something you can understand a little better:

$a = ("notepad.exe")
Run($a)
WinWaitActive("")
Send("This is an example 8D!")
WinWaitActive("")
Send("^" & "s")
WinWaitActive("")
Send("Example{ENTER}")
WinWaitActive("")
WinKill("Example -")
Exit
Edited by AceLoc

[quote name='AceLoc']I gots new sunglasses there cool.[/quote]

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0