What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Messenger Plus! for Live Messenger » Scripting » [Solved] Xml windows with Frame

[Solved] Xml windows with Frame
Author: Message:
Matti
Elite Member
*****

Avatar
Script Developer and Helper

Posts: 1646
Reputation: 39
32 / Male / Flag
Joined: Apr 2004
RE: [Question] Xml windows with Frame
In your XML, you can use something like this:
code:
<Control xsi:type="BrowserControl" Id="Nav">
   <Position Left="5" Top="5" Width="200" Height="150"/>
   <!-- These are some extra attributes. You don't need them to make it work, but it's just to show you how you should put them in the XML. Take a look at the scripting documentation! -->
   <Attributes>
      <HasBorder>true</HasBorder>
      <AllowFindText>true</AllowFindText>
      <AllowPrint>true</AllowPrint>
   </Attributes>
</Control>
where Nav is the desired control ID, and use the following JScript to make it do something useful:
code:
var BrowserInterface = PlusWnd.Browser_GetInterface("Nav");
BrowserInterface.Navigate2("http://www.google.com/");

or shorter:
code:
PlusWnd.Browser_GetInterface("Nav").Navigate2("http://www.google.com/");
where PlusWnd is the PlusWnd object containing the Nav browser control.

For more information about what you can do with this BrowserInterface object, go to the MSDN InternetExplorer Object reference.

ALTHOUGH I HIGHLY RECOMMEND YOU TO TRY FIRST BEFORE ASKING, AS TRYING SOMETHING IS THE ONLY WAY TO LEARN IT!!!

This post was edited on 04-24-2008 at 04:42 PM by Matti.
Plus! Script Developer | Plus! Beta Tester | Creator of Countdown Live | Co-developer of Screenshot Sender 5

Found my post useful? Rate me!
04-24-2008 04:33 PM
Profile E-Mail PM Web Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[Solved] Xml windows with Frame - by Tiller on 04-24-2008 at 02:54 PM
RE: [Question] Xml windows with Frame - by MeEtc on 04-24-2008 at 03:06 PM
RE: [Question] Xml windows with Frame - by Tiller on 04-24-2008 at 03:55 PM
RE: [Question] Xml windows with Frame - by matty on 04-24-2008 at 03:58 PM
RE: [Question] Xml windows with Frame - by Tiller on 04-24-2008 at 04:07 PM
RE: [Question] Xml windows with Frame - by matty on 04-24-2008 at 04:20 PM
RE: [Question] Xml windows with Frame - by Tiller on 04-24-2008 at 04:27 PM
RE: [Question] Xml windows with Frame - by matty on 04-24-2008 at 04:29 PM
RE: [Question] Xml windows with Frame - by Matti on 04-24-2008 at 04:33 PM
RE: [Question] Xml windows with Frame - by Tiller on 04-24-2008 at 04:46 PM
RE: [Solved] Xml windows with Frame - by MeEtc on 04-24-2008 at 07:49 PM
RE: [Solved] Xml windows with Frame - by Tiller on 04-25-2008 at 05:44 PM
RE: [Question] Xml windows with Frame - by roflmao456 on 04-26-2008 at 12:27 AM
RE: [Question] Xml windows with Frame - by Tiller on 04-26-2008 at 07:32 AM
RE: [Question] Xml windows with Frame - by felipEx on 04-26-2008 at 10:13 AM
RE: [Question] Xml windows with Frame - by Tiller on 04-26-2008 at 10:42 AM
RE: [Solved] Xml windows with Frame - by Matti on 04-26-2008 at 11:40 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On