从哪里获得有关 dm 脚本函数的详细文档
Where to get detailed documentation on dm script functions
如何获得带有详细描述的函数定义?
帮助部分 (F1) 告诉我存在哪些功能,但对我来说描述不够详细。他们没有指定可选参数,也没有解释参数或函数的具体作用:
void ComponentSetFillMode( Component comp, Number mode )
Sets the fill mode of the image document component.
文档没有说明允许使用哪个 mode
以及每个 mode
的作用。
void TextAnnotationSetFixedPoint( Component comp, Number x, Number y )
Sets the fixed point of the text annotation.
同样没有关于 "fixed point" 是什么的信息。另外通过尝试我无法弄清楚这是做什么的。
Number TagGroupGetTagSize( TagGroup tagGroup, Number index )
Gets the size of the tag.
另一个例子,我花了几个小时尝试不同的(自己生成的)例子,直到我大致了解 "size" 是什么(或者更好不是)以及如何将它用于我的目的。
帮助部分包含所有功能的摘要,但没有任何参数说明不充分。我也有其他来源,但它们也没有涵盖所有内容,它们也不打算成为文档。谷歌搜索只显示了一个 function summary (which seems to be outdated) and sometimes pictures like in (图片 1),看起来很有趣。
那么有没有什么办法可以得到详细的函数定义呢?是否有(非官方的)更详细的文档?
图片 1 - 一张看起来像是来自 的详细文档的图片
不太令人满意的答案是,最详细的官方文档是 F1帮助文档。虽然多年来有所改进,但仍不完美。
网络上有一些基于用户的额外资源,但它们都有自己的问题 'incompleteness'。
这是主要原因之一,像 Whosebug 这样的社区基础工作非常重要。
如何获得带有详细描述的函数定义?
帮助部分 (F1) 告诉我存在哪些功能,但对我来说描述不够详细。他们没有指定可选参数,也没有解释参数或函数的具体作用:
void ComponentSetFillMode( Component comp, Number mode )
Sets the fill mode of the image document component.
文档没有说明允许使用哪个 mode
以及每个 mode
的作用。
void TextAnnotationSetFixedPoint( Component comp, Number x, Number y )
Sets the fixed point of the text annotation.
同样没有关于 "fixed point" 是什么的信息。另外通过尝试我无法弄清楚这是做什么的。
Number TagGroupGetTagSize( TagGroup tagGroup, Number index )
Gets the size of the tag.
另一个例子,我花了几个小时尝试不同的(自己生成的)例子,直到我大致了解 "size" 是什么(或者更好不是)以及如何将它用于我的目的。
帮助部分包含所有功能的摘要,但没有任何参数说明不充分。我也有其他来源,但它们也没有涵盖所有内容,它们也不打算成为文档。谷歌搜索只显示了一个 function summary (which seems to be outdated) and sometimes pictures like in
那么有没有什么办法可以得到详细的函数定义呢?是否有(非官方的)更详细的文档?
图片 1 - 一张看起来像是来自
不太令人满意的答案是,最详细的官方文档是 F1帮助文档。虽然多年来有所改进,但仍不完美。
网络上有一些基于用户的额外资源,但它们都有自己的问题 'incompleteness'。
这是主要原因之一,像 Whosebug 这样的社区基础工作非常重要。