<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ko">
	<id>https://devcafe.co.kr/w/index.php?action=history&amp;feed=atom&amp;title=%EC%98%A4%ED%86%A0%EC%9E%87_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%EC%83%98%ED%94%8C</id>
	<title>오토잇 스크립트 샘플 - 편집 역사</title>
	<link rel="self" type="application/atom+xml" href="https://devcafe.co.kr/w/index.php?action=history&amp;feed=atom&amp;title=%EC%98%A4%ED%86%A0%EC%9E%87_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%EC%83%98%ED%94%8C"/>
	<link rel="alternate" type="text/html" href="https://devcafe.co.kr/w/index.php?title=%EC%98%A4%ED%86%A0%EC%9E%87_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%EC%83%98%ED%94%8C&amp;action=history"/>
	<updated>2026-05-19T15:06:56Z</updated>
	<subtitle>이 문서의 편집 역사</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>https://devcafe.co.kr/w/index.php?title=%EC%98%A4%ED%86%A0%EC%9E%87_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%EC%83%98%ED%94%8C&amp;diff=1340&amp;oldid=prev</id>
		<title>2025년 5월 19일 (월) 21:30에 Devcafe님의 편집</title>
		<link rel="alternate" type="text/html" href="https://devcafe.co.kr/w/index.php?title=%EC%98%A4%ED%86%A0%EC%9E%87_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%EC%83%98%ED%94%8C&amp;diff=1340&amp;oldid=prev"/>
		<updated>2025-05-19T21:30:40Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2025년 5월 20일 (화) 06:30 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l641&quot;&gt;641번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;641번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;RunAsWait($sUserName, @ComputerName, $sPassword, 0, @ComSpec &amp;amp; &amp;quot; /c &amp;quot; &amp;amp; &amp;#039;netsh  interface ipv4 set subinterface&amp;#039;, &amp;quot;&amp;quot;, @SW_HIDE)&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;RunAsWait($sUserName, @ComputerName, $sPassword, 0, @ComSpec &amp;amp; &amp;quot; /c &amp;quot; &amp;amp; &amp;#039;netsh  interface ipv4 set subinterface&amp;#039;, &amp;quot;&amp;quot;, @SW_HIDE)&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[category:autoit]]&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Devcafe</name></author>
	</entry>
	<entry>
		<id>https://devcafe.co.kr/w/index.php?title=%EC%98%A4%ED%86%A0%EC%9E%87_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%EC%83%98%ED%94%8C&amp;diff=1179&amp;oldid=prev</id>
		<title>Devcafe: /* Active Window Title, Class, Size 조회 */</title>
		<link rel="alternate" type="text/html" href="https://devcafe.co.kr/w/index.php?title=%EC%98%A4%ED%86%A0%EC%9E%87_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%EC%83%98%ED%94%8C&amp;diff=1179&amp;oldid=prev"/>
		<updated>2024-11-30T05:40:19Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Active Window Title, Class, Size 조회&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024년 11월 30일 (토) 14:40 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l369&quot;&gt;369번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;369번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===[[Active Window Title, Class, Size 조회]]===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===[[Active Window Title, Class, Size 조회]]===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-deleted&quot;&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;{{:Active Window Title, Class, Size 조회}}&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Launch Local Application and Autofill Password ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Launch Local Application and Autofill Password ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Devcafe</name></author>
	</entry>
	<entry>
		<id>https://devcafe.co.kr/w/index.php?title=%EC%98%A4%ED%86%A0%EC%9E%87_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%EC%83%98%ED%94%8C&amp;diff=1177&amp;oldid=prev</id>
		<title>Devcafe: /* Check Active Window Title, Class, Size */</title>
		<link rel="alternate" type="text/html" href="https://devcafe.co.kr/w/index.php?title=%EC%98%A4%ED%86%A0%EC%9E%87_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%EC%83%98%ED%94%8C&amp;diff=1177&amp;oldid=prev"/>
		<updated>2024-11-30T05:39:03Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Check Active Window Title, Class, Size&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ko&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← 이전 판&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;2024년 11월 30일 (토) 14:39 판&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l368&quot;&gt;368번째 줄:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;368번째 줄:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;/source&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Check &lt;/del&gt;Active Window Title, Class, Size &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;===&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;[[&lt;/ins&gt;Active Window Title, Class, Size &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;조회&lt;/ins&gt;]]===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;source lang=autoit&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#include &amp;lt;WinAPI.au3&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;#include &amp;lt;MsgBoxConstants.au3&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Sleep(500)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;CheckWinSize()&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Func CheckWinSize()&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   Local $hwnd= WinGetHandle(&quot;[ACTIVE]&quot;)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   Local $aClientSize = WinGetClientSize($hWnd)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   ;MsgBox($MB_SYSTEMMODAL, &quot;&quot;, &quot;Width: &quot; &amp;amp; $aClientSize[0] &amp;amp; @CRLF &amp;amp; &quot;Height: &quot; &amp;amp; $aClientSize[1])&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   if $aClientSize[0]&amp;lt;280 then&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	  ;MsgBox($MB_SYSTEMMODAL, &quot;&quot;, &quot;Wrong Password. Width: &quot; &amp;amp; $aClientSize[0] &amp;amp; @CRLF &amp;amp; &quot;Height: &quot; &amp;amp; $aClientSize[1])&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	  MsgBox($MB_SYSTEMMODAL, &quot;&quot;, &quot;Wrong Password. Please close all XCA windows and contact system admin!&quot;)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	  ;WinClose($hWnd)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   Else&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	  ;MsgBox($MB_SYSTEMMODAL, &quot;&quot;, &quot;Right Password. Width: &quot; &amp;amp; $aClientSize[0] &amp;amp; @CRLF &amp;amp; &quot;Height: &quot; &amp;amp; $aClientSize[1])&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   EndIf&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;EndFunc   ;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Func CheckWinClass()&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   Local $hwnd= WinGetHandle(&quot;[ACTIVE&lt;/del&gt;]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   if $hwnd = 0x0019081 then&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	  MsgBox(4096, &quot;Password Correct&quot;, &quot;Password is correct!&quot; &amp;amp; $hwnd)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	  ;MsgBox(4096, &quot;Get ClassName&quot;, &quot;ClassName of &quot; &amp;amp; $hwnd &amp;amp; &quot;:&quot; &amp;amp; _WinAPI_GetClassName($hwnd))&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   Else&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	  MsgBox(4096, &quot;Password Wrong&quot;, &quot;Password is wrong! Please close all XCA window and contact system admin&quot; &amp;amp; $hwnd)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   EndIf&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;EndFunc   ;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Func CheckWinTitle()&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    ; Retrieve the window title of the active window.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    Local $sText = WinGetTitle(&quot;[ACTIVE&lt;/del&gt;]&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   if StringInStr ($sText, &quot;Key management&quot;) AND StringInStr ($sText, &quot;X Certificate&quot;) Then&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	  MsgBox($MB_SYSTEMMODAL, &quot;&quot;, &quot;Wrong Password, please close all Windows and contact Thycotic System Admin!&quot;)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    ; Display the window title.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   else&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;	  MsgBox($MB_SYSTEMMODAL, &quot;&quot;, $sText+&quot;is correct!&quot;)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;   EndIf&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;EndFunc   ;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;Func _ThrowError($txt, $exit &lt;/del&gt;= &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0, $ret &lt;/del&gt;= &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&quot;&quot;, $err &lt;/del&gt;= &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;0, $ext = 0, $time = 0)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    If $exit = 0 Then&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        MsgBox(48, @ScriptName, $txt, $time) ; Exclamation, return with error code&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        Return SetError($err, $ext, $ret)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    Else&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        MsgBox(16, @ScriptName, $txt, $time) ; Stop, quit after error&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;        Exit ($err)&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;    EndIf&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;EndFunc&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;;Finish&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt; &lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;lt;/source&amp;gt;&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-side-added&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Launch Local Application and Autofill Password ===&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;===Launch Local Application and Autofill Password ===&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Devcafe</name></author>
	</entry>
	<entry>
		<id>https://devcafe.co.kr/w/index.php?title=%EC%98%A4%ED%86%A0%EC%9E%87_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%EC%83%98%ED%94%8C&amp;diff=919&amp;oldid=prev</id>
		<title>Devcafe: 새 문서: == AutoIt Scripts Examples ==  === AutoInstallation Script  === &lt;source lang=autoit&gt;  ; ; NComputing AutoInstallation Script v1.1.1.06262012 ; AutoIt Version: 3.0 ; Language: English ; Platform: Win7 ; Author:    Matthew Roslevich ;    /email/ ; ; Script Function: ; Opens NComputing vSpace Windows 7 x64 installer and fills in the registration information. ;   ; Run vSpace installer Run(&quot;vSpace_X-6.2.5.4_setup.exe&quot;)   ; Wait for the vSpace installer window to become active - it i...</title>
		<link rel="alternate" type="text/html" href="https://devcafe.co.kr/w/index.php?title=%EC%98%A4%ED%86%A0%EC%9E%87_%EC%8A%A4%ED%81%AC%EB%A6%BD%ED%8A%B8_%EC%83%98%ED%94%8C&amp;diff=919&amp;oldid=prev"/>
		<updated>2024-11-04T16:49:17Z</updated>

		<summary type="html">&lt;p&gt;새 문서: == AutoIt Scripts Examples ==  === AutoInstallation Script  === &amp;lt;source lang=autoit&amp;gt;  ; ; NComputing AutoInstallation Script v1.1.1.06262012 ; AutoIt Version: 3.0 ; Language: English ; Platform: Win7 ; Author:    Matthew Roslevich ;    /email/ ; ; Script Function: ; Opens NComputing vSpace Windows 7 x64 installer and fills in the registration information. ;   ; Run vSpace installer Run(&amp;quot;vSpace_X-6.2.5.4_setup.exe&amp;quot;)   ; Wait for the vSpace installer window to become active - it i...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;새 문서&lt;/b&gt;&lt;/p&gt;&lt;div&gt;== AutoIt Scripts Examples ==&lt;br /&gt;
&lt;br /&gt;
=== AutoInstallation Script  ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
;&lt;br /&gt;
; NComputing AutoInstallation Script v1.1.1.06262012&lt;br /&gt;
; AutoIt Version: 3.0&lt;br /&gt;
; Language: English&lt;br /&gt;
; Platform: Win7&lt;br /&gt;
; Author:    Matthew Roslevich&lt;br /&gt;
;    /email/&lt;br /&gt;
;&lt;br /&gt;
; Script Function:&lt;br /&gt;
; Opens NComputing vSpace Windows 7 x64 installer and fills in the registration information.&lt;br /&gt;
;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Run vSpace installer&lt;br /&gt;
Run(&amp;quot;vSpace_X-6.2.5.4_setup.exe&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Wait for the vSpace installer window to become active - it is titled &amp;quot;NComputing vSpace&amp;quot;&lt;br /&gt;
WinWaitActive(&amp;quot;NComputing vSpace&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Now that the vSpace window is active, start the installer&lt;br /&gt;
&lt;br /&gt;
; Initial installer screen&lt;br /&gt;
Sleep(1000)&lt;br /&gt;
Send(&amp;quot;{TAB 2}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; vSpace End User License Agreement&lt;br /&gt;
Sleep(1000)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{RIGHT}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; vSpace Terms of Use Agreement&lt;br /&gt;
Sleep(1000)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{RIGHT}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Initial Screen Resolution (default is 1024x768 16bpp 60Hz)&lt;br /&gt;
Sleep(1000)&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Select Installation Folder (default is C:\Program Files\NComputing\NComputing vSpace\)&lt;br /&gt;
Sleep(1000)&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Confirm Installation&lt;br /&gt;
Sleep(1000)&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Now a screen will pop up and ask to install device software, the window is called&lt;br /&gt;
; &amp;quot;Windows Security&amp;quot; and has some text &amp;quot;Install&amp;quot; and &amp;quot;Don&amp;#039;t Install&amp;quot;&lt;br /&gt;
WinWaitActive(&amp;quot;Windows Security&amp;quot;)&lt;br /&gt;
Sleep(1500)&lt;br /&gt;
Send(&amp;quot;{LEFT 2}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{SPACE}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{RIGHT}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Another screen will pop up with registration details, the window is called&lt;br /&gt;
; &amp;quot;License wizard&amp;quot; and has a form which needs filled out.&lt;br /&gt;
WinWait(&amp;quot;License wizard&amp;quot;)&lt;br /&gt;
Sleep(1000)&lt;br /&gt;
Send(&amp;quot;Technology Department&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;School District X&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{TAB 2}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;Address 1&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;City&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;PA&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;17701&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;ouremail@ourdomain.org&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;570-555-1212&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;NComputing&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{DOWN}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
Sleep(500)&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Yet another screen will pop up reminding user about attaching device(s) after installation finishes.&lt;br /&gt;
; The window is called &amp;quot;NComputing vSpace&amp;quot; and has an &amp;quot;OK&amp;quot; button.&lt;br /&gt;
WinWaitActive(&amp;quot;NComputing vSpace&amp;quot;)&lt;br /&gt;
Sleep(1000)&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; The installer is finished! Last thing is to press the &amp;quot;CLOSE&amp;quot; button.&lt;br /&gt;
WinWaitActive(&amp;quot;NComputing vSpace&amp;quot;)&lt;br /&gt;
Sleep(1000)&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Standard [you must restart the system to have change take effect] window.&lt;br /&gt;
; The window is still called &amp;quot;NComputing vSpace&amp;quot;, and has a &amp;quot;YES&amp;quot; and &amp;quot;NO&amp;quot; button.&lt;br /&gt;
WinWaitActive(&amp;quot;NComputing vSpace&amp;quot;)&lt;br /&gt;
Sleep(1000)&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
; Finished!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== OpenLinkInIE.au3  ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
Link: https://www.autoitscript.com/forum/topic/161289-simple-example-scripts-for-beginners-tutorial/&lt;br /&gt;
;&lt;br /&gt;
; this script copies an address from Mozilla Firefox and opens it in IE&lt;br /&gt;
; click in Firefox&amp;#039;s address bar before running the script&lt;br /&gt;
&lt;br /&gt;
Opt(&amp;quot;WinTitleMatchMode&amp;quot;, 2) ; this tells AutoIt to match any part of window title in the following window commands&lt;br /&gt;
WinActivate(&amp;quot;Mozilla Firefox&amp;quot;) ; activates the Mozilla Firefox window&lt;br /&gt;
WinWaitActive(&amp;quot;Mozilla Firefox&amp;quot;) ; waits for Mozilla Firefox to be the active window before continuing&lt;br /&gt;
Send(&amp;quot;{HOME}&amp;quot;) ; the Send command tells AutoIt to type text; this line simulates pressing the Home key&lt;br /&gt;
Send(&amp;quot;+{END}&amp;quot;) ; this line simulates pressing Shift+End&lt;br /&gt;
Send(&amp;quot;^c&amp;quot;) ; this line simulates CTRL+c&lt;br /&gt;
Run(&amp;quot;C:\Program Files\Internet Explorer\iexplore.exe&amp;quot;) ; starts IE; you may need to edit this path&lt;br /&gt;
WinActivate(&amp;quot;Internet Explorer&amp;quot;) ; activates the IE window&lt;br /&gt;
WinWaitActive(&amp;quot;Internet Explorer&amp;quot;) ; waits for IE to be the active window before continuing&lt;br /&gt;
Send(&amp;quot;^t&amp;quot;) ; opens new tab in IE&lt;br /&gt;
WinWaitActive(&amp;quot;New Tab - Windows Internet Explorer&amp;quot;) ; you may need to edit this text depending on you IE version &lt;br /&gt;
Send(&amp;quot;^v&amp;quot;) ; pastes the contents of the clipboard&lt;br /&gt;
Send(&amp;quot;{ENTER}&amp;quot;) ; this line simulates pressing Enter&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== CopyPasteNotepadToWord_2.au3  ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
Link: https://www.autoitscript.com/forum/topic/161289-simple-example-scripts-for-beginners-tutorial/&lt;br /&gt;
; This script copies and pastes 5 lines between two open Word documents.&lt;br /&gt;
; Before running this script, open two Word files and save one as old.docx (or old.doc)&lt;br /&gt;
; and one as new.docx. The names must be in lower case to match the script.&lt;br /&gt;
; Type 5 lines of text in the file named old.&lt;br /&gt;
&lt;br /&gt;
Opt(&amp;quot;WinTitleMatchMode&amp;quot;, 2) ; configures AutoIt to find a search term in any part of the window title&lt;br /&gt;
&lt;br /&gt;
Dim $x&lt;br /&gt;
&lt;br /&gt;
WinActivate(&amp;quot;old&amp;quot;) ; activates window with old in the title&lt;br /&gt;
WinWaitActive(&amp;quot;old&amp;quot;) ; waits for the window to be active&lt;br /&gt;
Send(&amp;quot;^{HOME}&amp;quot;) ; simulates pressing CTRL+Home to go to top of document&lt;br /&gt;
For $x = 1 to 5 ; this is a loop that is done 5 times&lt;br /&gt;
   WinActivate(&amp;quot;old&amp;quot;) ; activates window with Old in the title&lt;br /&gt;
   WinWaitActive(&amp;quot;old&amp;quot;); waits for the window to be active&lt;br /&gt;
   Send(&amp;quot;{HOME}&amp;quot;) ; simulates pressing the Home key&lt;br /&gt;
   Sleep(500) ; pauses for 1/2 a second; I added the pauses to show you what the script is doing&lt;br /&gt;
   Send(&amp;quot;+{END}&amp;quot;) ; simulates pressing Shit+End&lt;br /&gt;
   Sleep(500) ; pauses for 1/2 a second&lt;br /&gt;
   Send(&amp;quot;^c&amp;quot;) ; simulates pressing CTRL+c&lt;br /&gt;
   Send(&amp;quot;{RIGHT}&amp;quot;) ; simulates pressing the right arrow key&lt;br /&gt;
   Sleep(500) ; pauses for 1/2 a second&lt;br /&gt;
   WinActivate(&amp;quot;new&amp;quot;) ; activates window with new in the title&lt;br /&gt;
   WinWaitActive(&amp;quot;new&amp;quot;); waits for the window to be active&lt;br /&gt;
   Send(&amp;quot;^v&amp;quot;)  ; simulates pressing CTRL+v&lt;br /&gt;
   Sleep(500) ; pauses for 1/2 a second&lt;br /&gt;
Next&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===MouseSwitchButtons.au3 ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
Link: https://www.autoitscript.com/forum/topic/161289-simple-example-scripts-for-beginners-tutorial/&lt;br /&gt;
; Switches right and left mouse buttons.&lt;br /&gt;
; This works with the standard Mouse Properties Control Panel.&lt;br /&gt;
; If you installed a program that changes the Mouse Properties control panel,&lt;br /&gt;
; it may not work.&lt;br /&gt;
; For a list of all the Control Panel applets,&lt;br /&gt;
; see http://en.wikipedia.org/wiki/Control_Panel_%28Windows%29&lt;br /&gt;
; or google &amp;quot;CPL list.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Run(&amp;quot;control.exe main.cpl&amp;quot;) ; Opens the Mouse Properties Control Panel applet &lt;br /&gt;
WinWaitActive(&amp;quot;Mouse Properties&amp;quot;) ; Waits for the window to open&lt;br /&gt;
Sleep(1000) ; (Optional) Pauses one second so you can watch the script work&lt;br /&gt;
Send(&amp;quot;!s{ENTER}&amp;quot;) ; Types ALT+s then presses the Enter key&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launch Local Application ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Thycotic ssms.exe with sql credential launcher script &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;set filepath of ssms.exe &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
$Path = &amp;quot;C:\Program Files (x86)\Microsoft SQL Server Management Studio&lt;br /&gt;
18\Common7\IDE\Ssms.exe&amp;quot; &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;execute ssms.exe &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ShellExecute($Path)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Wait for the &amp;#039;connect to server&amp;#039; window to appear &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
WinWaitActive(&amp;quot;Connect to Server&amp;quot;, &amp;quot;&amp;quot;, 0) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;set auth mode to SQL authenticaiton &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ControlSend(&amp;quot;Connect to Server&amp;quot; , &amp;quot;&amp;quot; , &amp;quot;[NAME:comboBoxAuthentication]&amp;quot;, &amp;quot;[NAME:SQL]&amp;quot;) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;set server instance to servername passed from Secret Server launcher in cmd line parameter 1 &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ControlSetText(&amp;quot;Connect to Server&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;[NAME:serverInstance]&amp;quot;,&lt;br /&gt;
$CmdLine[1],1) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;set username to username passed from Secret Server launcher in cmd line parameter 2&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ControlSetText(&amp;quot;Connect to Server&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;[NAME:userName]&amp;quot;, $CmdLine[2],1) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;set password to password passed from Secret Server launcher in cmd line parameter 3&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ControlSetText(&amp;quot;Connect to Server&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;[NAME:password]&amp;quot;, $CmdLine[3],1) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;reactivate the connect to server window, required for the click of buttons within the window &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
WinActivate (&amp;quot;Connect to Server&amp;quot;) &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;click the connect button &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
ControlClick(&amp;quot;Connect to Server&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;[NAME:connect]&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Error Handling ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
From: https://www.autoitscript.com/forum/topic/101030-simple-error-handling-_throwerror/&lt;br /&gt;
&lt;br /&gt;
;============================================================================ ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
; Description:      Display an error message and optionally exit or set&lt;br /&gt;
;                   error codes and return values. Enables single-line&lt;br /&gt;
;                   error handling for basic needs.&lt;br /&gt;
; Parameter(s):     $txt        = message to display&lt;br /&gt;
;                   [$exit]     = 1 to exit after error thrown, 0 to return&lt;br /&gt;
;                   [$ret]      = return value&lt;br /&gt;
;                   [$err]      = error code to return to parent function if $exit = 0&lt;br /&gt;
;                   [$ext]      = extended error code to return to parent function if $exit = 0&lt;br /&gt;
;                   [$time]     = time to auto-close message box, in seconds (0 = never)&lt;br /&gt;
; Requirement(s):   None&lt;br /&gt;
; Return Value(s):&lt;br /&gt;
; Note(s):          Icon is STOP for EXIT/FATAL errors and EXCLAMATION for NO_EXIT/WARNING errors.&lt;br /&gt;
;                   For single-line error-reporting. If reporting an error in a function,&lt;br /&gt;
;                   can call this with a Returned value as:&lt;br /&gt;
;                       If $fail Then Return _ThrowError(&amp;quot;failed&amp;quot;,0,$return_value)&lt;br /&gt;
;============================================================================ ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
Func _ThrowError($txt, $exit = 0, $ret = &amp;quot;&amp;quot;, $err = 0, $ext = 0, $time = 0)&lt;br /&gt;
    If $exit = 0 Then&lt;br /&gt;
        MsgBox(48, @ScriptName, $txt, $time) ; Exclamation, return with error code&lt;br /&gt;
        Return SetError($err, $ext, $ret)&lt;br /&gt;
    Else&lt;br /&gt;
        MsgBox(16, @ScriptName, $txt, $time) ; Stop, quit after error&lt;br /&gt;
        Exit ($err)&lt;br /&gt;
    EndIf&lt;br /&gt;
EndFunc&lt;br /&gt;
Examples in use:&lt;br /&gt;
&lt;br /&gt;
$file = FileOpen($filename,0)&lt;br /&gt;
if $file =-1 then _ThrowError(&amp;quot;File &amp;quot; &amp;amp; $file &amp;amp; &amp;quot; not found!&amp;quot;,1) ; Exit when msgbox closed&lt;br /&gt;
&lt;br /&gt;
$clip = ClipGet()&lt;br /&gt;
if $clip = &amp;quot;&amp;quot; then _ThrowError(&amp;quot;Clipboard is empty. Continuing...&amp;quot;, 0, 0, 0, 3) ; No exit, no error, auto-close in 3 seconds&lt;br /&gt;
&lt;br /&gt;
Func parse_html_title($source_string)&lt;br /&gt;
    Local $title = StringRegExp($source_string,&amp;quot;&amp;lt;title&amp;gt;([^&amp;gt;]*)&amp;lt;/title&amp;gt;&amp;quot;,1)&lt;br /&gt;
    If Not IsArray($title) then Return _ThrowError(&amp;quot;Failed to extract title&amp;quot;, 0, &amp;quot;-no title found-&amp;quot;, 1, 0, 3) ; No exit, error=1, auto-close in 3 seconds&lt;br /&gt;
    Return $title[0]&lt;br /&gt;
EndFunc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Check Active Window Title, Class, Size ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;WinAPI.au3&amp;gt;&lt;br /&gt;
#include &amp;lt;MsgBoxConstants.au3&amp;gt;&lt;br /&gt;
Sleep(500)&lt;br /&gt;
&lt;br /&gt;
CheckWinSize()&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Func CheckWinSize()&lt;br /&gt;
   Local $hwnd= WinGetHandle(&amp;quot;[ACTIVE]&amp;quot;)&lt;br /&gt;
   Local $aClientSize = WinGetClientSize($hWnd)&lt;br /&gt;
   ;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Width: &amp;quot; &amp;amp; $aClientSize[0] &amp;amp; @CRLF &amp;amp; &amp;quot;Height: &amp;quot; &amp;amp; $aClientSize[1])&lt;br /&gt;
   if $aClientSize[0]&amp;lt;280 then&lt;br /&gt;
	  ;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Wrong Password. Width: &amp;quot; &amp;amp; $aClientSize[0] &amp;amp; @CRLF &amp;amp; &amp;quot;Height: &amp;quot; &amp;amp; $aClientSize[1])&lt;br /&gt;
	  MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Wrong Password. Please close all XCA windows and contact system admin!&amp;quot;)&lt;br /&gt;
	  ;WinClose($hWnd)&lt;br /&gt;
   Else&lt;br /&gt;
	  ;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Right Password. Width: &amp;quot; &amp;amp; $aClientSize[0] &amp;amp; @CRLF &amp;amp; &amp;quot;Height: &amp;quot; &amp;amp; $aClientSize[1])&lt;br /&gt;
   EndIf&lt;br /&gt;
EndFunc   ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Func CheckWinClass()&lt;br /&gt;
&lt;br /&gt;
   Local $hwnd= WinGetHandle(&amp;quot;[ACTIVE]&amp;quot;)&lt;br /&gt;
   if $hwnd = 0x0019081 then&lt;br /&gt;
	  MsgBox(4096, &amp;quot;Password Correct&amp;quot;, &amp;quot;Password is correct!&amp;quot; &amp;amp; $hwnd)&lt;br /&gt;
	  ;MsgBox(4096, &amp;quot;Get ClassName&amp;quot;, &amp;quot;ClassName of &amp;quot; &amp;amp; $hwnd &amp;amp; &amp;quot;:&amp;quot; &amp;amp; _WinAPI_GetClassName($hwnd))&lt;br /&gt;
   Else&lt;br /&gt;
	  MsgBox(4096, &amp;quot;Password Wrong&amp;quot;, &amp;quot;Password is wrong! Please close all XCA window and contact system admin&amp;quot; &amp;amp; $hwnd)&lt;br /&gt;
   EndIf&lt;br /&gt;
&lt;br /&gt;
EndFunc   ;&lt;br /&gt;
&lt;br /&gt;
Func CheckWinTitle()&lt;br /&gt;
    ; Retrieve the window title of the active window.&lt;br /&gt;
    Local $sText = WinGetTitle(&amp;quot;[ACTIVE]&amp;quot;)&lt;br /&gt;
   if StringInStr ($sText, &amp;quot;Key management&amp;quot;) AND StringInStr ($sText, &amp;quot;X Certificate&amp;quot;) Then&lt;br /&gt;
	  MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Wrong Password, please close all Windows and contact Thycotic System Admin!&amp;quot;)&lt;br /&gt;
    ; Display the window title.&lt;br /&gt;
   else&lt;br /&gt;
	  MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, $sText+&amp;quot;is correct!&amp;quot;)&lt;br /&gt;
   EndIf&lt;br /&gt;
EndFunc   ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Func _ThrowError($txt, $exit = 0, $ret = &amp;quot;&amp;quot;, $err = 0, $ext = 0, $time = 0)&lt;br /&gt;
    If $exit = 0 Then&lt;br /&gt;
        MsgBox(48, @ScriptName, $txt, $time) ; Exclamation, return with error code&lt;br /&gt;
        Return SetError($err, $ext, $ret)&lt;br /&gt;
    Else&lt;br /&gt;
        MsgBox(16, @ScriptName, $txt, $time) ; Stop, quit after error&lt;br /&gt;
        Exit ($err)&lt;br /&gt;
    EndIf&lt;br /&gt;
EndFunc&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;Finish&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launch Local Application and Autofill Password ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
Link: https://www.autoitscript.com/forum/topic/161289-simple-example-scripts-for-beginners-tutorial/&lt;br /&gt;
;Thycotic xca.exe with password launcher script&lt;br /&gt;
;Author: Netsec&lt;br /&gt;
;set filepath &lt;br /&gt;
;$Path = &amp;quot;c:\tools\xca\xca.exe c:\tools\certs\xca.xdb&amp;quot;&lt;br /&gt;
$Path = &amp;quot;C:\tools\xca\xca.exe&amp;quot;&lt;br /&gt;
;execute xca.exe to open xdb&lt;br /&gt;
;ShellExecute($Path)&lt;br /&gt;
ShellExecute($Path, &amp;quot;c:\tools\certs\xca.xdb&amp;quot;)&lt;br /&gt;
;Wait for the &amp;#039;Password&amp;#039; window to appear&lt;br /&gt;
WinWaitActive(&amp;quot;Password&amp;quot;, &amp;quot;&amp;quot;, 0)&lt;br /&gt;
;WinActivate (&amp;quot;Password&amp;quot;)&lt;br /&gt;
;set password to password passed from Secret Server launcher in cmd line parameter 3&lt;br /&gt;
;ControlSetText(&amp;quot;Password&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;[NAME:password]&amp;quot;, $CmdLine[3],1)&lt;br /&gt;
;ControlSetText(&amp;quot;Password&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;[NAME:password]&amp;quot;, &amp;quot;Password1234&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
;$value=Send($CmdLine[1])&lt;br /&gt;
$value=Send(&amp;quot;Password1234&amp;quot;)&lt;br /&gt;
if $value =-1 then _ThrowError(&amp;quot;Password&amp;quot; &amp;amp; $value &amp;amp; &amp;quot; not enter correctly! Please close program and contact system admin&amp;quot;,1) ; Exit when msgbox closed&lt;br /&gt;
&lt;br /&gt;
Sleep(200)&lt;br /&gt;
&lt;br /&gt;
Opt(&amp;quot;WinTitleMatchMode&amp;quot;,2); Windows title Match&lt;br /&gt;
;reactivate the connect to server window, required for the click of buttons within the window&lt;br /&gt;
WinActivate (&amp;quot;Password&amp;quot;)&lt;br /&gt;
WinWaitActive(&amp;quot;Password&amp;quot;, &amp;quot;&amp;quot;, 0)&lt;br /&gt;
;click the connect button&lt;br /&gt;
;ControlClick(&amp;quot;Password&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;[NAME:OK]&amp;quot;)&lt;br /&gt;
Send(&amp;quot;{Enter}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
Sleep(500)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Another Example to Auto-Fill Credentials  ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
#include &amp;lt;WinAPI.au3&amp;gt;&lt;br /&gt;
#include &amp;lt;MsgBoxConstants.au3&amp;gt;&lt;br /&gt;
;Start:&lt;br /&gt;
HotKeySet (&amp;quot;{F10}&amp;quot;,&amp;quot;BlockinputOff&amp;quot;)&lt;br /&gt;
;Thycotic SolarWinds ARMs with password launcher script&lt;br /&gt;
;Author: Net Sec&lt;br /&gt;
;set filepath&lt;br /&gt;
$Path = &amp;quot;C:\Program Files\SolarWinds\ARM\bin\app8Man.exe&amp;quot;&lt;br /&gt;
&lt;br /&gt;
If WinExists(&amp;quot;ARM 2020.2.5.4920&amp;quot;) Then&lt;br /&gt;
   WinClose(&amp;quot;ARM 2020.2.5.4920&amp;quot;)&lt;br /&gt;
   ;WinActivate (&amp;quot;ARM 2020.2.5.4920&amp;quot;)&lt;br /&gt;
   MsgBox(0,&amp;quot;Closing ARMS window&amp;quot;, &amp;quot;For Safety, Closed ARM window. Please re-run your launcher again&amp;quot;)&lt;br /&gt;
   Exit&lt;br /&gt;
Else&lt;br /&gt;
&lt;br /&gt;
   ;execute app8Man.exe to open Arms&lt;br /&gt;
   ShellExecute($Path)&lt;br /&gt;
&lt;br /&gt;
   ;Wait for the &amp;#039;Password&amp;#039; window to appear&lt;br /&gt;
   WinWaitActive(&amp;quot;ARM 2020.2.5.4920&amp;quot;, &amp;quot;&amp;quot;, 0)&lt;br /&gt;
&lt;br /&gt;
EndIf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sleep(200)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;$value=Send($CmdLine[1])&lt;br /&gt;
;$value=Send(&amp;quot;Password1234&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
;if $value =-1 then _ThrowError(&amp;quot;Password&amp;quot; &amp;amp; $value &amp;amp; &amp;quot; not enter correctly! Please close program and contact system admin&amp;quot;,1) ; Exit when msgbox closed&lt;br /&gt;
&lt;br /&gt;
;Sleep(200)&lt;br /&gt;
&lt;br /&gt;
;Opt(&amp;quot;WinTitleMatchMode&amp;quot;,2); Windows title Match&lt;br /&gt;
;reactivate the connect to server window, required for the click of buttons within the window&lt;br /&gt;
;WinActivate (&amp;quot;Password&amp;quot;)&lt;br /&gt;
;WinWaitActive(&amp;quot;Password&amp;quot;, &amp;quot;&amp;quot;, 0)&lt;br /&gt;
;click the connect button&lt;br /&gt;
;ControlClick(&amp;quot;Password&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;[NAME:OK]&amp;quot;)&lt;br /&gt;
;Send(&amp;quot;{Enter}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
GetScreenMiddle()&lt;br /&gt;
&lt;br /&gt;
;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Width: &amp;quot; &amp;amp; $ScreenWidth &amp;amp; @CRLF &amp;amp; &amp;quot;Height: &amp;quot; &amp;amp; $ScreenHeight)&lt;br /&gt;
&lt;br /&gt;
Local $WinPos = WinGetPos(&amp;quot;[ACTIVE]&amp;quot;)&lt;br /&gt;
;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;x-pos: &amp;quot; &amp;amp; $WinPos[0] &amp;amp; @CRLF &amp;amp; &amp;quot;y-pos: &amp;quot; &amp;amp; $WinPos[1] &amp;amp; @CRLF &amp;amp; &amp;quot;win width: &amp;quot; &amp;amp; @CRLF &amp;amp;  $WinPos[2] &amp;quot;win height &amp;quot; &amp;amp; $WinPos[3])&lt;br /&gt;
;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;x-pos: &amp;quot; &amp;amp; $WinPos[0])&lt;br /&gt;
;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;y-pos: &amp;quot; &amp;amp; $WinPos[1])&lt;br /&gt;
;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Window width: &amp;quot; &amp;amp; $WinPos[2])&lt;br /&gt;
;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Window Height: &amp;quot; &amp;amp; $WinPos[3])&lt;br /&gt;
&lt;br /&gt;
;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Mouse move To &amp;quot; &amp;amp; $ScreenWidth/2+$WinPos[1]/2-10)&lt;br /&gt;
;MouseMove ($ScreenWidth/2+$WinPos[2]/2-10, $ScreenHeight/2-10, 10)&lt;br /&gt;
&lt;br /&gt;
WinActivate(&amp;quot;ARM 2020.2.5.4920&amp;quot;)&lt;br /&gt;
$var1 = PixelGetColor( $ScreenWidth/2+$WinPos[2]/2-50, $ScreenHeight/2-40)&lt;br /&gt;
$var2 = PixelGetColor( $ScreenWidth/2, $ScreenHeight/2)&lt;br /&gt;
;MsgBox(0,&amp;quot;The middle decmial color is 2718100&amp;quot;, $var)&lt;br /&gt;
;MouseMove ($ScreenWidth/2+$WinPos[2]/2-50, $ScreenHeight/2-40, 10)&lt;br /&gt;
;Sleep(500)&lt;br /&gt;
;MsgBox(0,&amp;quot;The middle hex color is 297994, $ScreenWidth/2+$WinPos[2]/2-10&amp;#039;s color is 444444&amp;quot;, Hex($var1, 6))&lt;br /&gt;
;MouseMove ($ScreenWidth/2, $ScreenHeight/2, 10)&lt;br /&gt;
;MsgBox(0,&amp;quot;The middle hex color is 297994, $ScreenWidth/2+$WinPos[2]/2-10&amp;#039;s color is 444444&amp;quot;, Hex($var2, 6))&lt;br /&gt;
&lt;br /&gt;
;If it is login page (three text boxes), the var1=FFFFFF=var2. If it is AD user icon page (No text box), the var2 is 297994, var1=444444&lt;br /&gt;
&lt;br /&gt;
If Hex($var1,6) = &amp;quot;444444&amp;quot; And Hex($var2,6) = &amp;quot;297994&amp;quot; Then&lt;br /&gt;
	  ;MsgBox(0,&amp;quot;AD Account Page&amp;quot;, &amp;quot;This AD Account, no text box Page&amp;quot;, 6)&lt;br /&gt;
   	  Send(&amp;quot;{Tab 2}&amp;quot;)&lt;br /&gt;
	  Send(&amp;quot;{Enter}&amp;quot;)&lt;br /&gt;
   Else&lt;br /&gt;
	  If Hex($var1,6) = &amp;quot;FFFFFF&amp;quot; and Hex($var2,6) = &amp;quot;FFFFFF&amp;quot; Then&lt;br /&gt;
			;MsgBox(0,&amp;quot;Three Textboxes Page&amp;quot;, &amp;quot;This three Textboxes Page&amp;quot;, 6)&lt;br /&gt;
			Send(&amp;quot;{Tab 1}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
			;set password to password passed from Secret Server launcher in cmd line parameter 3&lt;br /&gt;
			;ControlSetText(&amp;quot;Password&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;[NAME:password]&amp;quot;, $CmdLine[3],1)&lt;br /&gt;
			;ControlSetText(&amp;quot;Password&amp;quot;, &amp;quot;&amp;quot;, &amp;quot;[NAME:password]&amp;quot;, &amp;quot;Password1234&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
			Blockinput(1)&lt;br /&gt;
			;$value=Send($CmdLine[1])&lt;br /&gt;
			$value1=Send(&amp;quot;test1&amp;quot;)&lt;br /&gt;
			;Sleep(100)&lt;br /&gt;
			Send(&amp;quot;{Tab 1}&amp;quot;)&lt;br /&gt;
			Sleep(100)&lt;br /&gt;
			;$value=Send($CmdLine[1])&lt;br /&gt;
			$value2=Send(&amp;quot;password1234&amp;quot;,1)&lt;br /&gt;
			;Sleep(100)&lt;br /&gt;
			;if $value1 =-1  or $value2 =-1 then _ThrowError(&amp;quot;Password&amp;quot; &amp;amp; $value &amp;amp; &amp;quot; not enter correctly! Please close program and contact system admin&amp;quot;,1) ; Exit when msgbox closed&lt;br /&gt;
&lt;br /&gt;
			Send(&amp;quot;{Enter}&amp;quot;)&lt;br /&gt;
&lt;br /&gt;
			Sleep(10500)&lt;br /&gt;
&lt;br /&gt;
			If WinExists(&amp;quot;ARM 2020.2.5.4920&amp;quot;) Then&lt;br /&gt;
				  WinClose(&amp;quot;ARM 2020.2.5.4920&amp;quot;)&lt;br /&gt;
				  ;WinActivate (&amp;quot;ARM 2020.2.5.4920&amp;quot;)&lt;br /&gt;
				  BlockInput(0)&lt;br /&gt;
				  MsgBox(0,&amp;quot;Closing ARMS window&amp;quot;, &amp;quot;Logging failure, please contact your TSS sys admin!&amp;quot;)&lt;br /&gt;
				  Exit&lt;br /&gt;
			EndIf&lt;br /&gt;
			BlockInput(0)&lt;br /&gt;
&lt;br /&gt;
	  EndIf&lt;br /&gt;
EndIf&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
;CheckWinSize()&lt;br /&gt;
&lt;br /&gt;
Func GetScreenMiddle()&lt;br /&gt;
   ;Global $ScreenWidth=@DesktopWidth/2&lt;br /&gt;
   ;Global $ScreenHeight=@DesktopHeight/2&lt;br /&gt;
   Local $ScreenSize=WinGetPos(&amp;quot;Program Manager&amp;quot;)&lt;br /&gt;
   Global $ScreenWidth=$ScreenSize[2]&lt;br /&gt;
   Global $ScreenHeight=$ScreenSize[3]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
EndFunc&lt;br /&gt;
&lt;br /&gt;
Func CheckWinSize()&lt;br /&gt;
   Local $hwnd= WinGetHandle(&amp;quot;[ACTIVE]&amp;quot;)&lt;br /&gt;
   Local $aClientSize = WinGetClientSize($hWnd)&lt;br /&gt;
   ;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Width: &amp;quot; &amp;amp; $aClientSize[0] &amp;amp; @CRLF &amp;amp; &amp;quot;Height: &amp;quot; &amp;amp; $aClientSize[1])&lt;br /&gt;
   if $aClientSize[0]&amp;lt;280 then&lt;br /&gt;
	  ;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Wrong Password. Width: &amp;quot; &amp;amp; $aClientSize[0] &amp;amp; @CRLF &amp;amp; &amp;quot;Height: &amp;quot; &amp;amp; $aClientSize[1])&lt;br /&gt;
	  MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Wrong Password. Please close all XCA windows and contact system admin!&amp;quot;)&lt;br /&gt;
	  ;WinClose($hWnd)&lt;br /&gt;
   Else&lt;br /&gt;
	  ;MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Right Password. Width: &amp;quot; &amp;amp; $aClientSize[0] &amp;amp; @CRLF &amp;amp; &amp;quot;Height: &amp;quot; &amp;amp; $aClientSize[1])&lt;br /&gt;
   EndIf&lt;br /&gt;
