Page 1 of 1

::sendkeys "{Space}" error

Posted: 24 Jun 2014 10:07
by binocular222

Code: Select all

Error:  	5 (0x00000005)
Desc:   	Invalid procedure call or argument
Dll:    	0
Proc:   	script_Process

Source: 	XYplorer
XY ver: 	XYplorer 14.20.0206
OS:     	Windows 7 Enterprise (Service Pack 1), 32-bit
Locale: 	1066
ANSI:   	1258
ACP:    	1258  (ANSI/OEM - Viet Nam)
DBCS:   	No
DPI:    	96 (100%)

Date:   	24/06/2014 3:07:22 CH

Re: ::sendkeys "{Space}" error

Posted: 28 Jun 2014 12:44
by bdeshi
You can try

Code: Select all

::sendkeys " ";
Maybe {space} isn't supported.
And I guess "as sendkeys officially does not even exist," Don "won't look into it." :P
btw, There was a sendkeys documentation here somewhere, couldn't find it....

Re: ::sendkeys "{Space}" error

Posted: 29 Jun 2014 10:27
by admin
Sammay's reply is correct in each point.

Re: ::sendkeys "{Space}" error

Posted: 04 Jul 2017 14:32
by cadu
By change was sendkeys improved to allow {Space} usage?
Them what would be the correct syntax for that key?
Thanks for info!

Re: ::sendkeys "{Space}" error

Posted: 04 Jul 2017 14:37
by bdeshi
No, {Space} isn't allowed. You can use this syntax if you are trying to make spaces in a sendkey string more visible:

Code: Select all

sendkeys "word{ }word"; // note the space between curly braces