|
-
May 23rd, 2000, 09:50 AM
#1
Thread Starter
Addicted Member
Hi,
I am trying to make my program sendkeys to another program, am sending the keys alright but I send keys to drop down the file menu, with the short cut Alt F
SendKeys "%f"
then there is an option in the programs file option which short cut key is Alt S
so I use the sendkeys function like so when I have the file menu dropped down,
SendKeys "%S"
but it turns out the program has the short cut key Alt S also used for something else when it is not in the menu and that is to launch the default browser to the programs homepage.
and when I am attempting to send the keys to this file menu it keeps launching the browser instead of selecting that item from the list.
Can someone tell me how to sendkeys to the menu successfully ?
thanx for your time.
-
May 23rd, 2000, 07:39 PM
#2
Lively Member
Once the menu drops down, you can select a menu item by simply selecting it's hot key.
Example:
Sendkeys "%F", True 'Open file menu
Sendkeys "S", True 'Select menu item "S"
Hope this helps.
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
|