|
-
Aug 19th, 2008, 03:15 PM
#1
Thread Starter
Lively Member
-
Aug 19th, 2008, 04:32 PM
#2
Hyperactive Member
Re: how use sendkeys
Sometimes fighting the menus is a pain. Why not try this, instead? Same effect, but it is now Windows doing the work instead of Notepad.
Code:
SendKeys "^{INSERT}"
-
Aug 19th, 2008, 04:41 PM
#3
Re: how use sendkeys
Try
SendKeys "^(C)", True
use () instead of {}
A good exercise for the Heart is to bend down and help another up...
Please Mark your Thread " Resolved", if the query is solved
MyGear:
★ CPU ★ Ryzen 5 5800X
★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
★ Keyboard ★ TVS Electronics Gold Keyboard
★ Mouse ★ Logitech G502 Hero
-
Aug 19th, 2008, 06:27 PM
#4
Re: how use sendkeys
It's OK with : SendKeys "^(C)", True
But it's also OK with : SendKeys "^C", True
Parentheses are only required for multiple characters sent with Ctrl (or Shift or Alt) key:
SendKeys "^(CD)", True
is different with
SendKeys "^CD", True
Curly brackets { } are required and only be used with special keys on keyboard, such as {HOME}, {END}, {DOWN}, {TAB}, {F2}, ...
(See Help on SendKeys Statement for full listing.)
Example:
SendKeys "^(END)", True: hold down Control key while pressing "E" then "N" then "D".
SendKeys "^{END}", True: hold down Control key while pressing End-key.
SendKeys "^END", True: hold down Control-key while pressing "E", then release Control-key, then press "N" then "D".
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
|