Skip to main content

App Picker

The App Picker provides a preview list of apps, allowing users to pick one or multiple apps.

Type app (single app) allows selecting one app and returns a string: the selected app’s Bundle ID.

Type apps (multiple apps) allows drag-selecting multiple apps and reordering them, returning an array of strings: an ordered list of selected app Bundle IDs.

Example

local group, name

group = 'App'
name = 'app.bundle_path(bid)'

return {
name = string.format('%s - %s', group, name),
description = "Get the app bundle path",
arguments = {
{type = 'app'},
},
default = "com.darwindev.XXTExplorer", -- Default Bundle ID
generator = function(bid)
return string.format('app.bundle_path(%q)', bid)
end,
}

IMG_0005.PNG

IMG_0006.PNG