CreateTask - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


DocumentTools

  

CreateTask

  

create a task from a worksheet and store in a Maple help database

 

Calling Sequence

Parameters

Description

Examples

Compatibility

Calling Sequence

CreateTask(content, task=t, hdb=h)

Parameters

content

-

{string, XML tree} ; string or XML tree structure containing a valid XML description of a task template

t

-

string ; name of the task

h

-

string ; (optional) path to the help database file in which to store the task (default: your default tasks.help file)

Description

• 

The CreateTask function creates a task from worksheet content and stores it in a help database file.

• 

The task content should be the XML for a complete worksheet.  This can be obtained, for example, with the command FileTools[Text][ReadFile]( "worksheetname.mw" ), where "worksheetname.mw" is the path to a stored Maple worksheet.

• 

The h option, which specifies the path to the help database in which to store the task, can be fully qualified or relative to currentdir.

• 

For information regarding the specification of filename and pathname, see filename and backslash.

Examples

withDocumentTools:

CreateTaskstring of XML of worksheet,task=my task

Compatibility

• 

The DocumentTools[CreateTask] command was introduced in Maple 16.

• 

For more information on Maple 16 changes, see Updates in Maple 16.

See Also

About Help Databases

DocumentTools

DocumentTools[InsertTask]

DocumentTools[RemoveTask]