|
-
Apr 3rd, 2007, 04:23 PM
#1
Thread Starter
Lively Member
simple send keys question
Can you use sendkeys to send the tab, ctrl, alt, buttons? Or do you have to use a different command?
-
Apr 3rd, 2007, 04:44 PM
#2
Fanatic Member
Re: simple send keys question
yes
SendKeys "{Tab}"
SendKeys "^" 'This is Ctrl
SendKeys "%" 'This is Alt
SendKeys "^%({Del})" 'Sends Ctrl+Alt+Delete
-
Apr 3rd, 2007, 04:48 PM
#3
Thread Starter
Lively Member
Re: simple send keys question
-
Apr 3rd, 2007, 04:52 PM
#4
Thread Starter
Lively Member
Re: simple send keys question
-
Apr 3rd, 2007, 05:02 PM
#5
Fanatic Member
Re: simple send keys question
SendKeys "{Enter}" or SendKeys "~"
Check this site out here: http://www.developerfusion.co.uk/show/57/
-
Apr 3rd, 2007, 05:03 PM
#6
Re: simple send keys question
When i use SendKeys "^%({Del})" it doesn't work.
If a post has been helpful please rate it. 
If your question has been answered, pull down the tread tools and mark it as resolved.
-
Apr 3rd, 2007, 05:15 PM
#7
Thread Starter
Lively Member
Re: simple send keys question
put in +
I think thats works...
-
Apr 3rd, 2007, 05:20 PM
#8
Thread Starter
Lively Member
Re: simple send keys question
nevermind, that doesnt work either... It works for ("^" + "t")
-
Apr 3rd, 2007, 05:21 PM
#9
Fanatic Member
Re: simple send keys question
Ive never tried doing Ctrl+Alt+Delete, but if its not working then i think you gotta go onto more complicated measures.. I think sending any more then 2 keys at the same time requires some API
-
Apr 4th, 2007, 01:54 PM
#10
Re: simple send keys question
There are just certain key combinations (and certain keys) that can't be "sent".
The most difficult part of developing a program is understanding the problem.
The second most difficult part is deciding how you're going to solve the problem.
Actually writing the program (translating your solution into some computer language) is the easiest part.
Please indent your code and use [HIGHLIGHT="VB"] [/HIGHLIGHT] tags around it to make it easier to read.
Please Help Us To Save Ana
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
|