public boolean step2() {
	    	Target target = new ImageTarget(new File("image2.png"));
	    	target.setMinScore(DEFAULT_MINSCORE);
	    	ScreenRegion loc = screenRegion.find(target);
	    	if (loc != null){
	    		mouse.rightClick(loc.getCenter());
	    		return true;
	    	}else{
	    		return false;
	    	}

	}
public boolean step2() {
	    	Target target = new ImageTarget(new File("image2.png"));
	    	target.setMinScore(DEFAULT_MINSCORE);
	    	ScreenRegion loc = screenRegion.find(target);
	    	if (loc != null){
	    		mouse.rightClick(loc.getCenter());
	    		return true;
	    	}else{
	    		return false;
	    	}

	}
public boolean step2 ( ) { Target target = new ImageTarget ( new File ( "image2.png" ) ) ; target . setMinScore ( DEFAULT_MINSCORE ) ; ScreenRegion loc = screenRegion . find ( target ) ; if ( loc != null ) { mouse . rightClick ( loc . getCenter ( ) ) ; return true ; } else { return false ; } }
Argument:
Argument :