How do I make a script or bat file to press one button?

deguzman523

Regular Member
Joined
Apr 9, 2009
Messages
201
Reaction score
59
Hey everyone,

I simply want to make a script or a .bat file that will allow me to press "f6".

Can anybody here help me with this?

Thanks!

Oh, and as for the language of the script. I don't know what language I want it in exactly, but here's an example:
Code:
[COLOR=White][FONT=Times New Roman][FONT=arial]Info("Disconnecting router");
hs=new HTTPScript("admin", "admin");
hs.SetData("action", "Disconnect");
hs.SetData("wan_pro", "2");
hs.SetData("conn_stats", "300");
hs.SetData("layout", "en");
hs.Referer="http://192.168.1.1/rstatus.tri";
s=hs.POST("http://192.168.1.1/rstatus.tri");
Wait(6000);[/FONT][/FONT][/COLOR]

Thanks!
 
Top