Re: Robot class on a mac computer Programming Software Development by Majestics Robot class to create robotic function of mouse, keyboard and screen... For executing a command or function you can use Runtime class. [url]http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Runtime.html[/url] robot Programming Software Development by Dhana_1 a robot is programmed to move forward 'F' meters and … covers 1 meter in T units of time on robot path there is a ditch at a distance FD… forward and backward movements is performed repeatedly by the robot your task is to calculate amount of time taken… before the robot falls either ditch if at all it falls in… Re: robot Programming Software Development by Moschops This is not actually a programming question (or rather, to solve this by simulating the behaviour of the robot is a bad way to solve this). This is a simple maths question. Solve it on paper first. Re: robot Programming Software Development by David W … rather, to solve this by simulating the behaviour of the robot is a bad way to solve this). This is a… Re: robot Programming Software Development by rproffitt Did you post this to many places? https://www.google.com/search?q=your+task+is+to+calculate+amount+of+time+taken+before+the+robot+falls+either+ditch+if+at+all+it+falls+in+a+ditch&ie=utf-8&oe=utf-8 Please share where you got your best answer. Re: Robot class exclamation mark error Programming Software Development by sirlink99 … Frame { Frame (){ try { Robot robot = new Robot(); // Creates the delay of 2…robot.delay(2000); robot.keyPress(KeyEvent.VK_H); robot.keyRelease(KeyEvent.VK_H); robot.keyPress(KeyEvent.VK_I); robot.keyRelease(KeyEvent.VK_I); robot Robot validation Programming Software Development by Crima …namespace RobotCS { public partial class Form1 : Form { private Robot Robby = new Robot(); public Form1() { InitializeComponent(); } private void Form1_Load(object sender… Robot screen capture - heap OutOfMemory while reducing quality Programming Software Development by Vaspar …WRobotPeer.java:64) at java.awt.Robot.createScreenCapture(Robot.java:444) at SystemController.screenCap(SystemController… screenCap(Rectangle captureSize, int i) { robot = new Robot(); screenImage = robot.createScreenCapture(captureSize); return ImageResizer.resizeImage(screenImage);… Robot class won't click the mouse Programming Software Development by Ghost I have this code: [CODE]try { robot = new Robot(); robot.mouseMove(0,900); robot.mousePress(InputEvent.BUTTON1_DOWN_MASK); robot.mouseRelease(InputEvent.BUTTON1_DOWN_MASK); }catch(Exception e){}[/CODE] And… Re: Robot class won't click the mouse Programming Software Development by Clawsy try this instead. I had the same problem: [code] try { robot = new Robot(); robot.mouseMove(0,900); robot.mousePress(InputEvent.BUTTON1_MASK); robot.mouseRelease(InputEvent.BUTTON1_MASK); }catch(Exception e){} [/code] Re: Robot screen capture - heap OutOfMemory while reducing quality Programming Software Development by JamesCherrill … targetRefreshInterval = 2000 means try to refresh every 2 seconds try { robot = new Robot(); robot.setAutoWaitForIdle(true); Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize(); width = screenSize… Re: Robot validation Programming Software Development by Momerath Between lines 144 and 145 you should test if the robot is still in the range, if not, then don't change the location property. And I don't see anything obviously wrong with the move code. Put a breakpoint in the Go10_Click event and see if it is making it into that code (and make sure you have the right event tied to the button). Re: Robot screen capture - heap OutOfMemory while reducing quality Programming Software Development by JamesCherrill … First - get screen images int sendScreen() throws IOException { BufferedImage image = robot.createScreenCapture(new Rectangle(width, height)); Raster ras = image.getData(); DataBufferInt… Re: Robot class won't click the mouse Programming Software Development by sciwizeh it appears that Robot only works on swing buttons, and applications Re: Robot class won't click the mouse Programming Software Development by Geazie [QUOTE=sciwizeh;680938]it appears that Robot only works on swing buttons, and applications[/QUOTE] This is not true. Although this is what it was primarily intended. Robot click exception: Invalid combination of button flags Programming Software Development by Clawsy …;click" with the mouse using a Robot object like this: [code] Robot bot = new Robot(); bot.mousePress(InputEvent.BUTTON1_DOWN_MASK); bot.mouseRelease(InputEvent… robot creation permission Programming Software Development by bibiki … have created this simple app that makes use of a Robot instance. It is a network app that I control using…, in one of my computers, I manage to start my robot app through web. I have a simple php file that… the other computer I manage to start the app, but robot functionality is not available. I read online that it is… Robot cleaning Programming Software Development by chetan12 …program... You are working for a company designing cute, funny robot vacuum cleaners. At a high level, the robots’ behavior …debugging. At the beginning of the exploration mode, the robot is placed into a convex polygonal room. It has sensors…that these readings are correct. To do this, the robot needs to physically touch every wall in the room. Your… Re: Robot cleaning Programming Software Development by chetan12 …[500],y[500],ry,robx,roby,a,b; public: void robot() { for(int i=0;i<n;i++) { if((rx…;"\n A mini project on Room Service by a robot"; delay(1000); cout<<"\n Student …]>>y[i]; // } } cout<<"\n Enter Robot's location in Room:\n Robo must be in Room… Re: Robot class on a mac computer Programming Software Development by harinath_2007 … ?. From your posts i understand that you want to use robot class for pressing the function keys (like f1,f2 etc… example f1 Here's how you do this.. [CODE]Robot r=new Robot(); r.keyPress(KeyEvent.VK_F1);[/CODE] For other keys refer… Robot eating trees to generate electricity/fuel to run itself Community Center Geeks' Lounge by ithelp It seems USA army is going to try such veg robot in afganistan shortly , I am just getting scared of a non vegetarian robot . Re: Robot eating trees to generate electricity/fuel to run itself Community Center Geeks' Lounge by Salem > It seems USA army is going to try such veg robot in afganistan shortly Have you seen Afghanistan? The place is a desert where it isn't a mountain. Robot's gonna starve. It should really plant trees as it goes for full sustainability ;) Robot class on a mac computer Programming Software Development by caswimmer2011 Hello, I got a MacBook Pro for college and i'm trying to program on it. It's all good except when i use the robot class, i don't see any key codes or key events for keys such as function, option, and command. Can i use those keys when using the robot class? Thanks in advance! -Nick Robot class exclamation mark error Programming Software Development by sirlink99 I am writing code that opens notepad, but when I want to write an exclamation mark it throws an error; here is the code I am using to write the exclamation mark. [CODE] robot.keyPress(KeyEvent.VK_EXCLAMATION_MARK); robot.keyRelease(KeyEvent.VK_EXCLAMATION_MARK); [/CODE] Why is it giving me the error? robot.txt Programming Web Development by davy_yg What is robot.txt? Is it necessary to have robot.txt for a webpage? Does it effect SEO at all? Thanks. Re: robot.txt Programming Web Development by JorgeM … bit of information out there regarding the use of the robot.txt file. If you as the web site owner, want… should include instructions in a specific format that instruct the robot on whether to allow or deny it access to folders… Re: robot creation permission Programming Software Development by bibiki … working also). One thing I find weired though is that robot instantiation via web was impossible in 2008 (judging by the… Re: Robot.txt Suggestion Digital Media UI / UX Design by Kraai Having a neat robot.txt file, may help a bit with SEO. As Borzoi … files or folders on your website. If you use the robot.txt file cleverly, you can prevent robots from crawling duplicate… Re: Robot class on a mac computer Programming Software Development by caswimmer2011 Maybe I did not phrase the question right. I am wondering how to use the robot class with a mac computer because I need to use keys such as function, command, and option. Is there a way to have the computer type those keys for me? Re: Robot class on a mac computer Programming Software Development by Majestics [url]http://www.devdaily.com/java/java-robot-class-example-mouse-keystroke[/url] I think u already saw it.....