Paste Function
This message turned up in search, but its forum couldn’t be identified from the original transcript, so it may not be linked into its thread.
Thanx for that info. It was real helpful. I was thinking this past weekend
about how the user would speicify which window to send the string to, and I
came-up with a scheme which, while maybe not the most intuitive, will give
the user the most control over where to send the data. The user would click
the Paste Gadget and the calculator window would disappear. They could then
activate the window they want the string to go to and position the cursor at
the proper field, then press the calculator hot-key to complete the pasting.
My program will have an event handler in the input stream which would wait
for the hot-key and send a signal to the sleeping calculator program when the
hot-key is pressed. When the Paste Gadget is clicked, a flag would be set to
tell the event handler that the next time the hot-key is pressed that it
should Paste the string rather than signalling the calculator program to
wake-up. This would give the user complete control over where the string
should be pasted, making the whole thing more accurate and useful. What do
you think of this idea?