« Return to Thread: Please reply urgent help need it in Taking screenshot in battle.

Re: Please reply urgent help need it in Taking screenshot in battle.

by Poh Zhi Hao Jason :: Rate this Message:

Reply to Author | View in Thread

--- In Robocode@..., "asherbaig" <devilvsevil@...> wrote:

>
> Hi, Developers.
>
> Please i need your help in urgent.I want to take the screenshot during
> the battle using the key "CRTL P".
> I need suggestion from you ppl.How to do it and where can i put it.And
> what are code i need to implement it.
>
> Please help !
>
You can use the Robot Class
(http://java.sun.com/j2se/1.5.0/docs/api/java/awt/Robot.html) to press
keystrokes in the battle.

Hope that helps! (:

 « Return to Thread: Please reply urgent help need it in Taking screenshot in battle.