Skip to main content

17 docs tagged with "Settings"

View all tags

Settings

Useful to modify macro settings & optimization

Settings:cacheOn()

When this option is set to on, the macro will store a temporary cache to store last frame, normally your macro will capture the screen device every time frame is available, this is an intensive operation so in order to prevent that you can use this options

Settings:getMinScore()

Will return the minimum match score as threshold when you perform text or image detection

Settings:grayscaleOff()

When this option is set to off, the text or image detection will be processed in normal mode

Settings:grayscaleOn()

When this option is set to on, the text or image detection will be processed in grayscale mode, this is useful to speed up the detection process

Settings:setComparisonHeight()

Change the comparison height, this comparison height is a variable or constant that the Android Macro used to calculate screen resolution between 2 devices with the same aspect ratio

Settings:setComparisonWidth()

Change the comparison width, this comparison width is a variable or constant that the Android Macro used to calculate screen resolution between 2 devices with the same aspect ratio

Settings:width()

When this option is set to off, the macro will not use cache image frame