|
From: Peter T on 30 Jul 2008 06:03 With two networked machines directly in front of me I often find myself wanting to copy/paste between them (with respective keyboard/mouse). Even just to get text would be nice. Is something like that doable with the help of a little VB6 utility. It'd be handy ! Regards, Peter T
From: Dave O. on 30 Jul 2008 06:47 Not easily, how about making a text file somewhere on the network and putting a shortcut to it on every machine you use, perhaps in the Quick Launch area if you enable it. You can then use the file as an intermediary step. If you want more than just text you could instead of a common shared file have a common shared folder. If you really want to do this in a program I guess one approach could be to write a clipboard monitor to live in the tool-tray, from there you can have a pop-up list of other PCs which you could send the clipboard content to. Every PC would have the same program running. Each program can either use a timer to check a central server to see if any other instances on other PC have copied some content there for it or it could use some clever network messaging to eliminate the timers. The central server could have a folder for each PC or the content file could have a header or a routing INI file to designate which PC needs the content. If you do go the program route it is not trivial, the clipboard can be a complex beast. Regards Dave O. "Peter T" <peter_t(a)discussions> wrote in message news:uYhxTui8IHA.3724(a)TK2MSFTNGP03.phx.gbl... > With two networked machines directly in front of me I often find myself > wanting to copy/paste between them (with respective keyboard/mouse). Even > just to get text would be nice. > > Is something like that doable with the help of a little VB6 utility. It'd > be handy ! > > Regards, > Peter T >
From: John K.Eason on 30 Jul 2008 07:14 In article <uYhxTui8IHA.3724(a)TK2MSFTNGP03.phx.gbl>, peter_t(a)discussions (Peter T) wrote: > *From:* "Peter T" <peter_t(a)discussions> > > With two networked machines directly in front of me I often find > myself wanting to copy/paste between them (with respective > keyboard/mouse). Even just to get text would be nice. > > Is something like that doable with the help of a little VB6 > utility. It'd be handy ! > > Regards, > Peter T Although it's not VB and is somewhat over the top for what you need, Synergy from http://synergy2.sourceforge.net/ will do that. It's open source and released under the GNU Public License (GPL). Whether you can unpick how it works and re-write the clipboard part in VB is another matter. (The source is C++ and pretty extensive by the look of it.) Regards John (john(a)jeasonNoSpam.cix.co.uk) Remove the obvious to reply...
From: Peter T on 30 Jul 2008 07:31 Thanks Dave for your comments. I kind of new it wasn't going to be easy but just hoping! This is just something for my own needs, only two or three machines, all in front of me. I was wondering about something along the following lines: Say two machines Source and Destination In Source there's an app named appSrc in Destination there's an app named appDest (VB6 or perhaps a VBS) with a shortcut on the desktop. - In Source I copy in the normal way - In Destination I click the shortcut on my desktop to appDest - appDest calls appSrc in Source and waits until appSrc has terminated (I haven�t a clue if that�s possible) - appSrc gets text from the clipboard and writes to clip.txt in a shared folder - As appSrc terminates appDst reads the file (I suppose can read from the shared folder in Source) - appDest puts the text clip.txt from onto the clipboard in Destination and Kill�s the file - Now in Destination I can paste in the normal way Is something like that viable, or is it not possible for appDest to call appSrc Regards, Peter T "Dave O." <nobody(a)nowhere.com> wrote in message news:%23PL7jGj8IHA.2336(a)TK2MSFTNGP03.phx.gbl... > Not easily, how about making a text file somewhere on the network and > putting a shortcut to it on every machine you use, perhaps in the Quick > Launch area if you enable it. You can then use the file as an intermediary > step. > If you want more than just text you could instead of a common shared file > have a common shared folder. > > If you really want to do this in a program I guess one approach could be > to write a clipboard monitor to live in the tool-tray, from there you can > have a pop-up list of other PCs which you could send the clipboard content > to. Every PC would have the same program running. Each program can either > use a timer to check a central server to see if any other instances on > other PC have copied some content there for it or it could use some clever > network messaging to eliminate the timers. > The central server could have a folder for each PC or the content file > could have a header or a routing INI file to designate which PC needs the > content. > If you do go the program route it is not trivial, the clipboard can be a > complex beast. > > Regards > Dave O. > > "Peter T" <peter_t(a)discussions> wrote in message > news:uYhxTui8IHA.3724(a)TK2MSFTNGP03.phx.gbl... >> With two networked machines directly in front of me I often find myself >> wanting to copy/paste between them (with respective keyboard/mouse). Even >> just to get text would be nice. >> >> Is something like that doable with the help of a little VB6 utility. It'd >> be handy ! >> >> Regards, >> Peter T >> > >
From: Peter T on 30 Jul 2008 07:41 "John K.Eason" <john(a)jeasonNoSpam.cix.co.uk> wrote in message news:memo.20080730121442.2032A(a)jeason.compulink.co.uk... > In article <uYhxTui8IHA.3724(a)TK2MSFTNGP03.phx.gbl>, peter_t(a)discussions > (Peter T) > wrote: > >> *From:* "Peter T" <peter_t(a)discussions> >> >> With two networked machines directly in front of me I often find >> myself wanting to copy/paste between them (with respective >> keyboard/mouse). Even just to get text would be nice. >> >> Is something like that doable with the help of a little VB6 >> utility. It'd be handy ! >> >> Regards, >> Peter T > > Although it's not VB and is somewhat over the top for what you need, > Synergy from > http://synergy2.sourceforge.net/ will do that. > It's open source and released under the GNU Public License (GPL). Whether > you can > unpick how it works and re-write the clipboard part in VB is another > matter. (The > source is C++ and pretty extensive by the look of it.) > > Regards > John (john(a)jeasonNoSpam.cix.co.uk) Remove the obvious to reply... That looks very interesting indeed! Looks like it does what I want and a lot more too. I wonder if I really need to unpick the C++, perhaps I can just compile and use it as is. I will certainly look into it. Thanks for the link John. Regards, Peter T
|
Next
|
Last
Pages: 1 2 3 Prev: An important question about saving chat and Q&A sessions? Next: GetCursorPos question |