Jump to content
Sign in to follow this  
z0mgItsJohn

[Help] ControlSend To A CMD Window

Recommended Posts

z0mgItsJohn

Hello AutoIt Peoples.. I Really Don't Know How To Use ControlSend.. And I Looked In The Help File And Only Helped W/ Sending To Notepad.. So Could Someone Maybe Give Me An Example Of A Script That Could ControlSend To CMD..? Thanks In Advance!!

(I Need Control Send So I Can Send To The CMD Window Whens Its In A Hide State)

~ John


Latest Projects :- New & Improved TCP Chat

Share this post


Link to post
Share on other sites
LarryDalooza

for mines... example of sending to CMD prompt when CMD is not focussed...

Send("#r")
Run("cmd")
WinWait("C:\W")
WinActivate("Run")
ControlSend("C:\","","","remember you may have a problem with 'shiftstate' characters ...")

BAM! ... you have been helped!

Lar.


f_mrcleansmalm_77ce002.jpgAutoIt has helped make me wealthy

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  

×