Custom App Usage
Custom App Details
GetCurrentTabletData
local tablet = exports['0r-smarttab']:GetCurrentTabletData(options){
isOpen = boolean, -- whether the tablet UI is currently open
serial = string|nil, -- active tablet serial, or nil if none
gallery = table|nil, -- optional, only when requested
}2. Basic usage
local tablet = exports['0r-smarttab']:GetCurrentTabletData()
if tablet.isOpen and tablet.serial then
print(("[SmartTab] Current tablet serial: %s"):format(tablet.serial))
else
print("[SmartTab] No tablet is currently open.")
end3. Including gallery data
4. Typical use cases
4.1 Custom apps
4.2 Job / utility scripts
5. Notes and caveats
Last updated