• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

A challenge to VBBoy or other programmers.

Howard

Lifer
Create a program that copies the contents of text files into the clipboard, which is activated by certain keystrokes.

e.g. Ctrl+Shift+F10 would clipboard the contents of abc.txt, ...+F11 xyz.txt, etc.

Can you do it? :Q 🙂

This'll be great for the Master of the Obvious and No-Idea-Pancake-Bunny pics!

😀
 
LOL. How do you know me?! 😀

You simply need to register a HotKey (RegisterHotKey API) for your application. I've done it a hundred times with different girls :Q 😀

In particular, I wrote a mouse-replacer program to move the cursor using the WindowKey and a combination of I, J, K, L. I registered those 4 hot keys and two more to simulate left-click and right-click.

If you want more sophisticated access to the clipboard, you need to register your window as a Clipboard Listener, and your window will be notified of any changes in the clipboard.

I don't think I'll be writing this particular program you are requesting due to the lack of time, but such programs may already exist. Unless you are willing to put a few bucks into this project, of course 🙂
 
I've not done it but I know that it can be done quite easily with VB as I've read about clipboard access in a few spots.
 
Originally posted by: Howard
Create a program that copies the contents of text files into the clipboard, which is activated by certain keystrokes.

e.g. Ctrl+Shift+F10 would clipboard the contents of abc.txt, ...+F11 xyz.txt, etc.

Can you do it? :Q 🙂

This'll be great for the Master of the Obvious and No-Idea-Pancake-Bunny pics!

😀

i'll work for food 😉
 
Originally posted by: Skoorb
I've not done it but I know that it can be done quite easily with VB as I've read about clipboard access in a few spots.

Sorry, it can't be done quite easily 🙂
You need to use Win32 API to register his HotKey and then listen for messages, which involves intercepting messages going into your Window Proc.
 
I wrote something quite similar in .NET that would take whatever contents was in the clipboard (if it was text) and would HTML encode it using a RegisterHotKey() combination so that you could paste code/html/xml/etc. into an AIM window.

If anyone wants the source (C#) they're welcome to it...
 
Originally posted by: Descartes
I wrote something quite similar in .NET that would take whatever contents was in the clipboard (if it was text) and would HTML encode it using a RegisterHotKey() combination so that you could paste code/html/xml/etc. into an AIM window.

If anyone wants the source (C#) they're welcome to it...

Descartes, my nemesis, we meet again 😀
Just kidding. Did you find me a job yet, dude?
 
Originally posted by: VBboy
Originally posted by: Skoorb
I've not done it but I know that it can be done quite easily with VB as I've read about clipboard access in a few spots.

Sorry, it can't be done quite easily 🙂
You need to use Win32 API to register his HotKey and then listen for messages, which involves intercepting messages going into your Window Proc.
But you said You simply need to register a HotKey (RegisterHotKey API) for your application :Q When I say something's easy I mean it doesn't involve much code - so even if something takes 8 hours to figure out if it's only 15 lines of code I consider it easy 😛

 
Originally posted by: Skoorb
Originally posted by: VBboy
Originally posted by: Skoorb
I've not done it but I know that it can be done quite easily with VB as I've read about clipboard access in a few spots.

Sorry, it can't be done quite easily 🙂
You need to use Win32 API to register his HotKey and then listen for messages, which involves intercepting messages going into your Window Proc.
But you said You simply need to register a HotKey (RegisterHotKey API) for your application :Q When I say something's easy I mean it doesn't involve much code - so even if something takes 8 hours to figure out if it's only 15 lines of code I consider it easy 😛

LOL. Programmers would be broke if they got paid per line of code, not for amount of time invested 😀
 
Originally posted by: VBboy
Originally posted by: Descartes
I wrote something quite similar in .NET that would take whatever contents was in the clipboard (if it was text) and would HTML encode it using a RegisterHotKey() combination so that you could paste code/html/xml/etc. into an AIM window.

If anyone wants the source (C#) they're welcome to it...

Descartes, my nemesis, we meet again 😀
Just kidding. Did you find me a job yet, dude?

LOL, yah... it seems we always meet up in the same threads 😉.

Where do you live? You can PM me that info if you want...
 
Originally posted by: Skoorb
Originally posted by: VBboy
Originally posted by: Skoorb
I've not done it but I know that it can be done quite easily with VB as I've read about clipboard access in a few spots.

Sorry, it can't be done quite easily 🙂
You need to use Win32 API to register his HotKey and then listen for messages, which involves intercepting messages going into your Window Proc.
But you said You simply need to register a HotKey (RegisterHotKey API) for your application :Q When I say something's easy I mean it doesn't involve much code - so even if something takes 8 hours to figure out if it's only 15 lines of code I consider it easy 😛

I get in trouble with this at times. Someone will ask "how hard is that?" to which I respond "it's simple" (but not really). The first few times I said that they expected it to be done in a few hours... now I just say "it's doable."

I consider something "easy" as in I won't short a few synapses (sp?) trying to figure it out.
 
Anyone who wants a program to do this, PM me with an email address.

I wrote a proggy to do this a few years ago, and use it daily in my job.
 
Back
Top