[Java] How to change attribute values in the Settings class --- seems setter methods are missing
Hi,
I am coding Sikuli scripts under Java and I would like to change some parameters normally available through the Settings class such as ObserveScanRate, SlowMotionDelay and MoveMouseDelay.
Looking at your examples It seems pretty simple to be done under Python but I am struggling to do the same under Java.
Digging into the javadoc I haven't found any members method of the class Settings to update the parameters value, for example I would have expected a function like Settings.
So I have tried instead to instanciate a new Settings object and to access directly the members variables to affect them a new value but it does not work:
public static Settings Stgs = new Settings() ;
Then I get the compilation error: <identifier expected>
Could you please tell me what I should do to change the value of these parameters ?
Thanks for your great work on Sikuli guys !
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- SikuliX Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- RaiMan
- Solved:
- Last query:
- Last reply: