[Script] WME Chat Resizer and Auto Scroll

Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Moderators: Unholy, bextein, Glodenox, JustinS83

Forum rules
Discussion for the unofficial, community-developed addons, extensions and scripts built for the Waze Map Editor.

DO NOT START a new thread unless it is about a new idea. Keep discussion of existing tools within the main thread for that tool.

The official index of these tools is the Community Plugins, Extensions and Tools wiki page.

Re: [Script] WME Chat Resizer and Auto Scroll

Postby ct13 » Sat Nov 15, 2014 5:21 pm

Awesome job with this script! Thanks for putting in the hard work to maximize the usable space in WME.
ct13
US Waze Champs
US Waze Champs
 
Posts: 429
Joined: Sun Mar 25, 2012 9:59 pm
Location: Virginia
Has thanked: 163 times
Been thanked: 276 times

Re: [Script] WME Chat Resizer and Auto Scroll

Postby ct13 » Sun Nov 16, 2014 2:29 am

The auto-scroll button disappears when in invisible mode. Is there someplace else you can move it?
ct13
US Waze Champs
US Waze Champs
 
Posts: 429
Joined: Sun Mar 25, 2012 9:59 pm
Location: Virginia
Has thanked: 163 times
Been thanked: 276 times

Re: [Script] WME Chat Resizer and Auto Scroll

Postby laurenthembprd » Sun Nov 12, 2017 5:07 pm

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 131 times
laurenthembprd
Beta tester
Beta tester
 
Posts: 439
Joined: Sat Oct 11, 2014 5:23 am
Location: Pontivy / Loudéac - Bretagne - France
Has thanked: 574 times
Been thanked: 122 times

[Script] WME Chat Resizer and Auto Scroll

Postby rickzabel » Sat Nov 15, 2014 6:52 am

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
Last edited by rickzabel on Thu Nov 27, 2014 6:28 am, edited 3 times in total.
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

Re: [Script] WME Chat Resizer and Auto Scroll

Postby rickzabel » Sat Nov 15, 2014 11:31 pm

Thanks!
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

Re: [Script] WME Chat Resizer and Auto Scroll

Postby rickzabel » Sun Nov 16, 2014 4:59 am

I moved the auto scroll buttons into their own div so they show up when the editor has chat in invisible mode.
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

Re: [Script] WME Chat Resizer and Auto Scroll

Postby rickzabel » Mon Nov 17, 2014 1:55 am

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
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

Re: [Script] WME Chat Resizer and Auto Scroll

Postby rickzabel » Mon Nov 17, 2014 10:26 pm

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?
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

Re: [Script] WME Chat Resizer and Auto Scroll

Postby rickzabel » Mon Nov 24, 2014 7:20 am

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.
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

Re: [Script] WME Chat Resizer and Auto Scroll

Postby rickzabel » Mon Nov 24, 2014 4:28 pm

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
rickzabel
Map Editor - level 3
Map Editor - level 3
 
Posts: 222
Joined: Sat Sep 20, 2014 1:05 am
Location: Aurora / Downers Grove Illinois
Has thanked: 0 time
Been thanked: 277 times

Next

Return to Addons, Extensions, and Scripts

Who is online

Users browsing this forum: asantehe, jm6087