populous Posted April 3, 2011 Share Posted April 3, 2011 hi everyone ,i have searched a lot of about how to simulate the effect of holding down CTRL and clicking with left click mouse into files and add them with vbs or vb.net but found nothing could anyone help me please thank you . Link to comment Share on other sites More sharing options...
allen2 Posted April 3, 2011 Share Posted April 3, 2011 As native vbs doesn't provide mouse click functionality, you'll need to use another way: autoit might be the easiest way. Link to comment Share on other sites More sharing options...
CoffeeFiend Posted April 3, 2011 Share Posted April 3, 2011 autoit might be the easiest way^^ Just what he said. I'm not a big fan of autoit, but when it comes to automating mouse clicks it's often your best/easiest option by a long shot. Your main other option being a "real" programming language which you would use to send WM_CLICK messages (and a few others), often also using APIs like GetWindowText and SetWindowText with that...Then again, sometimes the easiest thing isn't sending clicks to a GUI but to do something entirely different. Not knowing what the actual problem is, we have no way to help there. Link to comment Share on other sites More sharing options...
populous Posted April 4, 2011 Author Share Posted April 4, 2011 autoit might be the easiest way^^ Just what he said. I'm not a big fan of autoit, but when it comes to automating mouse clicks it's often your best/easiest option by a long shot. Your main other option being a "real" programming language which you would use to send WM_CLICK messages (and a few others), often also using APIs like GetWindowText and SetWindowText with that...Then again, sometimes the easiest thing isn't sending clicks to a GUI but to do something entirely different. Not knowing what the actual problem is, we have no way to help there.thanks for your help allen2 and CoffeeFiend so if i want to have to same effect when holding CTRL+LEFT CLICK mouse into files (in order to add them click by following respectively in directorybackground) i have to learn autoit ok then i have to search tutorial to understand it thank you guys . Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now