Specifies a directory that is to be used for the temporary storage of images. TrueLog-generation performance improves when the specified drive is a RAM disk. Used for both record and replay.
CitrixAPI.bdh
CitrixSetRamDisk( in sPath : string ): boolean;
true if the function succeeds
false otherwise
Parameter | Description |
---|---|
sPath | Path of a directory that is to be used for the temporary storage of images for TrueLog generation. |
transaction TMain var begin CitrixInit(640, 480); CitrixSetRamDisk("z:"); //use ramdisk drive "z:" 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); ThinkTime(2.63); CitrixDisconnect(); end TMain;