DocumentTools[Canvas][Script]
Command
append a raw script command
Calling Sequence
Parameters
Description
Examples
Compatibility
Command(script,command)
script
-
DocumentTools:-Canvas:-Script object
command
string or list of strings; raw script commands
The Command interface allows you to record raw script commands intended for use in playback within the Maple Learn environment, and are invisible to operation within Maple.
Some raw script commands are as follows:
MOVEREL
MOVEREL:x:y
x,y - signed integers
Move currently active content by offset (x,y)
MOVEREL:-100:+200
MOVE
MOVE:x:y
x,y - positive integers
Move currently to absolute position (x,y)
MOVE:10:250
with⁡DocumentTools:-Canvas:
sc≔Script⁡mode=Learn:
SetActive⁡sc,0:0
Command⁡sc,MOVE:300:200
cv≔NewCanvas⁡Title,sc:
ShareCanvas⁡cv
The DocumentTools[Canvas][Script][Command] command was introduced in Maple 2021.
For more information on Maple 2021 changes, see Updates in Maple 2021.
See Also
Math
NewCanvas
Script
SetActive
SetMath
SetText
Download Help Document