Author Topic: Send Control Keys to a Web Page  (Read 3356 times)

0 Members and 1 Guest are viewing this topic.

Offline MLambert

  • Forum Regular
  • Posts: 115
    • View Profile
Send Control Keys to a Web Page
« on: July 12, 2018, 10:23:21 am »
Hi,
I have opened a web page using QB64 .. now I want to send Control A (Select all) then Control C ( copy all).

How do I send these control key to the web page ?

Regards,

Mike


FellippeHeitor

  • Guest
Re: Send Control Keys to a Web Page
« Reply #1 on: July 12, 2018, 10:34:37 am »
Try using _screenprint (http://www.qb64.org/wiki/index.php?title=SCREENPRINT) and sending chr$(1) then chr$(3) - not certain to work though.

Offline Cobalt

  • QB64 Developer
  • Forum Resident
  • Posts: 878
  • At 60 I become highly radioactive!
    • View Profile
Re: Send Control Keys to a Web Page
« Reply #2 on: July 12, 2018, 09:55:08 pm »
he could send ALT then "E" then "A" to select all
then send ALT then "E" then "C" to copy.
cant remember the key code for ALT right off my head.

and thats for Windows with FireFox browser.
Granted after becoming radioactive I only have a half-life!

Offline MLambert

  • Forum Regular
  • Posts: 115
    • View Profile
Re: Send Control Keys to a Web Page
« Reply #3 on: July 13, 2018, 01:48:29 am »
Thank you everyone for your help. All works fine.

Regards,

Mike