mergDocCanOpen |
Type | function |
Dictionary | LCS |
Library | LiveCode Script |
Syntax | mergDocCanOpen(<pFilePath>)
|
Associations | mergdoc |
Summary | Returns true if there is an app that can open the document type
|
Introduced | 8.0 |
OS | ios |
Platforms | mobile |
Parameters | Name | Type | Description |
---|
pFilePath | | the full path of the document.
|
|
Example | set the enabled of btn "open in" to mergDocCanOpen( specialFolderPath("engine")&"/pdfs/help.pdf")
|
Values | Name | Type | Description |
---|
return | | boolean
|
|
Description | Important: There is a known issue with this command on iPad where it will cause the app to crash if it is called before the stack is open.
|
Tags | externals |