Package org.sikuli.basics
Class Settings
- java.lang.Object
-
- org.sikuli.basics.Settings
-
public class Settings extends java.lang.Object
This is the container for all
-
-
Field Summary
Fields Modifier and Type Field Description static boolean
ActionLogs
static double
AlwaysResize
static boolean
AutoDetectKeyboardLayout
static float
AutoWaitTimeout
static java.lang.String
BundlePath
static boolean
CheckLastSeen
static float
CheckLastSeenSimilar
static boolean
checkMousePosition
static double
ClickDelay
Specify a delay between the mouse down and up in seconds as 0.nnn.static boolean
ClickTypeHack
static boolean
DebugLogs
static java.lang.String
DefaultHighlightColor
static float
DefaultHighlightTime
static int
DefaultPadding
static double
DelayAfterDrag
static double
DelayBeforeDrag
static double
DelayBeforeDrop
static double
DelayBeforeMouseDown
static double
DelayValue
static boolean
experimental
static boolean
FALSE
static boolean
FindProfiling
static float
FOREVER
static boolean
Highlight
true = highlight every match (default: false) (show red rectangle around) for DefaultHighlightTime seconds (default: 2)static boolean
HighlightTransparent
static boolean
ImageCaching
static org.sikuli.script.ImageCallback
ImageCallback
static boolean
InfoLogs
static boolean
InputFontMono
static int
InputFontSize
static boolean
isMacApp
static boolean
LogTime
static double
MinSimilarity
static float
MoveMouseDelay
static boolean
NewAPI
static int
ObserveMinChangedPixels
static float
ObserveScanRate
static java.lang.String
OcrDataPath
static java.lang.String
OcrLanguage
static java.lang.String
OcrLanguageDefault
static boolean
OcrTextRead
static boolean
OcrTextSearch
static boolean
OverwriteImages
static boolean
ProfileLogs
static java.net.Proxy
proxy
static java.net.InetAddress
proxyAddress
static boolean
proxyChecked
static java.lang.String
proxyIP
static java.lang.String
proxyName
static java.lang.String
proxyPort
static int
RepeatWaitTime
static float
SlowMotionDelay
static boolean
SwitchToText
static boolean
ThrowException
static boolean
TraceLogs
static boolean
TRUE
static double
TypeDelay
Specify a delay between the key presses in seconds as 0.nnn.static java.lang.String
UserLogPrefix
static boolean
UserLogs
static boolean
UserLogTime
static double
WaitAfterHighlight
static float
WaitScanRate
static boolean
WheelNatural
-
Constructor Summary
Constructors Constructor Description Settings()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static java.lang.String
getDataPath()
static java.lang.String
getFilePathSeperator()
static org.sikuli.basics.OS
getOS()
static java.lang.String
getOSVersion()
static java.lang.String
getPathSeparator()
static java.lang.String
getTimestamp()
static java.lang.String
getVersion()
static java.lang.String
getVersionBuild()
static void
init(org.sikuli.script.support.RunTime givenRunTime)
static boolean
isLinux()
static boolean
isMac()
static boolean
isShowActions()
static boolean
isWindows()
static void
setShowActions(boolean ShowActions)
-
-
-
Field Detail
-
NewAPI
public static boolean NewAPI
-
ImageCaching
public static boolean ImageCaching
-
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
public static java.lang.String proxyName
-
proxyIP
public static java.lang.String proxyIP
-
proxyAddress
public static java.net.InetAddress proxyAddress
-
proxyPort
public static java.lang.String proxyPort
-
proxyChecked
public static boolean proxyChecked
-
proxy
public static java.net.Proxy 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 double AlwaysResize
-
DefaultPadding
public static int DefaultPadding
-
AutoDetectKeyboardLayout
public static boolean AutoDetectKeyboardLayout
-
CheckLastSeen
public static boolean CheckLastSeen
-
CheckLastSeenSimilar
public static float CheckLastSeenSimilar
-
ImageCallback
public static org.sikuli.script.ImageCallback 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 TypeDelay
Specify 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 ClickDelay
Specify 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
public static java.lang.String BundlePath
-
OverwriteImages
public static boolean OverwriteImages
-
OcrLanguageDefault
public static final java.lang.String OcrLanguageDefault
- See Also:
- Constant Field Values
-
OcrLanguage
public static java.lang.String OcrLanguage
-
OcrDataPath
public static java.lang.String 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 Highlight
true = highlight every match (default: false) (show red rectangle around) for DefaultHighlightTime seconds (default: 2)
-
DefaultHighlightTime
public static float DefaultHighlightTime
-
DefaultHighlightColor
public static java.lang.String 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
public static java.lang.String UserLogPrefix
-
UserLogTime
public static boolean UserLogTime
-
-
Method Detail
-
init
public static void init(org.sikuli.script.support.RunTime givenRunTime)
-
isShowActions
public static boolean isShowActions()
-
setShowActions
public static void setShowActions(boolean ShowActions)
-
getFilePathSeperator
public static java.lang.String getFilePathSeperator()
-
getPathSeparator
public static java.lang.String getPathSeparator()
-
getDataPath
public static java.lang.String getDataPath()
-
getOS
public static org.sikuli.basics.OS getOS()
-
isWindows
public static boolean isWindows()
-
isLinux
public static boolean isLinux()
-
isMac
public static boolean isMac()
-
getOSVersion
public static java.lang.String getOSVersion()
-
getTimestamp
public static java.lang.String getTimestamp()
-
getVersion
public static java.lang.String getVersion()
-
getVersionBuild
public static java.lang.String getVersionBuild()
-
-