Copies a file from the device to the desktop allowing a different name for the target file.
Syntax: CopyFileFromDevice2 (DeviceFile As String, DesktopFile As String)
Example:
'Add a RAPIDesktop object named rapi.
Sub App_Start
Form1.Show
rapi.New1
rapi.Connect
End Sub
Sub rapi_Connected
rapi.CopyFileFromDevice2("\Windows\alarm1.wav",AppPath & "\1.wav")
End Sub