<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK_IE]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=16146</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=16146&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK_IE».]]></description>
		<lastBuildDate>Thu, 04 Mar 2021 19:00:39 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK_IE]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146611#p146611</link>
			<description><![CDATA[<p>Кликайте через события mousedown, mouseup.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Thu, 04 Mar 2021 19:00:39 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146611#p146611</guid>
		</item>
		<item>
			<title><![CDATA[AHK_IE]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=146608#p146608</link>
			<description><![CDATA[<p>Добрый день! Подскажите, пож-та, как выбрать &quot;Заявка&quot; в поле &quot;Категория&quot;. До обновление сайта код работал:</p><div class="codebox"><pre><code>
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#SingleInstance force 


webpage := &quot;https://inseption.with5.glpi-network.cloud/front/ticket.form.php&quot;

;~ IE(URL)
;~ {
   ;~ For ie in ComObjCreate( &quot;Shell.Application&quot; ).Windows
      ;~ If InStr(ie.FullName, &quot;iexplore.exe&quot; ) &amp;&amp; InStr(ie.LocationURL, URL)
         ;~ Return ie
  
;~ }

;~ ie := IE(URL)
;~ ie.navigate(webpage)
;~ while ie.readystate &lt;&gt; 4
	;~ sleep 300


ie := ComObjCreate(&quot;InternetExplorer.Application&quot;)
ie.Navigate(webpage)
ie.Visible := true

while ie.readystate &lt;&gt; 4
	sleep 300


if ( ie.document.querySelectorAll(&quot;input&quot;).length &lt; 8 )
{
  ie.document.querySelectorAll(&quot;input&quot;)[1].value := &quot;user&quot; 
  ie.document.querySelectorAll(&quot;input&quot;)[2].value  := &quot;12345&quot; 
  ie.document.querySelectorAll(&quot;input&quot;)[5].click()
}

while ie.document.getElementsByClassName(&quot;layout_lefttab&quot;).length = 0
  {
	sleep 300
    continue
  }
    

  while ie.document.getElementsByClassName(&quot;loadingindicator&quot;).length != 0
  {
	sleep 300
    continue
  }
    

ie.document.getElementsByName(&quot;itilcategories_id&quot;)[0].value := 6
Change := ie.document.createEvent(&quot;Event&quot;)
Change.initEvent(&quot;change&quot;, true, true)
ie.document.getElementsByName(&quot;itilcategories_id&quot;)[0].dispatchEvent(Change)

return


Esc::
{
  ie.quit
  Process, Close, iexplore.exe
  ExitApp 
}
</code></pre></div>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Thu, 04 Mar 2021 11:02:46 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=146608#p146608</guid>
		</item>
	</channel>
</rss>
