简体   繁体   English

是否有可能在 G1ANT.Studio 中运行并行脚本

[英]Is there a possibilty to run parallel scripts in G1ANT.Studio

Greetings fellow software engineers,问候软件工程师,

As the title of this post states, I was wondering if there's any possibility to run two scripts at once (any kind of multithreading) inside of G1ANT.Studio?正如这篇文章的标题所述,我想知道是否有可能在 G1ANT.Studio 内同时运行两个脚本(任何类型的多线程)?

Thanks a lot!非常感谢!

There is no possibility to run two scripts at once on the same computer for now, but you can own multiple G1ANT licenses that you can use on different machines, so that robots can communicate with each other and work in parallel.目前无法在同一台计算机上同时运行两个脚本,但是您可以拥有多个 G1ANT 许可证,可以在不同的机器上使用,以便机器人可以相互通信并并行工作。

By the way, if you want to increase the productivity, you can use triggers to launch scripts automatically at a given time ( schedule trigger ), after a change in a watched directory took place, for example when a new file appears ( file trigger ), or after you have received an email ( mail trigger ).顺便说一下,如果你想提高生产力,你可以使用触发器在给定的时间自动启动脚本( schedule trigger ),在监视目录发生更改后,例如出现新文件时( 文件触发器) ,或在您收到电子邮件后( 邮件触发器)。

Hope this answers your question.希望这能回答你的问题。

You can use macro functionality of G1ANT.Language and create there as many threads or tasks as you want.您可以使用 G1ANT.Language 的宏功能并根据需要在其中创建任意数量的线程或任务。 Downside is that you can only execute there C# code.缺点是你只能在那里执行 C# 代码。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM