|
-
Aug 2nd, 2006, 02:12 AM
#1
Thread Starter
New Member
[Resolved] Sending "{space}" with SendKeys?
So if I use
I get this error: Run-time error '5': Invalid procedure call or argument.
Well, it works fine with like "text" or "{enter}", just not with space.
Can anyone help? =)
Thanks!
Last edited by zl0h; Aug 2nd, 2006 at 04:49 AM.
-
Aug 2nd, 2006, 03:38 AM
#2
Re: Sending "{space}" with SendKeys?
Pete
No trees were harmed in the making of this post, however a large number of electrons were greatly inconvenienced.
-
Aug 2nd, 2006, 03:43 AM
#3
Re: Sending "{space}" with SendKeys?
The only allowed values in {} are
Code:
BACKSPACE {BACKSPACE}, {BS}, or {BKSP}
BREAK {BREAK}
CAPS LOCK {CAPSLOCK}
DEL or DELETE {DELETE} or {DEL}
DOWN ARROW {DOWN}
END {END}
ENTER {ENTER}or ~
ESC {ESC}
HELP {HELP}
HOME {HOME}
INS or INSERT {INSERT} or {INS}
LEFT ARROW {LEFT}
NUM LOCK {NUMLOCK}
PAGE DOWN {PGDN}
PAGE UP {PGUP}
PRINT SCREEN {PRTSC}
RIGHT ARROW {RIGHT}
SCROLL LOCK {SCROLLLOCK}
TAB {TAB}
UP ARROW {UP}
F1 {F1}
F2 {F2}
F3 {F3}
F4 {F4}
F5 {F5}
F6 {F6}
F7 {F7}
F8 {F8}
F9 {F9}
F10 {F10}
F11 {F11}
F12 {F12}
F13 {F13}
F14 {F14}
F15 {F15}
F16 {F16}
To specify keys combined with any combination of the SHIFT, CTRL, and ALT keys, precede the key code with one or more of the following codes:
Key Code
SHIFT +
CTRL ^
ALT %
-
Aug 2nd, 2006, 04:49 AM
#4
Thread Starter
New Member
Re: Sending "{space}" with SendKeys?
Oh, lol, didn't think about that, pnish. Thanks.
And thanks for the list, Andrew G. =)
-
Apr 7th, 2016, 06:35 AM
#5
Registered User
Re: Sending "{space}" with SendKeys?
In that list, which one is SPACEBAR ?
-
Apr 7th, 2016, 09:14 AM
#6
Re: [Resolved] Sending "{space}" with SendKeys?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|