Jump to content


  • Content Count

  • Joined

  • Last visited

Everything posted by Xiaobai

  1. OK, I have solved the problem, it looks like this: function run(arg){ console.log(arg); } I never wrote applescript and I know nothing about it. I read the document from this url, and I found that the run function. It solved my problem. My English is very bad, I hope you can get it!
  2. Hi, I use JavaScript for Automation and run it using the shell 'osascript' command, but I don't know how to get the arguments in the script.
  • Create New...