|  |   | 
| (23 intermediate revisions by 4 users not shown) | 
| Line 1: | Line 1: | 
|  | <div id="mainpage">
 |  | This page is purely for testing | 
|  | 
 |  | 
 | 
|  | <div style="font-size:75%; border:none; margin:0; padding:0; color:#000; font-style: italic;">Sure the monkey can do it! Our monkey loves the music!</div> |  | <syntaxhighlight lang="bash"> | 
|  |  | var x = 1; | 
|  |  | </syntaxhighlight> | 
|  | 
 |  | 
 | 
|  | <!--------------------------------Banner across top of page------------------------------>
 |  | [[Image:Example.png]] | 
|  | {| style="width:100%; background:#fcfcfc; margin-top:+.9em; padding:0; margin:0; border:1px solid #ccc;"
 |  | 
|  | |style="width:56%; color:#000"|
 |  | 
|  | 
 |  | 
 | 
|  | {| style="width:400px; border:solid 0px; background:none;"|style="width:325px; text-align:center; whte-space:nowrap; color:#000;"
 |  | <br> | 
|  | |<div style="font-size:200%; border:none; margin:0; padding:0; color:#000;">[[Image:Monkey-Head-65px.png]]  MediaMonkey wiki</div>
 |  | <br> | 
|  | |}
 |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | [[Image:Example.png]] | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  |  | <br> | 
|  | 
 |  | 
 | 
|  | |style="width:11%; font-size:95%; color:#000;"|
 |  | 
|  | * Music Manager
 |  | 
|  | * Player
 |  | 
|  | * Tagger
 |  | 
|  | |style="width:11%; font-size:95%;"|
 |  | 
|  | * Renamer
 |  | 
|  | * Converter
 |  | 
|  | * Portable Devices
 |  | 
|  | |style="width:11%; font-size:95%;" class="plainlinks"|
 |  | 
|  | * CD/DVD Ripper
 |  | 
|  | * CD/DVD Burner
 |  | 
|  | * [http://www.mediamonkey.com/product.htm All features...]
 |  | 
|  | |}<!--
 |  | 
|  | 
 |  | 
 | 
|  |  | This [http://diberri.dyndns.org/wikipedia/html2wiki/index.html html2wiki converter] is very useful. | 
|  | 
 |  | 
 | 
|  | <!------------Strapline immediately below banner---------->
 |  | [[Image:WMP11_m.jpg|center|thumb|150px|Thumb test]] | 
|  | {|style="width:100%; background:none; margin:-.8em 0 -.7em 0;" class="plainlinks"
 |  | 
|  | |style="font-size:95%; padding:10px 0; margin:0px; text-align:left; white-space:nowrap; color:#000;"| 
 |  | 
|  | [[MediaMonkey Help|Help overview]]: [http://www.mediamonkey.com/sw/webhelp/frame/index.html Online Help] '''·''' [http://mediamonkey.com/faq/ Frequently Asked Questions (FAQ)] '''·''' [http://www.mediamonkey.com/forum/ Forum] '''·''' [mailto:support@mediamonkey.com Contact]
 |  | 
|  | |style="font-size:95%; padding:10px 0; margin:0px; text-align: right; white-space:nowrap; color:#000;"| [[Special:Statistics|{{NUMBEROFARTICLES}}]] articles '''·''' [[Special:Allpages|Article Index]]
 |  | 
|  | |}<!--
 |  | 
|  |   |  | 
|  |   |  | 
|  | <!-----------------------Users------------------------>
 |  | 
|  | {|style="border-spacing:8px; margin:0px -8px;"
 |  | 
|  | |class="MainPageBG" style="width:55%; border:1px solid #cef2e0; background:#f5fffa; vertical-align:top; color:#000;"|
 |  | 
|  | {|width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f5fffa;"
 |  | 
|  | ! <h2 style="margin:0; background:#cef2e0; font-size:120%; font-weight:bold; border:1px solid #a3bfb1; text-align:left; color:#000; padding:0.2em 0.4em;">Users</h2>
 |  | 
|  | |-
 |  | 
|  | |style="color:#000;"|
 |  | 
|  | * [[About MediaMonkey]]
 |  | 
|  | * [[Introduction For New Users]]
 |  | 
|  | * [[Introduction To Scripts]]
 |  | 
|  | * [[Introduction To Plugins]]
 |  | 
|  | * [[Tips & Tricks]]
 |  | 
|  | * [[User pages]]
 |  | 
|  | |}<!--
 |  | 
|  |   |  | 
|  | <!------------------------------Developers------------------------------->
 |  | 
|  | |class="MainPageBG" style="width:45%; border:1px solid #cedff2; background:#f5faff; vertical-align:top"|
 |  | 
|  | {| width="100%" cellpadding="2" cellspacing="5" style="vertical-align:top; background:#f5faff;"
 |  | 
|  | ! <h2 style="margin:0; background:#cedff2; font-size:120%; font-weight:bold; border:1px solid #a3b0bf; text-align:left; color:#000; padding:0.2em 0.4em;">Developers</h2>
 |  | 
|  | |- |  | 
|  | |style="color:#000;"| |  | 
|  | * [[Scripting]]
 |  | 
|  | * [[Skinning]]
 |  | 
|  | * [[Localizations]]
 |  | 
|  | * [[Plug-ins]]
 |  | 
|  | * [[Installation Packages]]
 |  | 
|  | * [[Sandbox|Wiki Sandbox]] - for testing wiki syntax, etc.
 |  | 
|  | |}
 |  | 
|  | |}
 |  | 
|  |   |  | 
|  |   |  | 
|  | </div>
 |  | 
|  |   |  | 
|  | [[MMWiki Introduction|Introduction to MediaMonkey Wiki]]
 |  | 
|  |   |  | 
|  | __NOTOC__  __NOEDITSECTION__
 |  | 
|  |   |  | 
|  |   |  | 
|  |   |  | 
|  | '''This page is purely for testing'''
 |  | 
|  | 
 |  | 
 | 
|  | ==[[Main Page]]== |  | ==[[Main Page]]== | 
| Line 81: | Line 38: | 
|  | <big>[[Main Page]]</big> |  | <big>[[Main Page]]</big> | 
|  | 
 |  | 
 | 
|  | {{MethodParameters}}
 |  | ==Numbered list== | 
|  |  | # one | 
|  |  | # two | 
|  |  | # three | 
|  |  | # four | 
|  |  | # five | 
|  | 
 |  | 
 | 
|  | <source lang="csharp">
 |  | ==Bulleted list== | 
|  | // Hello World in Microsoft C# ("C-Sharp").
 |  | ????? | 
|  |  | : a | 
|  |  | : b | 
|  |  | : c | 
|  | 
 |  | 
 | 
|  | using System;
 |  | {{MethodParameters}} | 
|  | 
 |  | 
 | 
|  | class HelloWorld
 |  | 
|  | {
 |  | 
|  |     public static int Main(String[] args)
 |  | 
|  |     {
 |  | 
|  |         Console.WriteLine("Hello, World!");
 |  | 
|  |         return 0;
 |  | 
|  |     }
 |  | 
|  | }
 |  | 
|  | </source>
 |  | 
|  | 
 |  | 
 | 
|  | <source lang="vb">
 |  | 
|  | ' A simple script that swaps the content of Title and Artist fields of selected tracks
 |  | 
|  | 
 |  | 
 | 
|  | Sub SwapArtistTitle
 |  | <div style="float: right; margin-left: 1em; margin-bottom: 0.5em; clear: right; background-color:#F9F9F9; border:1px solid #CCCCCC; font-size:95%; padding:5px;"> | 
|  |   ' Define variables
 |  | <div style="text-align: center;">'''Song title'''</div> | 
|  |   Dim list, itm, i, tmp
 |  | <div><table> | 
|  |   |  | <tr style="background-color: #ddd;"><td>'''Scripting value'''</td><td>[[SDBSongData|Object SongData]] > [[ISDBSongData::Title|Title]]</td></tr> | 
|  |   ' Get list of selected tracks from MediaMonkey
 |  | <tr style="background-color: #f4f4f4;"><td>      ''Value type''</td><td>''String''</td></tr> | 
|  |   Set list = SDB.CurrentSongList 
 |  | <tr style="background-color: #ddd;"><td>'''Database field'''</td><td>[[Songs_table|Table Songs]] > [[Songs_table#SongTitle|SongTitle]]</td></tr> | 
|  |   |  | <tr style="background-color: #f4f4f4;"><td>      ''Field type''</td><td>''String''</td></tr> | 
|  |   ' Process all selected tracks
 |  | <tr style="background-color: #ddd;"><td>'''Tracklist column'''</td><td>"Title"</td></tr> | 
|  |   For i=0To list.count-1
 |  | </table></div> | 
|  |     Set itm =list.Item(i)
 |  | </div> | 
|  |   |  | {{MethodDeclaration|SDBSongData|ISDBSongData|Property Get/Let Title As String}} | 
|  |     'Swap the fields
 |  | 
|  |     tmp = itm.Title
 |  | 
|  |     itm.Title =itm.ArtistName
 |  | 
|  |     If itm.AlbumArtistName =itm.ArtistName Then     'Modify Album Artist as well if is the same as Artist
 |  | 
|  |       itm.AlbumArtistName =tmp
 |  | 
|  |     End If
 |  | 
|  |     itm.ArtistName =tmp
 |  | 
|  |   Next
 |  | 
|  |   |  | 
|  |   'Write all back to DB and update tags
 |  | 
|  |   list.UpdateAll
 |  | 
|  | End Sub
 |  | 
|  | </source> |  |