[Question] About this Macro Im doing...

01/13/2010 10:18 Crustex#1
Im making a basic simple macro, what I have is here

Quote:
MouseClick, left, 76, 208
Sleep, 100
MouseClick, left, 146, 185
Sleep, 100


MouseClick, left, 76, 162
Sleep, 100
MouseClick, left, 146, 139
Sleep, 100


MouseClick, left, 76, 116
Sleep, 100
MouseClick, left, 146, 93

MouseClick, left, 146, 93
Sleep, 100
What Im simply trying to do, is click on the Bolded then drag too the Italics. I've tried finding how to work with 'MouseClickDrag' but it doesn't move from Point A(Bolded) to Point B(Italics).

Any help would be appriciated :]
01/13/2010 11:25 crystalarc#2
you shouldnt have any problems if you are following the syntax for the function properly.
(MouseClickDrag,"button", x1, y1, x2, y2)

Also try not to set the sleep too small since I personally find that if its too small the macro tends to screw up and sometimes clicks don't register.
so what you probably want is something like this:
Quote:
Sleep, 1000
MouseClickDrag, Left, 76, 208, 146, 185
Sleep, 1000
mouseclickdrag, Left, 76, 162, 146, 93
Sleep, 1000
MouseClickDrag, Left, 76, 116, 146, 93
Sleep, 1000
MouseClick, left, 146, 93
Sleep, 1000
01/13/2010 18:42 Infamy^^#3
Use separate commands for click down, then mouse move.
01/15/2010 06:30 Crustex#4
Thanks Infamy, that's what I wanted to do : D

Also, one more question, how would I have the coordinates work only on a given picture on mabinogi? Like the um, Fossil Macro? I used the same code, though I never detect the picture...
01/16/2010 14:07 annken#5
wow, that's incredible indeed.
01/18/2010 00:36 Crustex#6
Alright, with Infamy's help I was able to get wanted I wanted to do, the only problem is getting it to work in Mabinogi. It's almost exactly the same as the Fossil Macro, so I'm wondering why it doesn't work. Or has this been patched where you are unable to find the tailoring minigame?

Please Help, and here is what I have so far if you would like to take a look at it.