EndFunc   ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Func CheckWinClass()&lt;br /&gt;
&lt;br /&gt;
   Local $hwnd= WinGetHandle(&amp;quot;[ACTIVE]&amp;quot;)&lt;br /&gt;
   if $hwnd = 0x0019081 then&lt;br /&gt;
	  MsgBox(4096, &amp;quot;Password Correct&amp;quot;, &amp;quot;Password is correct!&amp;quot; &amp;amp; $hwnd)&lt;br /&gt;
	  ;MsgBox(4096, &amp;quot;Get ClassName&amp;quot;, &amp;quot;ClassName of &amp;quot; &amp;amp; $hwnd &amp;amp; &amp;quot;:&amp;quot; &amp;amp; _WinAPI_GetClassName($hwnd))&lt;br /&gt;
   Else&lt;br /&gt;
	  MsgBox(4096, &amp;quot;Password Wrong&amp;quot;, &amp;quot;Password is wrong! Please close all XCA window and contact system admin&amp;quot; &amp;amp; $hwnd)&lt;br /&gt;
   EndIf&lt;br /&gt;
&lt;br /&gt;
EndFunc   ;&lt;br /&gt;
&lt;br /&gt;
Func CheckWinTitle()&lt;br /&gt;
    ; Retrieve the window title of the active window.&lt;br /&gt;
    Local $sText = WinGetTitle(&amp;quot;[ACTIVE]&amp;quot;)&lt;br /&gt;
   if StringInStr ($sText, &amp;quot;Key management&amp;quot;) AND StringInStr ($sText, &amp;quot;X Certificate&amp;quot;) Then&lt;br /&gt;
	  MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, &amp;quot;Wrong Password, please close all Windows and contact Thycotic System Admin!&amp;quot;)&lt;br /&gt;
    ; Display the window title.&lt;br /&gt;
   else&lt;br /&gt;
	  MsgBox($MB_SYSTEMMODAL, &amp;quot;&amp;quot;, $sText+&amp;quot;is correct!&amp;quot;)&lt;br /&gt;
   EndIf&lt;br /&gt;
