FixTtrailingThe

Report bugs & feature requests for MediaMonkey 5 and learn about the newest builds.

Moderator: Gurus

popsmike
Posts: 174
Joined: Thu Oct 05, 2006 11:02 am
Location: Hull,UK

FixTtrailingThe

Post by popsmike » Wed Jan 18, 2017 9:44 am

Way back in '07 Trixmoto created a small Addon called "FixTrailingThe", I was wondering if he or anyone had thought of converting it to V5.

I think this is one to add as it is one I think quite popular and it would be missed.
Windows 10 Pro x64 2TB USB3 External Hdd with Quad Core 3600Mhz CPU and 10GB Ram
MM 4.1.21.1871 Portable on External Hdd
TESTING MM 5.0.0.2113
Numerous Addons
User Since 2006 (Lifetime License) since 2012

PetrCBR
Posts: 1640
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: FixTtrailingThe

Post by PetrCBR » Sat Jan 21, 2017 5:56 pm

I've converted trixmoto's script using our ConvertVBS2JS script with additional small corrections. Here can be downloaded.
Last edited by PetrCBR on Sat Jan 21, 2017 7:09 pm, edited 1 time in total.

stax76
Posts: 176
Joined: Sun Mar 12, 2006 6:45 am

Re: FixTtrailingThe

Post by stax76 » Sat Jan 21, 2017 6:46 pm

dialog does not work on my system, where exactly do I find persistent.json, according to Windows search there is no such file on C:

PetrCBR
Posts: 1640
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: FixTtrailingThe

Post by PetrCBR » Sat Jan 21, 2017 7:03 pm

This file should be in MM5/portable folder.

stax76
Posts: 176
Joined: Sun Mar 12, 2006 6:45 am

Re: FixTtrailingThe

Post by stax76 » Sat Jan 21, 2017 7:28 pm

found it with a tool called UltraSearch, Windows search don't find it...

I didn't expect a settings file under C:\Program Files (x86) since it's typically write protected.

the file does however not contain 'Trailing', I also tried to extend to second screen, window is gone. :(

PetrCBR
Posts: 1640
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: FixTtrailingThe

Post by PetrCBR » Sat Jan 21, 2017 7:31 pm

By default, MM5 is not installed to Program Files folder (should be C:\MediaMonkey 5). In the script window name is 'TheWindow' (check that in persistent.json).

stax76
Posts: 176
Joined: Sun Mar 12, 2006 6:45 am

Re: FixTtrailingThe

Post by stax76 » Sat Jan 21, 2017 7:32 pm

-------
Last edited by stax76 on Sat Jan 21, 2017 7:53 pm, edited 1 time in total.

PetrCBR
Posts: 1640
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: FixTtrailingThe

Post by PetrCBR » Sat Jan 21, 2017 7:36 pm

I see. I've fixed that (it's because you have no tracks selected) ... download it again from the link i published, please.

stax76
Posts: 176
Joined: Sun Mar 12, 2006 6:45 am

Re: FixTtrailingThe

Post by stax76 » Sat Jan 21, 2017 7:55 pm

thanks for your quick responses, now it's like before no window showing.

stax76
Posts: 176
Joined: Sun Mar 12, 2006 6:45 am

Re: FixTtrailingThe

Post by stax76 » Sat Jan 21, 2017 8:07 pm

nice little nirsoft tool winlister shows it

Image

stax76
Posts: 176
Joined: Sun Mar 12, 2006 6:45 am

Re: FixTtrailingThe

Post by stax76 » Sat Jan 21, 2017 8:51 pm

so far 'Fix Ttrailing The' and properties window get lost off screen, winlister has a feature called center which brings the windows back

it's probably DPI/4K related. :D

PetrCBR
Posts: 1640
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: FixTtrailingThe

Post by PetrCBR » Sun Jan 22, 2017 5:54 am

Thanks for a tip to good window app (i've used MS Spy++ for window inspection). When you remove persistent.json (or remove just 'TheWindow' settings from it), based on this code:

Form.bounds.setBounds(50, 50, 500, 400);

it should show that window on 50,50 coords.

popsmike
Posts: 174
Joined: Thu Oct 05, 2006 11:02 am
Location: Hull,UK

Re: FixTtrailingThe

Post by popsmike » Sun Jan 22, 2017 6:55 am

Thanks guys, I will certainly give this a try.
Windows 10 Pro x64 2TB USB3 External Hdd with Quad Core 3600Mhz CPU and 10GB Ram
MM 4.1.21.1871 Portable on External Hdd
TESTING MM 5.0.0.2113
Numerous Addons
User Since 2006 (Lifetime License) since 2012

popsmike
Posts: 174
Joined: Thu Oct 05, 2006 11:02 am
Location: Hull,UK

Re: FixTtrailingThe

Post by popsmike » Wed Feb 01, 2017 8:40 am

I never noticed in previous versions of MM5 but in 2060 the menu bar Button's Hover doesn't seem to have a name.

Image
Windows 10 Pro x64 2TB USB3 External Hdd with Quad Core 3600Mhz CPU and 10GB Ram
MM 4.1.21.1871 Portable on External Hdd
TESTING MM 5.0.0.2113
Numerous Addons
User Since 2006 (Lifetime License) since 2012

PetrCBR
Posts: 1640
Joined: Tue Mar 07, 2006 5:31 pm
Location: Czech
Contact:

Re: FixTtrailingThe

Post by PetrCBR » Wed Feb 01, 2017 8:47 am

It's just have incorrect name defined in source. Will be fixed in next build.

Post Reply