AutoIt + Citrix Simulation API - error 63
You need to set
$citrix_object.Launch = true;
If you use C++ it is trickier, then you have to do:
VARIANT_BOOL variantBoolTrue = -1;
pica->put_Launch(variantBoolTrue);
Related videos on Youtube
DarthVader
Updated on December 01, 2022Comments
-
DarthVader over 1 year
I am currently trying to integrate the Citrix Simulation API into an AutoIt script.
I am able to open a working connection and I can also successful do a logoff. But while the session is open, I am not able to use important functions. For example I need to set the session to fullscreen using the FullScreenWindow() function. The errorcode I get delivered is 63 - ICO_ERROR_NO_WINDOW (no window found)
This is the code I am using to build the connection (shortened)
Local $citrix_object = ObjCreate("Citrix.ICAClient") $citrix_object.Address = "hostname" $citrix_object.Username = "user" $citrix_object.SetProp("Password", "pass") $citrix_object.Domain = "domain" $citrix_object.Connect()
By executing this code I will logon to the citrix desktop and can use It. But I cant use functions like FullScreenWindow()
I read that a registry key needs to be set, so I have done that. But the problem still persists. Key:
[HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Citrix\ICA Client\CCM] "AllowSimulationAPI"=dword:00000001
What am I missing? Thanks in advance
-
Pablo A over 5 years
-
Vlastimil Burián about 4 yearsMy Mint 19.3 does not detect HDMI only if I log off and log in again.
-
-
Kusalananda almost 3 yearsYou seem to have taken screenshots from an external blog and posted them as your own here (and here). You have also posted this exact answer on two separate question. Here, you could have posted the first paragraph as a question in a comment, because the rest depends on the user's answer to that inquiry.
-
Kusalananda almost 3 yearsDo you know what license those screenshots are under and how you now have relicensed them? Do not post contents here that you don't have permission to share.
-
Joshua Salazar almost 3 yearsCC BY-SA sharealike
-
Kusalananda almost 3 yearsThat's what it is now, yes.