Package org.sikuli.basics
Class Settings
java.lang.Object
org.sikuli.basics.Settings
public class Settings extends Object
This is the container for all
-
Field Summary
Fields Modifier and Type Field Description static booleanActionLogsstatic floatAlwaysResizestatic booleanAutoDetectKeyboardLayoutstatic floatAutoWaitTimeoutstatic StringBundlePathstatic booleanCheckLastSeenstatic floatCheckLastSeenSimilarstatic booleancheckMousePositionstatic doubleClickDelaySpecify a delay between the mouse down and up in seconds as 0.nnn.static booleanClickTypeHackstatic booleanDebugLogsstatic StringDefaultHighlightColorstatic floatDefaultHighlightTimestatic intDefaultPaddingstatic doubleDelayAfterDragstatic doubleDelayBeforeDragstatic doubleDelayBeforeDropstatic doubleDelayBeforeMouseDownstatic doubleDelayValuestatic booleanexperimentalstatic booleanFALSEstatic booleanFindProfilingstatic floatFOREVERstatic booleanHighlighttrue = highlight every match (default: false) (show red rectangle around) for DefaultHighlightTime seconds (default: 2)static booleanHighlightTransparentstatic ImageCallbackImageCallbackstatic booleanInfoLogsstatic booleanInputFontMonostatic intInputFontSizestatic intISLINUXstatic intISMACstatic booleanisMacAppstatic intISWINDOWSstatic booleanLogTimestatic doubleMinSimilaritystatic floatMoveMouseDelaystatic intObserveMinChangedPixelsstatic floatObserveScanRatestatic StringOcrDataPathstatic StringOcrLanguagestatic StringOcrLanguageDefaultstatic booleanOcrTextReadstatic booleanOcrTextSearchstatic booleanOverwriteImagesstatic booleanProfileLogsstatic Proxyproxystatic InetAddressproxyAddressstatic booleanproxyCheckedstatic StringproxyIPstatic StringproxyNamestatic StringproxyPortstatic intRepeatWaitTimestatic floatSlowMotionDelaystatic booleanSwitchToTextstatic booleanThrowExceptionstatic booleanTraceLogsstatic booleanTRUEstatic doubleTypeDelaySpecify a delay between the key presses in seconds as 0.nnn.static StringUserLogPrefixstatic booleanUserLogsstatic booleanUserLogTimestatic doubleWaitAfterHighlightstatic floatWaitScanRatestatic booleanWheelNatural -
Constructor Summary
Constructors Constructor Description Settings() -
Method Summary
Modifier and Type Method Description static StringgetDataPath()static StringgetFilePathSeperator()static intgetImageCache()static intgetOS()static StringgetOSVersion()static StringgetPathSeparator()static StringgetTimestamp()static StringgetVersion()static StringgetVersionBuild()static voidinit(RunTime givenRunTime)static booleanisLinux()static booleanisMac()static booleanisShowActions()static booleanisWindows()static voidsetImageCache(int max)static voidsetShowActions(boolean ShowActions)
-
Field Details
-
experimental
public static boolean experimental -
FindProfiling
public static boolean FindProfiling -
InputFontMono
public static boolean InputFontMono -
InputFontSize
public static int InputFontSize -
FOREVER
public static final float FOREVER- See Also:
- Constant Field Values
-
proxyName
-
proxyIP
-
proxyAddress
-
proxyPort
-
proxyChecked
public static boolean proxyChecked -
proxy
-
isMacApp
public static boolean isMacApp -
ThrowException
public static boolean ThrowException -
AutoWaitTimeout
public static float AutoWaitTimeout -
WaitScanRate
public static float WaitScanRate -
ObserveScanRate
public static float ObserveScanRate -
ObserveMinChangedPixels
public static int ObserveMinChangedPixels -
RepeatWaitTime
public static int RepeatWaitTime -
MinSimilarity
public static double MinSimilarity -
AlwaysResize
public static float AlwaysResize -
DefaultPadding
public static int DefaultPadding -
AutoDetectKeyboardLayout
public static boolean AutoDetectKeyboardLayout -
CheckLastSeen
public static boolean CheckLastSeen -
CheckLastSeenSimilar
public static float CheckLastSeenSimilar -
ImageCallback
-
DelayValue
public static double DelayValue -
DelayBeforeMouseDown
public static double DelayBeforeMouseDown -
DelayAfterDrag
public static double DelayAfterDrag -
DelayBeforeDrag
public static double DelayBeforeDrag -
DelayBeforeDrop
public static double DelayBeforeDrop -
WheelNatural
public static boolean WheelNatural -
checkMousePosition
public static boolean checkMousePosition -
TypeDelay
public static double TypeDelaySpecify a delay between the key presses in seconds as 0.nnn. This only applies to the next type and is then reset to 0 again. A value > 1 is cut to 1.0 (max delay of 1 second) -
ClickDelay
public static double ClickDelaySpecify a delay between the mouse down and up in seconds as 0.nnn. This only applies to the next click action and is then reset to 0 again. A value > 1 is cut to 1.0 (max delay of 1 second) -
ClickTypeHack
public static boolean ClickTypeHack -
BundlePath
-
OverwriteImages
public static boolean OverwriteImages -
OcrLanguageDefault
- See Also:
- Constant Field Values
-
OcrLanguage
-
OcrDataPath
-
OcrTextSearch
public static boolean OcrTextSearch -
OcrTextRead
public static boolean OcrTextRead -
SwitchToText
public static boolean SwitchToText -
TRUE
public static boolean TRUE -
FALSE
public static boolean FALSE -
SlowMotionDelay
public static float SlowMotionDelay -
MoveMouseDelay
public static float MoveMouseDelay -
Highlight
public static boolean Highlighttrue = highlight every match (default: false) (show red rectangle around) for DefaultHighlightTime seconds (default: 2) -
DefaultHighlightTime
public static float DefaultHighlightTime -
DefaultHighlightColor
-
HighlightTransparent
public static boolean HighlightTransparent -
WaitAfterHighlight
public static double WaitAfterHighlight -
ActionLogs
public static boolean ActionLogs -
InfoLogs
public static boolean InfoLogs -
DebugLogs
public static boolean DebugLogs -
ProfileLogs
public static boolean ProfileLogs -
TraceLogs
public static boolean TraceLogs -
LogTime
public static boolean LogTime -
UserLogs
public static boolean UserLogs -
UserLogPrefix
-
UserLogTime
public static boolean UserLogTime -
ISWINDOWS
public static final int ISWINDOWS- See Also:
- Constant Field Values
-
ISMAC
public static final int ISMAC- See Also:
- Constant Field Values
-
ISLINUX
public static final int ISLINUX- See Also:
- Constant Field Values
-
-
Constructor Details
-
Settings
public Settings()
-
-
Method Details
-
init
-
setImageCache
public static void setImageCache(int max) -
getImageCache
public static int getImageCache() -
isShowActions
public static boolean isShowActions() -
setShowActions
public static void setShowActions(boolean ShowActions) -
getFilePathSeperator
-
getPathSeparator
-
getDataPath
-
getOS
public static int getOS() -
isWindows
public static boolean isWindows() -
isLinux
public static boolean isLinux() -
isMac
public static boolean isMac() -
getOSVersion
-
getTimestamp
-
getVersion
-
getVersionBuild
-