<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<DesignDeviceName>Desktop</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>640</PageWidth>
	<PageHeight>480</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<LanguageCode>en</LanguageCode>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<startup>NeoScriptToJS</startup>
	<Components>
		<FunctionList name="Subroutines"/>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="page1">
					<pageenter>

BEGINJS

const button1=document.getElementById(&apos;first&apos;);
const button2=document.getElementById(&apos;second&apos;);

button2.addEventListener(&apos;click&apos;,function(){
button1.click();
});

ENDJS</pageenter>
					<Components>
						<Line id="Line1">
							<left>273px</left>
							<top>80px</top>
							<width>87px</width>
							<height>62px</height>
							<style>stroke:black;stroke-width:1px</style>
							<x1>274</x1>
							<y1>81</y1>
							<x2>359</x2>
							<y2>141</y2>
						</Line>
						<Paragraph id="Paragraph1">
							<left>281px</left>
							<top>143px</top>
							<width>254px</width>
							<height>82px</height>
							<text>if you cut this button and paste to second page than&amp;nbsp;the orange button&amp;nbsp;does not work.</text>
						</Paragraph>
						<PushButton id="first">
							<left>218px</left>
							<top>33px</top>
							<width>177px</width>
							<height>48px</height>
							<caption>click</caption>
							<kind>primary</kind>
							<click>MessageBox &quot;Hello&quot; &quot;It is work &quot; &quot;Ok&quot; &quot;&quot;</click>
						</PushButton>
						<PushButton id="second">
							<left>218px</left>
							<top>344px</top>
							<width>175px</width>
							<height>53px</height>
							<caption>click me!</caption>
							<kind>warning</kind>
						</PushButton>
					</Components>
				</Page>
				<Page id="page2"/>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>640px</width>
							<height>480px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
