Page 1 of 1
shift+click
Posted: Sun Aug 23, 2009 1:00 pm
by j_schlott
is there code to shift+mouseclick instead of a regular mouseclick
Code: Select all
<waypoints>
<!-- # 1 --><waypoint x="-27799" z="-4163" type="RUN">
player:rest(.4);
player:mouseclickL(425, 270, 825, 582); <!-- Blackboard -->
player:mouseclickL(425, 270, 825, 582); <!-- Blackboard -->
player:rest(.4);
having problems targetting the Bulletin board when theres alot of people around
tried to use scan option, which works it find any lil part of the board thats showing and clicks it, but that option seems slow to me
Re: shift+click
Posted: Sun Aug 23, 2009 1:27 pm
by Administrator
Code: Select all
player:rest(0.4);
keyboardHold(key.VK_SHIFT);
player:mouseclickL(425, 270, 825, 582);
player:mouseclickL(425, 270, 825, 582);
keyboardRelease(key.VK_SHIFT);
player:rest(0.4);
Re: shift+click
Posted: Sun Aug 23, 2009 1:55 pm
by j_schlott
THANKS!
that was quick =P
Re: shift+click
Posted: Sun Aug 23, 2009 2:43 pm
by j_schlott
another problem, along the same lines
i made a check in my macro waypoint file so after certain # of monsters, it would use my recall, wait 20 seconds then load a repair path
the repair path calls window to foregroung then interacts with a npc, i have mouseclicks set to hit the repair button, but i want to shiftclick the herb/potion icon in the merchant to open the splitstack window and buy a stack of 99
but for some reason it wont open the split stack window, it just selects the herb/potion
Code: Select all
<!-- # 4 --><waypoint x="-29462" z="-17014">
showWindow(getWin(), sw.show);
player:rest(2)
player:target_NPC("Tamo Punz");
player:rest(1)
player:mouseclickL(150, 220, 825, 582); <!-- merchant -->
player:rest(.4)
player:mouseclickL(250, 380, 825, 582); <!-- repair -->
player:rest(.4)
keyboardHold(key.VK_SHIFT);
player:rest(1)
player:mouseclickL(40, 180, 825, 582); <!-- herbs -->
player:rest(1)
keyboardRelease(key.VK_SHIFT);
player:rest(1)
keyboardPress(key.VK_9);
player:rest(.1)
keyboardPress(key.VK_9);
player:rest(.4)
player:mouseclickL(150, 280, 825, 582); <!-- buy -->
</waypoint>
Re: shift+click
Posted: Sun Aug 23, 2009 3:37 pm
by Administrator
Looks like it's being caused by RoM's input methods. It would require modification of MicroMacro (which is being worked on right now) to get this to work for you. Instead, you can just use a macro.
I believe this should work:
Code: Select all
StoreBuyItem(1, 99); -- Buy 99 of item at slot 1
Assign it to a hotkey, then just use keyboardPress() to press the hotkey.
Re: shift+click
Posted: Sun Aug 23, 2009 3:55 pm
by j_schlott
ill try that out thanks again!!
now who do i make the check out to =P
Re: shift+click
Posted: Wed Aug 26, 2009 11:35 am
by transient999
Is this cause by my script or it is a real technical reason that will get fix later?
Thanks
Re: shift+click
Posted: Wed Aug 26, 2009 11:45 am
by d003232
transient999 wrote:Is this cause by my script or it is a real technical reason that will get fix later?
Thanks
Just do whats written in the message.

Then you wont get that warning.
Re: shift+click
Posted: Wed Aug 26, 2009 2:47 pm
by transient999
d003232 wrote:transient999 wrote:Is this cause by my script or it is a real technical reason that will get fix later?
Thanks
Just do whats written in the message.

Then you wont get that warning.
Ah got it. Thanks
It's nice to be able to sip my tea while my dailies are getting done
