Launching or running ica file with autoit script

瘦欲@ 提交于 2019-12-13 07:13:55

问题


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")

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.


回答1:


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



来源:https://stackoverflow.com/questions/25520426/launching-or-running-ica-file-with-autoit-script

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!