Page 1 of 2

Re: [Script] WME Chat Resizer and Auto Scroll

PostPosted: Sat Nov 15, 2014 5:21 pm
by ct13
Awesome job with this script! Thanks for putting in the hard work to maximize the usable space in WME.

Re: [Script] WME Chat Resizer and Auto Scroll

PostPosted: Sun Nov 16, 2014 2:29 am
by ct13
The auto-scroll button disappears when in invisible mode. Is there someplace else you can move it?

Re: [Script] WME Chat Resizer and Auto Scroll

PostPosted: Sun Nov 12, 2017 5:07 pm
by laurenthembprd
New version for new WME
v0.2.7

Thanks RickZabel :D
WME Chat Resizer 0.2.7.png
WME Chat Resizer 0.2.7.png (7.54 KiB) Viewed 272 times

[Script] WME Chat Resizer and Auto Scroll

PostPosted: Sat Nov 15, 2014 6:52 am
by rickzabel
WME Chat Resizer and Auto Scroll

https://greasyfork.org/en/scripts/6225-wme-chat-resizer-and-auto-scroll

New version
0.2.3 - I moved around the resizer header so that it is inside the existing header. also added mouse code to copy the Waze header. I shrunk the room title and jumper icons and text down a little bit, I also made the hidden user chats 35px wider. altogether this should look less goofy.

Currently for some and in the near future for the rest, the chat header had gotten to crowded. I think the best solution for everyone was to move the chat resize and auto scroll buttons into their own area. the message window height might be a bit off, but people are not talking at 1am to fill the chat so i will tweak it when I can.

This script has a handful of chat related features
1.) Removes the space on the right of the chat window.
2.) Has buttons to hide or show the user list.
3.) Has buttons to make the list taller or the normal height
4.) Per request there is now a button for a mini chat.
5.) Auto Scrolling of the chat. This can be found on the left of the chat’s text entry box there is a “v” for auto scroll and “-“ for disabled. When enabled it will force the chat to the bottom every 5 seconds.
6.) Auto Scroll’s on/off Status is saved and reapplied next time the map editor is loaded.


Some things you might notice!
To fit in the title bar I had to tweak some things
1.) I had to shrink down the chat room name, and the visible / invisible dropdown.
2.) For those who use chat jumper I also shrunk down “Jump” and the “X”.
3.) For those who use “Chat addon” I chose to put my buttons on the left of the chat addon’s settings icon. Users without chat addon will have an empty space where the settings icon would normally be.
4.) The mini chat buttons are only shown when the user list is shown.

Feedback and suggestions are welcome
Thanks
Rick Zabel

Re: [Script] WME Chat Resizer and Auto Scroll

PostPosted: Sat Nov 15, 2014 11:31 pm
by rickzabel
Thanks!

Re: [Script] WME Chat Resizer and Auto Scroll

PostPosted: Sun Nov 16, 2014 4:59 am
by rickzabel
I moved the auto scroll buttons into their own div so they show up when the editor has chat in invisible mode.

Re: [Script] WME Chat Resizer and Auto Scroll

PostPosted: Mon Nov 17, 2014 1:55 am
by rickzabel
vince1612

After a few hours of testing I do not think that my script is causing the problem. I believe this problem is being caused between the Chat Jumper and Chat Addon scripts. Since each of those scripts adds a jump icon to each user in the userlist who ever loads first seems to win.

To test I disabled all scripts except Chat Addon and Chat Jumper then I added code to each script so I could alternately delay the startup of chat Addon or Chat Jumper by 10 seconds.

I swapped the delay back and forth several times and reloaded the editor several times each way and the results are constant.

If Chat Addon loads first; when clicking in the user list the Chat Jumper buttons don’t show up.

If Chat Jumper loads first; when clicking in the user list the Chat Jumper buttons show up.

Try disabling Chat Addon and see if Jumper is still having issues

Thanks
rick zabel

Re: [Script] WME Chat Resizer and Auto Scroll

PostPosted: Mon Nov 17, 2014 10:26 pm
by rickzabel
sketch wrote:Suggestion: Update the version number and changelog in the OP of this thread if you can.


Thanks
This is the first script i posted anywhere, usually the code i write ends up behind the scene. Do you want the full change log posted or just the last change or the last few changes with the oldest dropping off?

Re: [Script] WME Chat Resizer and Auto Scroll

PostPosted: Mon Nov 24, 2014 7:20 am
by rickzabel
New version
0.2.1

Currently for some and in the near future for the rest, the chat header had gotten to crowded. I think the best solution for everyone was to move the chat resize and auto scroll buttons into their own area. the message window height might be a bit off, but people are not talking at 1am to fill the chat so i will tweak it when I can.

Re: [Script] WME Chat Resizer and Auto Scroll

PostPosted: Mon Nov 24, 2014 4:28 pm
by rickzabel
New version
0.2.2 - now that chat is going this morning i was able to fix the message list heights for all the different views