EndFunc   ;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Func _ThrowError($txt, $exit = 0, $ret = &amp;quot;&amp;quot;, $err = 0, $ext = 0, $time = 0)&lt;br /&gt;
    If $exit = 0 Then&lt;br /&gt;
        MsgBox(48, @ScriptName, $txt, $time) ; Exclamation, return with error code&lt;br /&gt;
        Return SetError($err, $ext, $ret)&lt;br /&gt;
    Else&lt;br /&gt;
        MsgBox(16, @ScriptName, $txt, $time) ; Stop, quit after error&lt;br /&gt;
        Exit ($err)&lt;br /&gt;
    EndIf&lt;br /&gt;
EndFunc&lt;br /&gt;
&lt;br /&gt;
Func BlockinputOff()&lt;br /&gt;
	  Blockinput(0)&lt;br /&gt;
EndFunc&lt;br /&gt;
;Finish&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Launch CheckPoint SmartConsole ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
#cs ----------------------------------------------------------------------------&lt;br /&gt;
AutoIt Version: 3.3.14.5&lt;br /&gt;
Script Function: Start Checkpoint SmartConsole using Secret Server parameters (to be used alongisde Thycotic Secret Server custom launcher)&lt;br /&gt;
Checkpoint SmartConsole Filler.&lt;br /&gt;
#ce ----------------------------------------------------------------------------&lt;br /&gt;
run(&amp;quot;C:\Program Files (x86)\CheckPoint\SmartConsole\R80.40\PROGRAM\SmartConsole.exe&amp;quot;) ; Run the Thick Client program&lt;br /&gt;
WinWaitActive(&amp;quot;Check Point SmartConsole&amp;quot;) ; Wait for the program window to be active&lt;br /&gt;
Sleep(5000) ; Wait 5000ms (5s) to get by the splash screen&lt;br /&gt;
; Upon opening, the cursor defaults to the Username box so enter the username by issuing the �Send�&lt;br /&gt;
;command. The argument �1� is used to send the text in RAW format to cater for special characters that might&lt;br /&gt;
;appear in the username&lt;br /&gt;
Send($CmdLine[1],1)&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;) ; Go over to the next box by sending one TAB keystroke&lt;br /&gt;
Send($CmdLine[2],1) ; Enter the password&lt;br /&gt;
Send(&amp;quot;{TAB}&amp;quot;) ; Go over to the next box by sending one TAB keystroke&lt;br /&gt;
Send($CmdLine[3],1) ; Enter the IP address&lt;br /&gt;
For $i=1 to 3 ; Enter TAB 3 times to highlight the login button&lt;br /&gt;
 Send(&amp;quot;{TAB}&amp;quot;)&lt;br /&gt;
 Next&lt;br /&gt;
 send(&amp;quot;{enter}&amp;quot;)&lt;br /&gt;
 Exit&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;br /&gt;
