There is a hook procedure running in the other program. I expect you are going to have to use windows SendMessage function to produce the Ctrl[F12] sequence. Since it's a hook procedure, I suppose it's not going to be fussy about the target since it's evaluating all keystrokes looking for the Ctrl[F12].
I would begin by getting the handle of the window in which the text is highlighted and use that as the target of the sendmessage function. This would of course require the use of DLCall to enable such action. On Tuesday, August 22, 2017 at 6:01:20 PM UTC-4, dang wrote: > > I need to send a keystroke to the pc but forgot how to do it. > > > > I need to send a ctrl-F12 to the pc. > > > > TIA > > > > Dan Goldberg > > > -- For group guidelines, visit http://www.rbase.com/support/usersgroup_guidelines.php --- You received this message because you are subscribed to the Google Groups "RBASE-L" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

