Quantcast
Channel: AutoIt v3 - General Help and Support
Viewing all articles
Browse latest Browse all 12506

Notepad Save as ...

$
0
0
Hey Noob here but im trying to do the following;

Run notepad put some text in then attempt to save as.
But when I want to save as I want to have a predefined name and file extension in the scipt.

i.e. Save as: Chocolate.csv, or ihatechess.txt

Can anyone help?


; Run Notepad
Run("notepad.exe")
WinWaitActive("Untitled - Notepad")
Send("This is some text.")
WinClose("Untitled - Notepad")
;WinWaitActive("Notepad", "Save")
Send("y")

[Here I want to control the save as box. e.g. SAVE AS: Chocolate.csv]


;WinWaitClose("[CLASS:Notepad]")

Viewing all articles
Browse latest Browse all 12506

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>