|
-
May 14th, 2000, 12:27 AM
#1
-
May 14th, 2000, 01:59 PM
#2
Member
Excuse m...but what are SendKeys..can some give me an example? And how can I check if a web page (an url address i know) is loaded or not?
-
May 15th, 2000, 02:27 AM
#3
Sendkeys is just a simpler way. It's not like api, i like api better, but if you can't find a way with api, you use sendkeys.
Type "Sendkeys (and the code) {ENTER}"
Key Code
BACKSPACE {BACKSPACE}, {BS}, or {BKSP}
BREAK {BREAK}
CAPS LOCK {CAPSLOCK}
DEL {DELETE} or {DEL}
DOWN ARROW {DOWN}
END {END}
ENTER {ENTER} or ~
ESC {ESC}
HELP {HELP}
HOME {HOME}
INS {INSERT}
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 regular key code with one or more of the following codes:
Key Code
SHIFT +
CTRL (CONTROL) ^
ALT %
In your case:
SendKeys "{TAB}"
(to whenever you get to the box.)
SendKeys "Search String"
SendKeys "{ENTER}
I think that'd work.
I don't usually use Sendkeys, so I wouldn't really know how, but that's the way of how you do it.
-
May 15th, 2000, 04:25 AM
#4
Member
Thanks...
..but that's not quit what I wanted to ask for. Let's take an example: I open my browser at http://www.something.com and there is a normal link to another URL. This link's name is "Click this to move on...". How can I get cordinates of this link? I need those cords cause I want to point my mouse cursor on that location and click it?
I know this is quit a weird question .. but you don't have to give me complete source codes...just ideas...just ideas...
RiEbBo
-
May 16th, 2000, 01:34 AM
#5
Yeah, mis-read your question, sorry.
You can play with the mousepos function. Find it on vb-world.net. You just type the two coords until you get to the box, i guess.
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
|