Spice GetCommandInfo Example
Renders the complete list of fully qualified names and shortcuts of the available command parameters.
Smartsite SXML | Copy Code |
---|---|
<se:format inputdata="{spice.getcommandinfo()}"> <se:rowformat trim="left"> {this.field(fullname)} (shortcut: {this.field(shortcut)}) </se:rowformat> </se:format> |
Example Result | Copy Code |
---|---|
img.crop.croptop (shortcut: crt) img.crop.cropleft (shortcut: crl) img.crop.cropright (shortcut: crr) img.crop.cropbottom (shortcut: crb) img.crop.cropheight (shortcut: crh) img.crop.cropwidth (shortcut: crw) img.rotate.degrees (shortcut: r) img.rotate.backcolor (shortcut: rbc) img.resize.width (shortcut: w) img.resize.height (shortcut: h) img.resize.maxwidth (shortcut: mxw) img.resize.maxheight (shortcut: mxh) img.resize.minwidth (shortcut: mnw) img.resize.minheight (shortcut: mnh) img.resize.aspectratio (shortcut: ar) img.resize.resizemode (shortcut: rm) img.mirror.mirror (shortcut: m) img.type.filetype (shortcut: ft) img.jpeg.quality (shortcut: q) img.grayscale.grayscale (shortcut: gs) img.duotone.tint (shortcut: tint) img.oilpaint.oilpaint (shortcut: oil) img.metadata.dc (shortcut: dc) img.metadata.format (shortcut: format) img.metadata.preserve (shortcut: preserve) img.metadata.dccontributor (shortcut: dc.cont) img.metadata.dccoverage (shortcut: dc.cove) img.metadata.dccreator (shortcut: dc.crea) img.metadata.dcdate (shortcut: dc.date) img.metadata.dcdescription (shortcut: dc.desc) img.metadata.dcformat (shortcut: dc.form) img.metadata.dcidentifier (shortcut: dc.iden) img.metadata.dclanguage (shortcut: dc.lang) img.metadata.dcpublisher (shortcut: dc.publ) img.metadata.dcrelation (shortcut: dc.rela) img.metadata.dcrights (shortcut: dc.righ) img.metadata.dcsource (shortcut: dc.sour) img.metadata.dcsubject (shortcut: dc.subj) img.metadata.dctitle (shortcut: dc.titl) img.metadata.dctype (shortcut: dc.type) img.order.Order (shortcut: o) |