(Information and examples taken from the DroidScript documentation)
The IsTablet method returns true if the app is running on a Tablet and false if not.
app.IsTablet();
function OnStart() { tablet = app.IsTablet(); app.ShowPopup( tablet ); }