SupplyPassword - Maple Help

PackageTools

 supply a password for a password-protected workbook

Parameters

 wbfile - string password - string

Description

 • The SupplyPassword command allows you to unlock a password-protected workbook for the current session.  This allows you to access locked workbook attachments from general Maple commands.

Examples

 > $\mathrm{with}\left(\mathrm{PackageTools}\right):$
 > $\mathrm{SupplyPassword}\left("mypack.maple","pw123"\right)$
 > $\mathrm{FileTools}:-\mathrm{Copy}\left("maple://mypack.maple/protected_file.mw","file.mw"\right)$

Compatibility

 • The PackageTools[SupplyPassword] command was introduced in Maple 2017.
 • For more information on Maple 2017 changes, see Updates in Maple 2017.