Specifies a socks proxy to be used for Citrix replay.
CitrixAPI.bdh
CitrixSetSocksProxy( in sProxy : string, in nPort : number, in nVersion : number ): boolean;
true if the function succeeds
false otherwise
Parameter | Description |
---|---|
sProxy | Host name or IP address of the socks proxy to be used for Citrix replay. |
nPort | Port of the socks proxy. |
nVersion | Socks protocol version to be used (v4 or v5). |
transaction TMain var begin CitrixSetSocksProxy("lab13", 1080, 5); CitrixInit(640, 480); CitrixSetApplication("Excel"); CitrixConnect("myserver", "myusername", "mypass", "mydomain", COLOR_16bit); CitrixWaitForLogon(); hWnd4 := CitrixWaitForWindowCreation("Microsoft Excel - Book*", MATCH_Wildcard, 0x15CF0000, -4, -4, 648, 488); CitrixKeyString("test"); CitrixMouseClick(636, 14, hWnd4, MOUSE_ButtonLeft); ThinkTime(2.63); CitrixMouseClick(306, 289, hWnd4, MOUSE_ButtonLeft); CitrixWaitForWindow(hWnd4, EVENT_Destroy); CitrixDisconnect(); end TMain;