EQ2Interface

EQ2Interface (https://www.eq2interface.com/forums/index.php)
-   Request (https://www.eq2interface.com/forums/forumdisplay.php?f=25)
-   -   Accept on Enter for all "Accept Item" windows (https://www.eq2interface.com/forums/showthread.php?t=18174)

Sigrdrifa 01-23-2016 07:18 PM

Accept on Enter for all "Accept Item" windows
 
There are a number of popup windows that appear after, say, transmuting an item, or clicking a Thalumbra Umbrite Chest, where the user is forced to move the mouse and click an "Accept" button to put the loot in inventory.

I've been looking at my UI files, but I don't see which file(s) are involved. Would this be something that you do with an "OnEnter" event?

Darqwood 01-23-2016 07:54 PM

That's the RewardPack popup, and you may want to experiment with IsDefaultButton="true" on the various accept and decline buttons to make them respond to the Enter key. I haven't fooled with the loot reward window so no first-hand experience there.


.

Sigrdrifa 01-24-2016 11:52 AM

Thanks for the tip! I'll try messing with it!

Sigrdrifa 01-29-2016 02:11 PM

Quote:

Originally Posted by Darqwood (Post 106365)
That's the RewardPack popup, and you may want to experiment with IsDefaultButton="true" on the various accept and decline buttons to make them respond to the Enter key. I haven't fooled with the loot reward window so no first-hand experience there.


.

That totally worked. Thank you very much!

Accredo 01-30-2016 11:46 AM

Such a useful feature
 
Quote:

Originally Posted by Sigrdrifa (Post 106376)
That totally worked. Thank you very much!

Works great on my end. Nice little feature with a big result.

Nice work Sigrdrifa, thanks.

Thanks Darq, you're always so helpful and accommodating with people. Will you be offering this as an option in your Unified/Notify versions?

Accredo

Sigrdrifa 01-30-2016 04:08 PM

I'm still trying to find the "OK" button for when you have selected an item to transmute, when it asks you "Are you sure you want to transmute {itemname}?"

I tried eq2ui_tradeskills_transmuting.xml but no joy.

Drumstix42 01-31-2016 01:59 AM

Been so long I don't remember, but try eq2ui_popup_rewardpack.xml

I think I had it in my UI, but maybe that was just the quest accept window :confused:

Sigrdrifa 01-31-2016 02:55 PM

1 Attachment(s)
Quote:

Originally Posted by Drumstix42 (Post 106382)
Been so long I don't remember, but try eq2ui_popup_rewardpack.xml

I have all the "yes, do it" type buttons in eq2ui_popup_rewardpack.xml set to be the default action. This works with accepting loot, accepting quests, accepting unpacked Dirt Encrusted Keys, accepting loot from the chests unlocked by the unpacked keys.

But it doesn't seem to affect the transmutation pop-up:

Attachment 8302

Win10 is probably my least-favorite-ever version of Windows, and the configuration of search results is not working well for me. I tried looking for the word "transmute". I find /UI/Default/eq2ui_tradeskills_transmuting.xml and a bunch of EQ2Map files. Adding IsDefaultButton="true" to this file's Transmute Button appears to have no effect, and when I look in the UIBuilder, this isn't a screen we're actually using anymore.

No search I've tried returns the text "Are you sure" in any of the UI files.

At the moment, I am experimenting with:
  • eq2ui_hud_selection
  • eq2ui_hud_choice
  • eq2ui_mainhud_replydialog

Sigrdrifa 01-31-2016 06:45 PM

It looks as if it's eq2ui_hud_choice.xml that controls the Transmute buttons. I have it working!

Darqwood 02-02-2016 11:13 PM

Quote:

Originally Posted by Accredo (Post 106380)
Works great on my end. Nice little feature with a big result.

Nice work Sigrdrifa, thanks.

Thanks Darq, you're always so helpful and accommodating with people. Will you be offering this as an option in your Unified/Notify versions?

Accredo


It's a good feature to be sure, but no need for me to duplicate Sigrdrifa's work. Just drop her windows into your custom folder and everything should work just fine. DarqUI doesn't modify any of these components.


.

Faelen 02-08-2016 06:41 AM

Sigrdrifa, how does the accept on enter work for NBG rolls? if at all?

Sigrdrifa 02-16-2016 04:50 PM

Quote:

Originally Posted by Faelen (Post 106404)
Sigrdrifa, how does the accept on enter work for NBG rolls? if at all?

The only place I find "Greed" is in eq2ui_inventory_loot.xml, which I did not change.

My base UI is Profit, which has an include file, _ProfitUI_Settings_LootOptions.txt, which makes "Greed" the default if you hit "Enter" (I didn't track down which file calls the include):

Code:

<?xml version="1.0" encoding="utf-8"?>
<Page Name="LootOptions">
        <Text Name="AutoDeclineLoot">false</Text>
        <Text Name="NBGGreedIsDefaultButton">true</Text>
</Page>



All times are GMT -5. The time now is 10:42 AM.

vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI