05-22-2006, 03:56 AM
pasting to notepad (when notepad is in background)
|
05-22-2006, 07:40 AM
06-10-2006, 05:36 AM
06-10-2006, 08:04 AM
Function SendKey
;/
06-12-2006, 02:34 PM
Of course you now my next question....
Can you do this with strings? At this time this is just a theoretical question, as I don't need to do it at this time. But, it is interesting. thanks.
06-12-2006, 03:58 PM
Can be programmed using QmKeyCodeToVK, but easier for me would be to add a function that would use already existing internal code for key.
key2 keycodes [flags] [hwnd]
06-26-2006, 03:08 PM
How do you do this with strings?
06-28-2006, 05:25 PM
I'll add a function for this in some new QM version.
01-10-2007, 07:54 PM
Quote:in some new QM version rats...i could actually use this now.
09-30-2007, 09:50 AM
Is this available on 2.2.0.11?
09-30-2007, 10:10 AM
No, possibly in 2.2.1.
01-03-2008, 03:32 PM
i came across this today cuz i need to make sure that the info im trying to type into an 'OpenVMS' telnet session doesn't get stolen by something going on top if it and stealing focus.
did you create the 'sendkey' with the capacity to use strings? thanks
Try to send characters instead. This should work with most controls.
Function SendCharactersToWindow ;/ See also: SendKeysToWindow
01-04-2008, 03:42 PM
well. that first one works just dandy. my text editor (PSPad) doesn't receive the newline character ([10] or [13]) but it works in a lot of other places.
thanks!
04-27-2008, 11:59 PM
Sir, can you show me how to parsing Sendkey Alt+Numpad (ex.Alt+132 result->ä) to excel without activated the workbook.?
04-28-2008, 09:21 AM
04-28-2008, 12:42 PM
int a(131) b(132) c(133)
I mean using macro to send "key Alt + a or b or c" to excel then in excel show the â, ä or à in cell. figured using FormatKeyString and GetMod but don't know how to use that function.
04-28-2008, 12:48 PM
Don't know how to send Alt+numpad to an inactive window.
04-28-2008, 01:49 PM
Sorry, not inactive windows, but in background. is it posible??
04-29-2008, 10:16 AM
If key cannot be used, I don't know another way to send Alt+numpad to an inactive or background window.
10-09-2014, 06:29 AM
Dear Gintaras,
Supposed that I want to send to Notepad background window, what I usually send when it is foreground window : Quote:key AS 1 My question is how should I compose the SendKeysToWindow statement, in particular in what it concerns the Alt (A) character code. Many thanks.
10-10-2014, 06:01 PM
10-10-2014, 10:48 PM
Thank you so much! It is true, I envisaged a lot of problems with Alt, particularly in Internet Exolorer Windows. No problem with VK_CONTROL and VK_SHIFT.
Best regards!
I'm using the send keys code to another window. However, the window doesn't have have id. Any idea how to get around this?
int hwnd=id(15 "Notepad") |
« Next Oldest | Next Newest »
|
Users browsing this thread: 7 Guest(s)