We are testing SAP GUI scripting with CRM 4.0 / SAP GUI 6.40. SAP GUI scripting is well installed, but when we try to use ApplyGuiScript command we have the following message:

SAP Frontend server
Caracter incorrect -

Our InputScript is very simple :
Screen SAPLCIC0.0100
ApplyGuiScript "Script1.vbs"
Enter

And our Script1.vbs file is empty

The vbs script is most likely in UNICODE format. It seems that SAP GUI has changed the default character format from ANSI to UNICODE when recording. Please save the vbs script in ANSI or UTF8 format (notepad.exe or GuiXT script editor, "Save as"). We will look into this.