<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: IE_Controlsend]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14630&amp;type=atom" />
	<updated>2019-03-04T14:39:02Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14630</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: IE_Controlsend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132785#p132785" />
			<content type="html"><![CDATA[<p>Что за Conrolsend в названии темы и первом сообщении?</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2019-03-04T14:39:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132785#p132785</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: IE_Controlsend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132775#p132775" />
			<content type="html"><![CDATA[<p>Спасибо! <strong>Malcev</strong></p>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2019-03-04T12:23:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132775#p132775</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: IE_Controlsend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132774#p132774" />
			<content type="html"><![CDATA[<p><a href="http://forum.script-coding.com/viewtopic.php?id=14278">http://forum.script-coding.com/viewtopic.php?id=14278</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2019-03-04T11:45:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132774#p132774</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: IE_Controlsend]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=132773#p132773" />
			<content type="html"><![CDATA[<p>Добрый день! Подскажите пож-та, почта&nbsp; gmail, при прикреплении файла в письме, Controlsend не хочет работать, заранее спасибо!</p><div class="codebox"><pre><code>
#NoEnv  ; Recommended for performance and compatibility with future AutoHotkey releases.
; #Warn  ; Enable warnings to assist with detecting common errors.
SendMode Input  ; Recommended for new scripts due to its superior speed and reliability.
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.
#SingleInstance force 

ie := ComObjCreate(&quot;InternetExplorer.Application&quot;)
ie.Visible := true
ie.Navigate(&quot;https://mail.google.com/mail/u/1/#inbox&quot;)
while  ie.readyState!=4
	continue
  sleep 1000

FileSelectFile, Path, 3, %A_desktop% ,Open a file, Text Documents (*.doc; *.docx)

ie.document.getElementsByClassName(&quot;T-I J-J5-Ji T-I-KE L3&quot;)[0].click() ; написать

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

ie.document.getElementsByClassName(&quot;a1 aaA aMZ&quot;)[0].click()         ;  если убрать этот клик и нажимать вручную, то работает
sleep 200

SetKeyDelay, 60
WinWait,Выбор выкладываемого файла,
sleep 500
ControlSend , Edit1, %Path% {Enter}, Выбор выкладываемого файла

ExitApp
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[inseption86]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=38818</uri>
			</author>
			<updated>2019-03-04T11:12:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=132773#p132773</id>
		</entry>
</feed>
