Hi there, i just made a small script to help a friend @ work, my first script so, be nice pls ![:)]()
It just open xml, seach for what i need, copy, and paste into notepad, but what i want is to paste this into Excel, BUT, 1st time i run this i want at, lets say A1, next time i want at a different cell. is that possible?
how can i do that?
ty in advance. and sorry for any bad english, not my main language.
![:)](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/smile.png)
Quote
WinActivate("[CLASS:Notepad++]", "")
Send ("{CTRLDOWN}")
Send ("f")
Send ("{CTRLUP}")
Send ("placa{enter}")
Send ("{esc}")
Send ("{right}{right}")
Send("{SHIFTDOWN}")
Send ("{right 7}")
Send ("{SHIFTUP}")
Send ("{CTRLDOWN}")
Send ("c")
Send ("{CTRLUP}")
Send ("{CTRLDOWN}{home}{CTRLUP}")
Run ("notepad")
WinWait("[CLASS:Notepad]")
WinActivate("[CLASS:Notepad]", "")
Send ("Placa = {CTRLDOWN}")
Send ("v")
Send ("{CTRLUP}{enter}")
Send ("{CTRLDOWN}")
Send ("f")
Send ("{CTRLUP}")
Send ("placa{enter}")
Send ("{esc}")
Send ("{right}{right}")
Send("{SHIFTDOWN}")
Send ("{right 7}")
Send ("{SHIFTUP}")
Send ("{CTRLDOWN}")
Send ("c")
Send ("{CTRLUP}")
Send ("{CTRLDOWN}{home}{CTRLUP}")
Run ("notepad")
WinWait("[CLASS:Notepad]")
WinActivate("[CLASS:Notepad]", "")
Send ("Placa = {CTRLDOWN}")
Send ("v")
Send ("{CTRLUP}{enter}")
how can i do that?
ty in advance. and sorry for any bad english, not my main language.
![:)](http://aut1.autoit-cdn.com/forum/public/style_emoticons/default/smile.png)