Page 1 of 1

FixTtrailingThe

Posted: Wed Jan 18, 2017 9:44 am
by popsmike
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.

Re: FixTtrailingThe

Posted: Sat Jan 21, 2017 5:56 pm
by PetrCBR
I've converted trixmoto's script using our ConvertVBS2JS script with additional small corrections. Here can be downloaded.

Re: FixTtrailingThe

Posted: Sat Jan 21, 2017 6:46 pm
by stax76
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:

Re: FixTtrailingThe

Posted: Sat Jan 21, 2017 7:03 pm
by PetrCBR
This file should be in MM5/portable folder.

Re: FixTtrailingThe

Posted: Sat Jan 21, 2017 7:28 pm
by stax76
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. :(

Re: FixTtrailingThe

Posted: Sat Jan 21, 2017 7:31 pm
by PetrCBR
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).

Re: FixTtrailingThe

Posted: Sat Jan 21, 2017 7:32 pm
by stax76
-------

Re: FixTtrailingThe

Posted: Sat Jan 21, 2017 7:36 pm
by PetrCBR
I see. I've fixed that (it's because you have no tracks selected) ... download it again from the link i published, please.

Re: FixTtrailingThe

Posted: Sat Jan 21, 2017 7:55 pm
by stax76
thanks for your quick responses, now it's like before no window showing.

Re: FixTtrailingThe

Posted: Sat Jan 21, 2017 8:07 pm
by stax76
nice little nirsoft tool winlister shows it

Image

Re: FixTtrailingThe

Posted: Sat Jan 21, 2017 8:51 pm
by stax76
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

Re: FixTtrailingThe

Posted: Sun Jan 22, 2017 5:54 am
by PetrCBR
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.

Re: FixTtrailingThe

Posted: Sun Jan 22, 2017 6:55 am
by popsmike
Thanks guys, I will certainly give this a try.

Re: FixTtrailingThe

Posted: Wed Feb 01, 2017 8:40 am
by popsmike
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

Re: FixTtrailingThe

Posted: Wed Feb 01, 2017 8:47 am
by PetrCBR
It's just have incorrect name defined in source. Will be fixed in next build.