Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations biv343 on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using Sendkeys to emulate "CTRL + Left Click" 1

Status
Not open for further replies.

alfordjj

MIS
Jul 23, 2003
80
US
I'm trying to automate an install of Oracle 7.3.4 and the only way I can figure how that it might be done is using the sendkeys function.

Here is the problem, there is a spot that requires using "CTRL + Left Click" to highlight the neccisary items to install. I'm not sure how to emulate this using sendkeys. Oh, sure, I can do the CTRL key, no problem. But how do I add the Left Click? None of the keyboard keys seem to work. Perhaps there is a way to send that using something besides sendkeys?

I've got a question in to the Oracle forum here, but I don't hold out much hope. The best I can figure out, that version is not capable of doing an automatic install.

Thanks everyone!!
 
You may want to look at AutoIT, it allows for keys and mouse clicks.
--------------------------------------------------------------------------------
dm4ever
My philosophy: K.I.S.S - Keep It Simple Stupid
 
Can't you substitute the left click with either a tab or an arrow down?

--------------------------------------
"Insert funny comment in here!"
--------------------------------------
 
you maybe able to use alt-e (edit) and then shift-a (select all) which does the same thing.
 
Thanks everyone for your suggestions. I did get a copy of AutoIT, and it is a wonderful program. I still couldn't get it to do exactly what I wanted, but I did use AutoIT to build a very suitable workaround.

Jfdabiri, I've never tried using the alt-e command. I'll have to try that and see if it works with this program.

Thanks!!!
 
i tested that. it basically acts the same as ctrl-left click.
you have to use sendkey to send alt-e then shift-a
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top