<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.mediamonkey.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Sample_Internal_Webbrowser_script</id>
	<title>Sample Internal Webbrowser script - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://www.mediamonkey.com/wiki/index.php?action=history&amp;feed=atom&amp;title=Sample_Internal_Webbrowser_script"/>
	<link rel="alternate" type="text/html" href="https://www.mediamonkey.com/wiki/index.php?title=Sample_Internal_Webbrowser_script&amp;action=history"/>
	<updated>2026-05-07T10:13:21Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.41.4</generator>
	<entry>
		<id>https://www.mediamonkey.com/wiki/index.php?title=Sample_Internal_Webbrowser_script&amp;diff=2594&amp;oldid=prev</id>
		<title>Steegy at 20:18, 7 May 2007</title>
		<link rel="alternate" type="text/html" href="https://www.mediamonkey.com/wiki/index.php?title=Sample_Internal_Webbrowser_script&amp;diff=2594&amp;oldid=prev"/>
		<updated>2007-05-07T20:18:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;source lang=&amp;quot;vb&amp;quot;&amp;gt;&lt;br /&gt;
&amp;#039; Sample Internal Webbrowser script&lt;br /&gt;
&lt;br /&gt;
&amp;#039; This auto-script uses the internal webbrowser to show a web page when a custom node is clicked.&lt;br /&gt;
&amp;#039; The internal webbrowser control is only visible when the node&amp;#039;s OnNodeFocused function is correctly implemented.&lt;br /&gt;
&amp;#039; The webbrowser is displayed where the tracks listing is normally located.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sub OnStartup &lt;br /&gt;
  Dim Tree : Set Tree = SDB.MainTree &lt;br /&gt;
&lt;br /&gt;
  Dim Node : Set Node = Tree.CreateNode &lt;br /&gt;
  Node.Caption = &amp;quot;MediaMonkey Website&amp;quot; &lt;br /&gt;
  Node.IconIndex = 0 &lt;br /&gt;
  Script.RegisterEvent Node, &amp;quot;OnNodeFocused&amp;quot;, &amp;quot;NodeFocus&amp;quot; &lt;br /&gt;
  Script.RegisterEvent Tree.Node_Artist, &amp;quot;OnNodeFocused&amp;quot;, &amp;quot;NodeFocus&amp;quot; &lt;br /&gt;
&lt;br /&gt;
  Tree.AddNode Tree.Node_Artist, Node, 1     &amp;#039; Insert our node below the Artist node &lt;br /&gt;
  Node.HasChildren = False &lt;br /&gt;
End Sub &lt;br /&gt;
&lt;br /&gt;
Function NodeFocus(Node) &lt;br /&gt;
  NodeFocus = 2 &lt;br /&gt;
  SDB.WebControl.Navigate &amp;quot;http://www.mediamonkey.com&amp;quot; &lt;br /&gt;
End Function&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Steegy</name></author>
	</entry>
</feed>