← Back to team overview

sikuli-driver team mailing list archive

[Question #252439]: SCALA problem with Screen.type

 

New question #252439 on Sikuli:
https://answers.launchpad.net/sikuli/+question/252439

Hi!

I've started to develop an application on Scala, I'm newbie in both scala and sikuli. 
I'm using scala IDE and found that "type" is a key identifier there. So, when I try to type, like:
s.type(Key.ENTER)

I got following error:
Multiple markers at this line
	- identifier expected but  'type' found.
	- identifier expected but  'type' found.

Could you advise me how I can handle such situations? I understand that I can create a java class that will a wrap for such methods and will simply provide renamed methods, or even change the method name in sikuli sources, but I don't think that these are the best solutions.. How can I tell the IDE that type is simply a method?

Thank you!

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.