&lt;br /&gt;
===Passing Password to Runas ===&lt;br /&gt;
&amp;lt;source lang=autoit&amp;gt;&lt;br /&gt;
&lt;br /&gt;
$sUser = &amp;quot;admin&amp;quot;&lt;br /&gt;
$sPass = &amp;quot;P@$$w0rd1234&amp;quot;&lt;br /&gt;
$sDomain = &amp;quot;corp.51sec.org&amp;quot;&lt;br /&gt;
$sCMD = &amp;quot;cmd&amp;quot;&lt;br /&gt;
;MsgBox(0, &amp;quot;&amp;quot;, &amp;quot;RunAs = &amp;quot; &amp;amp; $sUser &amp;amp; &amp;quot;, &amp;quot;  &amp;amp; $sDomain &amp;amp; &amp;quot;, &amp;quot;  &amp;amp; $sPass &amp;amp; &amp;quot;, &amp;quot; &amp;amp; &amp;quot;1&amp;quot; &amp;amp; &amp;quot;, &amp;quot;  &amp;amp; &amp;#039;&amp;quot;&amp;#039; &amp;amp; @AutoItExe &amp;amp; &amp;#039;&amp;quot; &amp;quot;&amp;#039; &amp;amp; @ScriptFullPath &amp;amp; &amp;#039;&amp;quot;&amp;#039; &amp;amp; @CRLF &amp;amp; @CRLF )&lt;br /&gt;
&lt;br /&gt;
RunAs ($sUser, $sDomain, $sPass, 0, $sCMD)&lt;br /&gt;
Or&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Local $sUserName = &amp;quot;admin&amp;quot;&lt;br /&gt;
Local $sPassword = &amp;quot;passwd&amp;quot;&lt;br /&gt;
RunAsWait($sUserName, @ComputerName, $sPassword, 0, @ComSpec &amp;amp; &amp;quot; /c &amp;quot; &amp;amp; &amp;#039;netsh  interface ipv4 set subinterface&amp;#039;, &amp;quot;&amp;quot;, @SW_HIDE)&lt;br /&gt;
&amp;lt;/source&amp;gt;&lt;/div&gt;</summary>
		<author><name>Devcafe</name></author>
	</entry>
</feed>