...
Code Block |
---|
commandString: "_YourCommand\nParam1\nParam2" |
Expand |
---|
title | Example message to add a line |
---|
|
Code Block |
---|
var message = {
messageName: "runcommand",
commandString: "_LINE 0,0 10,10 "
}
window.postMessage(message, '*'); |
|
Info |
---|
Note: Only whitelisted commands are allowed to be run from the client side by runcommand message. To whitelist a command, add it to Default Files\OEM Commands\commands.xml |
Code Block |
---|
|
<?xml version="1.0" encoding="UTF-8"?>
<commands>
<OEM name="graebert">
<command name="_XEREPLACEOPEN"/>
<command name="_DOATTACHMENT"/>
<command name=" _YourCommand"/>
</OEM>
</commands> |
runlisp
Execute the passed Lisp expression:
...