SupplyPassword - Maple Help

# Online Help

###### All Products    Maple    MapleSim

PackageTools

 SupplyPassword
 supply a password for a password-protected workbook

 Calling Sequence SupplyPassword( wbfile, password )

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.

 See Also