代码之家  ›  专栏  ›  技术社区  ›  Steven R. Loomis

mac automator/applescript:有没有方法引用applescript中的变量?

  •  2
  • Steven R. Loomis  · 技术社区  · 15 年前

    我在互联网上看到过很多关于这个的问题,但没有答案。在applescript中有没有一种方法可以引用自动机“变量”?我想做一些字符串操作作为工作流的一部分。我通过使用get变量并将其传递到临时文件来解决这个问题,但这有点难看。

    2 回复  |  直到 13 年前
        1
  •  2
  •   mipadi    15 年前

    input parameters

    here

        2
  •  4
  •   Asger    13 年前

    set my_variable to value of variable "The Variable" of workflow 0 of current application
    display dialog my_variable as text
    set my_variable to "Test"
    

    推荐文章