Topic List |
Page List:
1 |
---|---|
ernieforss 10/19/18 11:49:29 AM #1: |
so I have a program which accept values pasted into it. is there way to paste a keyboard command? i usually just type in everything in excel. each space is counts and an enter. i was wonder if i can copy f9 key prompt.
--- I'm always 50% right all the time ... Copied to Clipboard!
|
#2 | Post #2 was unavailable or deleted. |
ernieforss 10/19/18 12:00:55 PM #3: |
yes it's a third party program that i can paste excel values into it. the third party program needs the f9 command to accept the values i just pasted. but i don't know how to tell it to do it through a paste.
--- I'm always 50% right all the time ... Copied to Clipboard!
|
#4 | Post #4 was unavailable or deleted. |
Andromicus 10/19/18 12:05:55 PM #5: |
Ugh excel topic
--- PotD's official master braider ... Copied to Clipboard!
|
ernieforss 10/19/18 1:06:00 PM #6: |
Zangulus posted...
Whats the third party program? Did you code it? no. it's a copy of another program. It's called Putty. https://www.computerhope.com/jargon/p/putty.htm --- I'm always 50% right all the time ... Copied to Clipboard!
|
Sahuagin 10/20/18 12:05:16 AM #7: |
you can send key presses to the active window using the .NET SendKeys class
https://docs.microsoft.com/en-us/dotnet/api/system.windows.forms.sendkeys?view=netframework-4.7.2 it's a wrapper around the win32 SendInput function, which would be a lot harder to use https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-sendinput you'd have to be in something like C#, VB.NET, or maybe PowerShell to use SendKeys. SendInput would be easiest to call from win32 C++, but you could also call from C# and VB.NET, and maybe from VBA, but it wouldn't be easy. --- ... Copied to Clipboard!
|
Sahuagin 10/20/18 12:08:18 AM #8: |
wait, though if you're using putty then you want to send it through SSH or something
there might be some kind of escape sequence that represents F9 https://unix.stackexchange.com/questions/53581/sending-function-keys-f1-f12-over-ssh seems to say it would be ^[[20~ but I'm not sure. depends which protocol you're using.--- ... Copied to Clipboard!
|
ernieforss 10/23/18 9:42:25 AM #9: |
Sweet thanks
--- I'm always 50% right all the time ... Copied to Clipboard!
|
Topic List |
Page List:
1 |