Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC: how does one...

how does one... 11 years 10 months ago #651

  • ben
  • ben's Avatar
use sendkeys and due compound keystokes?

Example:

CTRL+F

I tried

Action = Sendkeys "CTRL+F"
Action = Sendkeys "CTRL, F"
Action = Sendkeys "{CTRL, F}"
Action = Sendkeys "{CTRL+F}"

Thanks in advance.
Ben
The administrator has disabled public write access.

Re: how does one... 11 years 10 months ago #652

  • eddy
  • eddy's Avatar
  • OFFLINE
  • Administrator
  • Posts: 191
  • Thank you received: 2
  • Karma: 5
Hi Ben,
Action = Sendkeys "{CTRL+F}"
So close! It's actually a minus rather than plus, so the correct form is:
Action = Sendkeys "{CTRL-F}"
This works with multiple modifiers also, e.g.:
Action = Sendkeys "{CTRL-ALT-F}"
Action = SendKeys "{CTRL-SHIFT-ESC}"
Action = Sendkeys "{ALT-WIN-ENTER}"
(That last one is actually the Windows shortcut to start Media Center.)

Eddy
The administrator has disabled public write access.

Re: how does one... 11 years 9 months ago #656

  • ben
  • ben's Avatar
thanks!
The administrator has disabled public write access.
  • Page:
  • 1
Time to create page: 0.207 seconds
Powered by Kunena Forum