mergDocShowOpenInMenu

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
mergDocShowOpenInMenu <pFilePath>, [<pPopoverRect>]
Associationsmergdoc
Summary

Presents an action sheet on iPhone and popover on iPad showing the apps that the document type can be sent to

Introduced8.0
OSios
Platformsmobile
Parameters
NameTypeDescription
pFilePath

the full path of the document.

pPopoverRect

(optional with "" default) the rect that the iPad popover should show from, this will default to the target's rect so in most cases won't need to be set.

Example
mergDocShowOpenInMenu specialFolderPath("engine")&"/pdfs/help.pdf"
mergDocShowOpenInMenu specialFolderPath("engine")&"/pdfs/help.pdf",the rect of grc "popoverfromehere"
Values
NameTypeDescription
return

one of:

  • mergDoc: menu shown
  • mergDoc:Error: unable to show menu
Description

Presents an action sheet on iPhone and popover on iPad showing the apps that the document type can be sent to

Tagsexternals