本文介绍了使用 autoit 脚本启动或运行 ica 文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试运行从 XenApp 从 autoit 脚本导出的 .ica 文件,我使用了 run 命令,但它什么也没做.任何替代方案将不胜感激.由于 .ica 文件的敏感性,我无法发布内容,但这是我目前对 autoit 脚本的了解.

I am trying to run a .ica file that I exported from XenApp from an autoit script, I used the run command and it did nothing. Any alternatives will be appreciated. Due to the sensitive nature of the .ica file i am unable to post the contents, but here is what i have so far for the autoit script.

Global $username = ""
Global $password = ""
Global $userinput
Global $passwordinput
$userinput = InputBox("HUB ID","Please Enter your HUB ID")
$passwordinput = InputBox("Password","Please Enter Your Password","","*15")

Run("Table Management 4_5 CorpFL.ica","C:UsersusernameDesktopfolderofICAfiles")

ICA 的功能是在 citrix 服务器上运行应用程序,用户只能访问该应用程序,而不能登录服务器本身.如果有任何方法可以使用 autoit 运行 ica,请告诉我.

the ICA's function is to run an application on a citrix server, the user will only have access to that application and will not be able to log on to the server itself. if there is any way to run the ica using autoit please let me know.

推荐答案

想通了,用了ShellExecuteWait("file","","C:UsersusernameDesktopfolderwithica,"open")完美运行

Figured it out, used ShellExecuteWait("file","","C:UsersusernameDesktopfolderwithica,"open")worked perfectly

这篇关于使用 autoit 脚本启动或运行 ica 文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

09-09 06:11