Page 2 of 38

Posted: Sun Aug 12, 2007 12:03 pm
by some1
Dead helpful!

Posted: Mon Sep 17, 2007 3:34 pm
by nynaevelan
Hi All:

I hope this is not a silly formatting question, but what settings do I use to get the SongLength to export in the right format??

Nyn

Posted: Tue Sep 18, 2007 5:59 am
by trixmoto
That depends how you define "right format"! :lol:

Posted: Tue Sep 18, 2007 7:58 am
by nynaevelan
By right format I mean mm:ss, is this possible, now it extracts I am assuming in an integer format??

Nyn

Posted: Tue Sep 18, 2007 12:21 pm
by trixmoto
You could try "SongLengthString" instead - this is formatted by MM so should be fairly sensible.

Posted: Tue Sep 18, 2007 1:17 pm
by nynaevelan
Once again you have made my life easier. Thank you.

Nyn

Posted: Sun Sep 30, 2007 4:50 pm
by trixmoto
New version (1.2) now available to download from my website. Changes include...

- Fixed manually entered path might not be valid
- Added option to support unicode characters

Posted: Tue Oct 02, 2007 12:37 pm
by LordHades
Nevermind :) allready found your advanced report script :) works great

Posted: Mon Oct 08, 2007 3:43 am
by paulmt
I would like to have a "close" available top right of the report so that when viewing online return to the previous page or window can be done by clicking on "close" or "return" etc

Can this be done?
I use these reports on my website and currently open them in a new window, which requires closing the window to return to the previous page or window. I would like to open the report in the same window and have the close option as described.

I'm happy to do the work if you are able to point me in the general direction with a bit of guidence.

Thanks

Posted: Mon Oct 08, 2007 4:21 am
by trixmoto
Can't you just use the back button on the browser? I can add a link which simulates the back button, but it seems a little redundant.

Posted: Mon Oct 08, 2007 11:13 pm
by paulmt
Well you can, I know that, but it's not what I want to do on this occasion.
All I want is a "close" top right of the report to shut down that window.

If you can provide code to add to the script that simulates the back button that would be great - thanks

BTW is this added to the script? I looked for what geberated the MediaMonkey link to get some clue and do this myself, but I couldn't see any link, so assumed this is generated elsewhere??

Thanks again

Posted: Tue Oct 09, 2007 3:29 am
by trixmoto
I'm sorry, I've got myself confused. You want a "close" link to to actually close the window, or to go back a page?

What "MediaMonkey link" are you referring to?

Posted: Wed Oct 10, 2007 9:34 am
by paulmt
trixmoto wrote:I'm sorry, I've got myself confused. You want a "close" link to to actually close the window, or to go back a page?

What "MediaMonkey link" are you referring to?
Sorry, I have got my wires crossed! I was confusing my thoughts between MM standard report and your custom reports. The MM report has a link built in to go to MM website.

Close the active window is what I want. In the form of a hyperlink text style close

Thanks

Posted: Wed Oct 10, 2007 10:56 am
by trixmoto
You could replace line 305...

Code: Select all

Call f.WriteLine("</style></head><body><table cellpadding=4 cellspacing=0><tr align=left><th>")
...with...

Code: Select all

Call f.WriteLine("</style></head><body><a href='javascript:window.close'>Close</a><br><table cellpadding=4 cellspacing=0><tr align=left><th>")
(That's one line still!) I think this should do what you want. :)

Posted: Wed Oct 10, 2007 4:47 pm
by paulmt
trixmoto wrote:You could replace line 305...
Thanks for looking at this and making the above suggestion...
Unfortunately it generates an error as follows...

Image

Followed by
"error happened during script initilization: expected ')'

It seems obvious to me that the string is looking for another ")"
I have tried closing brackets in different places but am unable to clear the error, although I will keep working through it.

I know your juggling lots of new and improved scripts at present, so this is low priority. I am happy to wait until you or someone else may have an idea.

Thanks