confirm_yes/confirm_no help

Need some help with that macro you're working on or aren't quite sure how to get your macro to do something? Ask here!

Moderator: MacroQuest Developers

dok
a ghoul
a ghoul
Posts: 127
Joined: Mon Mar 15, 2004 3:38 pm

confirm_yes/confirm_no help

Post by dok » Fri Apr 02, 2004 3:23 am

anyone else having problems with these working correctly with /keypress and /click?

With click, I'm getting it clicking above the correct button, but not all the time as sometimes the window is in a different location, and cascades when multiple are opened.

with keypress, I'm not getting any responce.

Anyone have any suggestions for this? or maybe a different way to press the yes/no button?

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri Apr 02, 2004 4:02 am

/click and /keypress are NOT synonyms.

/keypress is for bindable keys.

/click is for mouse clicks.

dok
a ghoul
a ghoul
Posts: 127
Joined: Mon Mar 15, 2004 3:38 pm

Post by dok » Fri Apr 02, 2004 11:54 am

yes, but according to...
http://macroquest2.com/phpBB2/viewtopic ... ht=confirm
confirm_yes and confirm_no work with keypress. (4 up from the bottom). Also, according to the manual.

According to the locations.txt confirm_yes and confirm_no are valid. I assume thats where /click is getting the location to click. The yes/no buttons are setup correctly in the locations.txt compareing the xml file, and other values that do work.

Anyway, confirm_no/confirm_yes should work with one, if not both of those, no? Anyone able to get this to work or not before it gets reported as bugged?

Doesn't take much to test it. attempt to drop something, then type in /keypress confirm_no, or /click left confirm_no (or is it /click left confirm no)

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri Apr 02, 2004 4:24 pm

confirm_yes is a key press if you use /keypress

confirm_yes is a mouse click if you use /click

Whether any or either work on specific dialog, depends on the dialog. In other words, you can't use /keypress for the drop confirmation dialog because "y", the default key bind for confirm_yes, doesn't work on that dialog.

The fact that they have the same name is a coincidence.

daerck
a ghoul
a ghoul
Posts: 134
Joined: Mon Jan 12, 2004 8:44 pm

Post by daerck » Fri Apr 02, 2004 4:52 pm

Whether any or either work on specific dialog, depends on the dialog. In other words, you can't use /keypress for the drop confirmation dialog because "y", the default key bind for confirm_yes, doesn't work on that dialog.

The fact that they have the same name is a coincidence.
Makes no sense to me.
There is no native default EQ bind for confirm_yes.
The reason why a custom bind does not work may be due to the fact that the function is broken. Maybe?

Code: Select all

/notify ConfirmationDialogBox Yes_Button leftmouseup
doesn't work either, and it definatly should.

User avatar
dont_know_at_all
Developer
Developer
Posts: 5450
Joined: Sun Dec 01, 2002 4:15 am
Location: Florida, USA
Contact:

Post by dont_know_at_all » Fri Apr 02, 2004 5:57 pm

No, it's not broken.

And it's:

Code: Select all

/notify ConfirmationDialogBox Yes_Button leftmouse

daerck
a ghoul
a ghoul
Posts: 134
Joined: Mon Jan 12, 2004 8:44 pm

Post by daerck » Fri Apr 02, 2004 10:08 pm

Thanks for the correction, that does work.
But it doesn't explain why the others (/keypress confirm_yes and a /bind) don't work. Shouldn't they all do the same on any Confirmation Dialog?