Appearance
CatScript Modules
In addition to Python's standard library, CatScript provides automation modules and bundles a few third-party Python packages that scripts can import directly. See Bundled Packages for the available packages.
| Module | Description |
|---|---|
| app | App information and control. |
| device | Device information. |
| key | Keyboard and hardware key events. |
| screen | Screen inspection and image matching. |
| script | Script configuration. |
| sys | Alerts, shell commands, clipboard and system controls. |
| touch | Touch events and gestures. |
| ui | Accessibility element lookup. |
Import all modules at once:
python
from catscript import *Or import only the modules you need:
python
from catscript import screen, touchTIP
Using an AI assistant? See Writing Scripts with AI for the recommended documentation URLs and prompt template.