visual c:
Hi All, I want to repeat the mouse behavior from user. I have an application ( Bluetooth ), I can drag files (Mp3/jpg/...) to the bluetooth icon, and then choice the target device, finally, the applicatoin will send those files to the target device. Right now, I want this behavior can automatically repeat. What can I do ? Thank you very much for your help. Best regards, Boki.
Hi Boki, I think you need to explain a bit more. Why would you want to send the same files to a target device more than once? And if the files are different, the operation can't be made 'automatic' since it requires human intervention to choose the files. So what exactly do you mean by "automatically repeat"? [==P==] [quoted text, click to view] "Boki" <bokiteam@ms21.hinet.net> wrote in message news:uVX1qDX9FHA.744@TK2MSFTNGP10.phx.gbl... > Hi All, > I want to repeat the mouse behavior from user. > > I have an application ( Bluetooth ), I can drag files (Mp3/jpg/...) to the > bluetooth icon, and then choice the target device, finally, the > applicatoin will send those files to the target device. > > Right now, I want this behavior can automatically repeat. What can I do ? > > Thank you very much for your help. > > Best regards, > Boki. >
Hi Peter, Sorry, I want user can choose file(s) and then push to Bluetooth device via this tool, because if we don't have this tool, we have to drag files again and again. for example: I have a.mp3, b.jpg, c.bmp and then I drag these three files to the BT icon ( at the same time, the tool record the behavior ) and then I can control how many times I want to repeat. ( or other functions) I can't sure this is a good method, pleaee welcome to advice any comment. Best regards, Boki
Hi, 1. how to control/monitor the mouse moving( x, y, click..) information when the mouse is outside of a focus window. 2. How to command windows "copy" a select item... Thank you very much! Best regards, Boki. [quoted text, click to view] Kay wrote: > Hi Boki > > I have no experience for bluetooth device but you may put the source & > destination path into 2 variables, then loop thru all the selected icon > (i.e. for each selected item in the source control, or do a count, something > like selecteditem.count, depends on which control you used), then do the > copy... > > HTH > > Kay > > <bokiteam@ms21.hinet.net> wrote in message > news:1133393692.698926.200400@f14g2000cwb.googlegroups.com... > > Hi Peter, > > Sorry, I want user can choose file(s) and then push to > > Bluetooth device via this tool, because if we don't have this tool, we > > have to drag files again and again. > > > > for example: > > I have a.mp3, b.jpg, c.bmp > > and then I drag these three files to the BT icon ( at the same time, > > the tool record the behavior ) and then I can control how many times I > > want to repeat. ( or other functions) > > > > I can't sure this is a good method, pleaee welcome to advice any > > comment. > > > > Best regards, > > Boki > >
Hi Boki I have no experience for bluetooth device but you may put the source & destination path into 2 variables, then loop thru all the selected icon (i.e. for each selected item in the source control, or do a count, something like selecteditem.count, depends on which control you used), then do the copy... HTH Kay [quoted text, click to view] <bokiteam@ms21.hinet.net> wrote in message news:1133393692.698926.200400@f14g2000cwb.googlegroups.com... > Hi Peter, > Sorry, I want user can choose file(s) and then push to > Bluetooth device via this tool, because if we don't have this tool, we > have to drag files again and again. > > for example: > I have a.mp3, b.jpg, c.bmp > and then I drag these three files to the BT icon ( at the same time, > the tool record the behavior ) and then I can control how many times I > want to repeat. ( or other functions) > > I can't sure this is a good method, pleaee welcome to advice any > comment. > > Best regards, > Boki >
[quoted text, click to view] <bokiteam@ms21.hinet.net> wrote in message news:1133507859.974644.325300@g49g2000cwa.googlegroups.com... > 1. how to control/monitor the mouse moving( x, y, click..) information > when the mouse is outside of a focus window.
Check the docs for SendInput() and / or mouse_event(). [quoted text, click to view] > 2. How to command windows "copy" a select item...
The programmatic interface to the clipboard is described here: http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/dataexchange/clipboard/usingtheclipboard.asp Regards, Will
Nice answer. Thanks! Best regards, Boki.
Don't see what you're looking for? Try a search.
|