使用autoit脚本启动或运行ica文件 [英] Launching or running ica file with autoit script

查看:190
本文介绍了使用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:\Users\username\Desktop\folderofICAfiles")

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:\ Users \ username \ Desktop \ folderwithica," open) 效果很好

Figured it out, used ShellExecuteWait("file","","C:\Users\username\Desktop\folderwithica,"open") worked perfectly

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

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