quote:
Originally posted by .2007
Do i copy it into the script then it will make a interface window
No, you need to create an Interface window in XML.
code:
<Interfaces xmlns="urn:msgplus:interface" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="urn:msgplus:interface PlusInterface.xsd">
<Window Id="SoundTransfer400" Version="1">
<Attributes>
<ShowInTaskbar>false</ShowInTaskbar>
</Attributes>
<TitleBar>
<AllowMinimize>false</AllowMinimize>
<AllowClose>false</AllowClose>
</TitleBar>
<Position Width="200" Height="60"/>
<DialogTmpl>
<BottomBar Style="None">
<LeftControls>
<Control xsi:type="ProgressControl" Id="PrgWait">
<Position Top="5" Width="100" Left="0" Height="10"/>
<Marquee/>
</Control>
</LeftControls>
<RightControls>
<Control xsi:type="ButtonControl" Id="BtnCancel">
<Position Top="0" Width="50" Left="0"/>
<Caption>&Cancel</Caption>
</Control>
</RightControls>
</BottomBar>
</DialogTmpl>
<Elements>
<Element xsi:type="ImageElement" Id="ImgSound">
<Position Top="5" Left="6"/>
<Image><Name>icon-speaker</Name></Image>
</Element>
</Elements>
<Controls>
<Control xsi:type="StaticControl" Id="LblMessage">
<Position Top="5" Width="150" Left="32" Height="20"/>
<Attributes>
<WrapText>true</WrapText>
</Attributes>
<Caption>Please wait...\nThe sound is being sent.</Caption>
</Control>
</Controls>
</Window>
</Interfaces>
Taken right from the scripting documentation