by agapeincognito » Fri Aug 12, 2005 2:27 pm
Please excuse the length of this, but if you take a moment to read it through, the answer is probably pretty simple for most of you...
I have been going through the sample scripts, posts here, and the Online Script Reference, but I'm having the hardest time figuring the following out! I do a lot of advanced J and VB scripting in almost every area EXCEPT database connectivity - my weakest area.
Basically, for initial learning for more advanced things to come, I just want to add a menu item in MM, which displays a simple dialog as follows:
- Header panel (with text)
- Web Control (with html - see below)
- Footer panel (with buttons)
I can do all of that - it is the Web Control contents I have a problem with. I want to write a line in the control for each song (track) entry in the database that includes the following:
Album - Artist - Track # - Track
I can't for the life of me figure out how to do it. Following the examples in other scripts, I think I know how to do it for Selected Tracks (i.e., selected in the main window), but I want to pull the entire DB list.
So, can someone provide me the syntax for this? I probably need to know both the connection syntax and the actual doc.write statement.
I think once I get this, the rest should be a lot easier to learn on my own...
Thanks!
Please excuse the length of this, but if you take a moment to read it through, the answer is probably pretty simple for most of you...
I have been going through the sample scripts, posts here, and the Online Script Reference, but I'm having the hardest time figuring the following out! I do a lot of advanced J and VB scripting in almost every area EXCEPT database connectivity - my weakest area.
Basically, for initial learning for more advanced things to come, I just want to add a menu item in MM, which displays a simple dialog as follows:
- Header panel (with text)
- Web Control (with html - see below)
- Footer panel (with buttons)
I can do all of that - it is the Web Control [i][b]contents[/b][/i] I have a problem with. I want to write a line in the control for each song (track) entry in the database that includes the following:
[color=darkred]Album - Artist - Track # - Track[/color]
I can't for the life of me figure out how to do it. Following the examples in other scripts, I think I know how to do it for Selected Tracks (i.e., selected in the main window), but I want to pull the entire DB list.
So, can someone provide me the syntax for this? I probably need to know both the connection syntax and the actual doc.write statement.
I think once I get this, the rest should be a lot easier to learn on my own...
Thanks!