luadocs/content/lua.scripts.api.manual/dtutils.system/launch_default_app.md
Bill Ferguson b69d752221 [lua scripts] created manual from script comments
[lua scripts api] created manual from embedded library documentation

[lua api] created stub to contain lua api manual
2020-12-12 15:14:19 -05:00

545 B

title id weight draft author
launch_default_app launch_default_app 30 false people

NAME

launch_default_app

SYNOPSIS

open file in default application

USAGE

local dsys = require "lib/dtutils.file"
result = dsys.launch_default_app(path)

path - string - a file path

DESCRIPTION

launch_default_app allows opening a file in the application that is assigned as default for that filetype in the users's system

RETURN VALUE

result - number - the return value signalling success or failure.