Looking to make a mouse button clicking macro ( yes i am new lol )
wont work to just hold the mouse button down but if it can toggle like a rapid fire controler does should work thx
if ya need to email me feel free ty
macro to click mouse button help
Moderators: Dorian (MJT support), JRL
I understand that you are new so let me give you some tips about posting before I get to your question.
Give as many details as possible.
1. Your OS (Win XP Pro, etc...)
2. Your application (a Windows app, Internet site, Java based, etc....)
3. What are you trying to accomplish? not just one focused task, but what do you wish to accomplish with your entire MacroScript. Many times this forum provides ideas for accomplishing the same outcome with a better method than you had envisioned.
4. Include the code you have started to write. Don't be shy about posting code you think is poorly written. Everyone starts somewhere. We all started not knowing much. I learn new technique everyday by reading every post on the forum.
Ok, to your question:
If you have a "Windows" app try using the PushButtn> command in MacroScheduler. this command doesn't care where the button is located on the screen.
Of course, you can use the simple
MouseMove>x,y
wait>1
Lclick
where x,y are the coordinates of the button to click. This method is sometimes tricky to use if the window ever opens in a different screen location than when you wrote the script.
Let's try these methods first, then, if needed, we can look at using WebRecorder (if it is browser based) or at using Image Recognition Library (if the button/window info is not available to us).
Could you post as much of the requested information as possible?
thanks
Give as many details as possible.
1. Your OS (Win XP Pro, etc...)
2. Your application (a Windows app, Internet site, Java based, etc....)
3. What are you trying to accomplish? not just one focused task, but what do you wish to accomplish with your entire MacroScript. Many times this forum provides ideas for accomplishing the same outcome with a better method than you had envisioned.
4. Include the code you have started to write. Don't be shy about posting code you think is poorly written. Everyone starts somewhere. We all started not knowing much. I learn new technique everyday by reading every post on the forum.
Ok, to your question:
If you have a "Windows" app try using the PushButtn> command in MacroScheduler. this command doesn't care where the button is located on the screen.
Of course, you can use the simple
MouseMove>x,y
wait>1
Lclick
where x,y are the coordinates of the button to click. This method is sometimes tricky to use if the window ever opens in a different screen location than when you wrote the script.
Let's try these methods first, then, if needed, we can look at using WebRecorder (if it is browser based) or at using Image Recognition Library (if the button/window info is not available to us).
Could you post as much of the requested information as possible?
thanks
- Bob Hansen
- Automation Wizard
- Posts: 2475
- Joined: Tue Sep 24, 2002 3:47 am
- Location: Salem, New Hampshire, US
- Contact:
Good suggestions above from SkunkWorks, one more to add:
SetFocus>WindowName* is usually needed before using any mouse/keyboard types of commands to make sure they are being sent to the correct window. Will only need once as long as you don't change focus. You can find many examples in scripts here on the forum
SetFocus>WindowName* is usually needed before using any mouse/keyboard types of commands to make sure they are being sent to the correct window. Will only need once as long as you don't change focus. You can find many examples in scripts here on the forum
Hope this was helpful..................good luck,
Bob
A humble man and PROUD of it!
Bob
A humble man and PROUD of it!