Send a file to a remote target, ie. via Email.
The subject and text arguments will be auto filled and the choose text will be displayed when the user selects the target app. Default may be something like 'Complete action using'.
See Also: SendImage, SendText, SendMail
Example - Send File
function OnStart()
{
app.WriteFile( "file.txt", "Hello World" );
app.SendFile( app.GetAppPath() + "/file.txt", "Shared File", app.GetUser() + " shared file.txt with you" );
}
from native import app
def OnStart():
app.WriteFile( "file.txt", "Hello World" )
app.SendFile( app.GetAppPath() + "/file.txt", "Shared File", app.GetUser() + " shared file.txt with you" )