<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=14278&amp;type=atom" />
	<updated>2023-10-19T22:34:23Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=14278</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=159391#p159391" />
			<content type="html"><![CDATA[<p>В функции UnFreeze() ничего криминального нет, а в целом не могу сказать, особенно учитывая, что IE может работать сейчас неполноценно.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2023-10-19T22:34:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=159391#p159391</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=159390#p159390" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong>, не знаешь насколько верно будет использовать данный код в цикле?<br /></p><div class="codebox"><pre><code>loop
{
   UnFreeze(200, Func(&quot;MyFunc&quot;))
   oIE.document.querySelector(&quot;input[type=&quot;&quot;file&quot;&quot;]&quot;).click()
   msgbox unfreeze
}</code></pre></div><p>Есть ли какие подводные камни?<br /></p><div class="codebox"><pre><code>oIE := ComObjCreate(&quot;InternetExplorer.Application&quot;)
OnExit( Func(&quot;IeQuit&quot;).Bind(oIE) )
oIE.visible := true
oIE.navigate(&quot;https://www.youtube.com/upload&quot;)
While oIE.readyState != 4 || oIE.document.readyState != &quot;complete&quot; || oIE.busy
   Sleep, 10

loop
{
   UnFreeze(200, Func(&quot;MyFunc&quot;))
   oIE.document.querySelector(&quot;input[type=&quot;&quot;file&quot;&quot;]&quot;).click()
   msgbox unfreeze
}

MyFunc()  {
   Loop  {
      if WinExist(&quot;ahk_class #32770 ahk_exe IEXPLORE.EXE&quot;)  {
         MsgBox, do stuff here
         break
      }
      Sleep, 100
   }
}

IeQuit(oIE)  {
   if WinExist(&quot;ahk_class #32770 ahk_exe IEXPLORE.EXE&quot;)
      ControlClick, Button2
   try oIE.Quit()
}

UnFreeze(timeOut, userFunc)  {
   static SYNCHRONIZE := 0x100000, hGui, oInfo := {}
        , _ := OnMessage( msg := DllCall(&quot;RegisterWindowMessage&quot;, Str, &quot;WM_INFO&quot;), Func(&quot;WM_INFO&quot;).Bind(oInfo) )
   if !hGui
      Gui, New, +hwndhGui
   hProc := DllCall(&quot;OpenProcess&quot;, UInt, SYNCHRONIZE, UInt, 0, UInt, DllCall(&quot;GetCurrentProcessId&quot;), Ptr)
   pPtr := GetProcAddr(hProc, hGui, msg, timeOut)
   oInfo.func := userFunc, oInfo.hProc := hProc
   DllCall(&quot;CreateThread&quot;, Ptr, 0, Ptr, 0, Ptr, pPtr, Ptr, 0, UInt, 0, Ptr, 0)
}

WM_INFO(oInfo)
{
   DllCall(&quot;CloseHandle&quot;, Ptr, oInfo.hProc)
   oInfo.func.Call()
}

GetProcAddr(Handle, hWnd, Msg, Timeout=-1)
{  ; на основе http://forum.script-coding.com/viewtopic.php?pid=56073#p56073
   static MEM_COMMIT := 0x1000, PAGE_EXECUTE_READWRITE := 0x40
   ptr := DllCall(&quot;VirtualAlloc&quot;, Ptr, 0, Ptr, A_PtrSize = 4 ? 49 : 85, UInt, MEM_COMMIT, UInt, PAGE_EXECUTE_READWRITE, Ptr)
   , hModule := DllCall(&quot;GetModuleHandle&quot;, Str, &quot;kernel32.dll&quot;, Ptr)
   , pWaitForSingleObject := DllCall(&quot;GetProcAddress&quot;, Ptr, hModule, AStr, &quot;WaitForSingleObject&quot;, Ptr)
   , hModule := DllCall(&quot;GetModuleHandle&quot;, Str, &quot;user32.dll&quot;, Ptr)
   , pSendMessageW := DllCall(&quot;GetProcAddress&quot;, Ptr, hModule, AStr, &quot;SendMessageW&quot;, Ptr)
   , NumPut(pWaitForSingleObject, ptr*1)
   , NumPut(pSendMessageW, ptr + A_PtrSize)
   if (A_PtrSize = 4)  {
      NumPut(0x68, ptr + 8, &quot;UChar&quot;)
      , NumPut(Timeout, ptr + 9, &quot;UInt&quot;), NumPut(0x68, ptr + 13, &quot;UChar&quot;)
      , NumPut(Handle, ptr + 14), NumPut(0x15FF, ptr + 18, &quot;UShort&quot;)
      , NumPut(ptr, ptr + 20), NumPut(0x6850, ptr + 24, &quot;UShort&quot;)
      , NumPut(Handle, ptr + 26), NumPut(0x68, ptr + 30, &quot;UChar&quot;)
      , NumPut(Msg, ptr + 31, &quot;UInt&quot;), NumPut(0x68, ptr + 35, &quot;UChar&quot;)
      , NumPut(hWnd, ptr + 36), NumPut(0x15FF, ptr + 40, &quot;UShort&quot;)
      , NumPut(ptr+4, ptr + 42), NumPut(0xC2, ptr + 46, &quot;UChar&quot;), NumPut(4, ptr + 47, &quot;UShort&quot;)
   }
   else  {
      NumPut(0x53, ptr + 16, &quot;UChar&quot;)
      , NumPut(0x20EC8348, ptr + 17, &quot;UInt&quot;), NumPut(0xBACB8948, ptr + 21, &quot;UInt&quot;)
      , NumPut(Timeout, ptr + 25, &quot;UInt&quot;), NumPut(0xB948, ptr + 29, &quot;UShort&quot;)
      , NumPut(Handle, ptr + 31), NumPut(0x15FF, ptr + 39, &quot;UShort&quot;)
      , NumPut(-45, ptr + 41, &quot;UInt&quot;), NumPut(0xB849, ptr + 45, &quot;UShort&quot;)
      , NumPut(Handle, ptr + 47), NumPut(0xBA, ptr + 55, &quot;UChar&quot;)
      , NumPut(Msg, ptr + 56, &quot;UInt&quot;), NumPut(0xB948, ptr + 60, &quot;UShort&quot;)
      , NumPut(hWnd, ptr + 62), NumPut(0xC18941, ptr + 70, &quot;UInt&quot;)
      , NumPut(0x15FF, ptr + 73, &quot;UShort&quot;), NumPut(-71, ptr + 75, &quot;UInt&quot;)
      , NumPut(0x20C48348, ptr + 79, &quot;UInt&quot;), NumPut(0xC35B, ptr + 83, &quot;UShort&quot;)
   }
   return ptr + A_PtrSize*2
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-10-19T22:26:00Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=159390#p159390</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129579#p129579" />
			<content type="html"><![CDATA[<p>OFF: блин, что они с сайтом сделали. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> Раньше можно было выбрать цветовую тему, добавляя к ссылке определённый код, например <em>style=17</em>, но сейчас это не работает, страница не форматируется.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-11-01T14:42:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129579#p129579</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129578#p129578" />
			<content type="html"><![CDATA[<p>Запостил твоё решение на оффоруме.<br /><a href="https://autohotkey.com/boards/viewtopic.php?p=247253#p247253">https://autohotkey.com/boards/viewtopic … 53#p247253</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-11-01T14:26:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129578#p129578</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129537#p129537" />
			<content type="html"><![CDATA[<p>Вот так работает:<br /></p><div class="codebox"><pre><code>oIE := ComObjCreate(&quot;InternetExplorer.Application&quot;)
OnExit( Func(&quot;IeQuit&quot;).Bind(oIE) )
oIE.visible := true
oIE.navigate(&quot;https://www.youtube.com/upload&quot;)
While oIE.readyState != 4 || oIE.document.readyState != &quot;complete&quot; || oIE.busy
   Sleep, 10

UnFreeze(200, Func(&quot;MyFunc&quot;))
oIE.document.querySelector(&quot;input[type=&quot;&quot;file&quot;&quot;]&quot;).click()

MyFunc()  {
   Loop  {
      if WinExist(&quot;ahk_class #32770 ahk_exe IEXPLORE.EXE&quot;)  {
         MsgBox, do stuff here
         break
      }
      Sleep, 100
   }
}

IeQuit(oIE)  {
   if WinExist(&quot;ahk_class #32770 ahk_exe IEXPLORE.EXE&quot;)
      ControlClick, Button2
   try oIE.Quit()
}

UnFreeze(timeOut, userFunc)  {
   static SYNCHRONIZE := 0x100000, hGui, oInfo := {}
        , _ := OnMessage( msg := DllCall(&quot;RegisterWindowMessage&quot;, Str, &quot;WM_INFO&quot;), Func(&quot;WM_INFO&quot;).Bind(oInfo) )
   if !hGui
      Gui, New, +hwndhGui
   hProc := DllCall(&quot;OpenProcess&quot;, UInt, SYNCHRONIZE, UInt, 0, UInt, DllCall(&quot;GetCurrentProcessId&quot;), Ptr)
   pPtr := GetProcAddr(hProc, hGui, msg, timeOut)
   oInfo.func := userFunc, oInfo.hProc := hProc
   DllCall(&quot;CreateThread&quot;, Ptr, 0, Ptr, 0, Ptr, pPtr, Ptr, 0, UInt, 0, Ptr, 0)
}

WM_INFO(oInfo)
{
   DllCall(&quot;CloseHandle&quot;, Ptr, oInfo.hProc)
   oInfo.func.Call()
}

GetProcAddr(Handle, hWnd, Msg, Timeout=-1)
{  ; на основе http://forum.script-coding.com/viewtopic.php?pid=56073#p56073
   static MEM_COMMIT := 0x1000, PAGE_EXECUTE_READWRITE := 0x40
   ptr := DllCall(&quot;VirtualAlloc&quot;, Ptr, 0, Ptr, A_PtrSize = 4 ? 49 : 85, UInt, MEM_COMMIT, UInt, PAGE_EXECUTE_READWRITE, Ptr)
   , hModule := DllCall(&quot;GetModuleHandle&quot;, Str, &quot;kernel32.dll&quot;, Ptr)
   , pWaitForSingleObject := DllCall(&quot;GetProcAddress&quot;, Ptr, hModule, AStr, &quot;WaitForSingleObject&quot;, Ptr)
   , hModule := DllCall(&quot;GetModuleHandle&quot;, Str, &quot;user32.dll&quot;, Ptr)
   , pSendMessageW := DllCall(&quot;GetProcAddress&quot;, Ptr, hModule, AStr, &quot;SendMessageW&quot;, Ptr)
   , NumPut(pWaitForSingleObject, ptr*1)
   , NumPut(pSendMessageW, ptr + A_PtrSize)
   if (A_PtrSize = 4)  {
      NumPut(0x68, ptr + 8, &quot;UChar&quot;)
      , NumPut(Timeout, ptr + 9, &quot;UInt&quot;), NumPut(0x68, ptr + 13, &quot;UChar&quot;)
      , NumPut(Handle, ptr + 14), NumPut(0x15FF, ptr + 18, &quot;UShort&quot;)
      , NumPut(ptr, ptr + 20), NumPut(0x6850, ptr + 24, &quot;UShort&quot;)
      , NumPut(Handle, ptr + 26), NumPut(0x68, ptr + 30, &quot;UChar&quot;)
      , NumPut(Msg, ptr + 31, &quot;UInt&quot;), NumPut(0x68, ptr + 35, &quot;UChar&quot;)
      , NumPut(hWnd, ptr + 36), NumPut(0x15FF, ptr + 40, &quot;UShort&quot;)
      , NumPut(ptr+4, ptr + 42), NumPut(0xC2, ptr + 46, &quot;UChar&quot;), NumPut(4, ptr + 47, &quot;UShort&quot;)
   }
   else  {
      NumPut(0x53, ptr + 16, &quot;UChar&quot;)
      , NumPut(0x20EC8348, ptr + 17, &quot;UInt&quot;), NumPut(0xBACB8948, ptr + 21, &quot;UInt&quot;)
      , NumPut(Timeout, ptr + 25, &quot;UInt&quot;), NumPut(0xB948, ptr + 29, &quot;UShort&quot;)
      , NumPut(Handle, ptr + 31), NumPut(0x15FF, ptr + 39, &quot;UShort&quot;)
      , NumPut(-45, ptr + 41, &quot;UInt&quot;), NumPut(0xB849, ptr + 45, &quot;UShort&quot;)
      , NumPut(Handle, ptr + 47), NumPut(0xBA, ptr + 55, &quot;UChar&quot;)
      , NumPut(Msg, ptr + 56, &quot;UInt&quot;), NumPut(0xB948, ptr + 60, &quot;UShort&quot;)
      , NumPut(hWnd, ptr + 62), NumPut(0xC18941, ptr + 70, &quot;UInt&quot;)
      , NumPut(0x15FF, ptr + 73, &quot;UShort&quot;), NumPut(-71, ptr + 75, &quot;UInt&quot;)
      , NumPut(0x20C48348, ptr + 79, &quot;UInt&quot;), NumPut(0xC35B, ptr + 83, &quot;UShort&quot;)
   }
   return ptr + A_PtrSize*2
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-10-29T08:31:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129537#p129537</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129533#p129533" />
			<content type="html"><![CDATA[<p>А, нет, я перед этим вручную на кнопку загрузки кликнул, потому что через IE сначала авторизоваться пришлось. Если скрипт кликает, тогда не срабатывает.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-10-28T19:27:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129533#p129533</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129531#p129531" />
			<content type="html"><![CDATA[<p>У меня срабатывает без клика:</p><p><span class="postimg"><img src="https://i.imgur.com/sXtsSON.png" alt="https://i.imgur.com/sXtsSON.png" /></span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-10-28T19:17:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129531#p129531</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129528#p129528" />
			<content type="html"><![CDATA[<p>Таймер сработает только если после появления окна для загрузки файлов кликнуть вручную правой кнопкой мыши на иконку запущенного скрипта.<br />Так что похоже не вариант.<br /></p><div class="codebox"><pre><code>#persistent
DllCall(&quot;SetTimer&quot;, Ptr, A_ScriptHwnd, Ptr, id := 1, UInt, 50, Ptr, RegisterCallback(&quot;MyTimer&quot;, &quot;F&quot;))

oIE := ComObjCreate(&quot;InternetExplorer.Application&quot;) 
oIE.visible := True, oIEHWND := oIE.HWND 
WinMaximize ahk_id %oIEHWND%  
oIE.navigate(&quot;https://www.youtube.com/upload&quot;)
While oIE.readyState != 4 || oIE.document.readyState != &quot;complete&quot; || oIE.busy
   Sleep, 10
oIE.document.querySelector(&quot;input[type=&quot;&quot;file&quot;&quot;]&quot;).click()



MyTimer()
{
   Global n
   n++
   if winexist(&quot;ahk_class #32770 ahk_exe IEXPLORE.EXE&quot;)
   {
      tooltip work
      DllCall(&quot;KillTimer&quot;, Ptr, A_ScriptHwnd, Ptr, id := 1)
      msgbox
   }
   tooltip % n
}</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-10-28T18:20:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129528#p129528</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129521#p129521" />
			<content type="html"><![CDATA[<p>Тут уж от исполнения зависит.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-10-27T20:34:19Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129521#p129521</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129519#p129519" />
			<content type="html"><![CDATA[<p>Да, действительно не замораживается.<br />Но вряд ли код с использованием этого таймера выйдет изящнее.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-10-27T19:38:47Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129519#p129519</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129507#p129507" />
			<content type="html"><![CDATA[<p>Существует такой таймер на WinApi: <a href="https://docs.microsoft.com/en-us/windows/desktop/api/winuser/nf-winuser-settimer">SetTimer</a><br />Он не замораживается.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-10-26T21:48:21Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129507#p129507</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129503#p129503" />
			<content type="html"><![CDATA[<p>Сомневаюсь, так как IE останавливает поток скрипта, возможно из-за защиты от загрузки файлов без согласия пользователя.<br />Вариант использовать AHK_H который поддерживает многопоточность.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-10-26T20:21:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129503#p129503</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129501#p129501" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>g0ss пишет:</cite><blockquote><p>Думал, что есть более изящное решение</p></blockquote></div><p>Скорее всего, можно решить вопрос с помощью таймера.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2018-10-26T20:03:49Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129501#p129501</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129483#p129483" />
			<content type="html"><![CDATA[<p>Я делал:<br /></p><div class="codebox"><pre><code>
Run, winwait.ahk

;Далее код winwait.ahk
WinWait, Choose File to Upload,
IfWinNotActive, Choose File to Upload, , WinActivate, Choose File to Upload,
WinWaitActive, Choose File to Upload,
Click 240, 150
ExitApp</code></pre></div><p>Думал, что есть более изящное решение, но все ровно спасибо. Может быть знаете, почему не работают горячие клавиши?</p>]]></content>
			<author>
				<name><![CDATA[g0ss]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29338</uri>
			</author>
			<updated>2018-10-26T11:39:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129483#p129483</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Скрипт застывает при открытии окна загрузки файла на сайт]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=129480#p129480" />
			<content type="html"><![CDATA[<p>Перед нажатием на кнопку, после которого появляется окошко для загрузки, запускайте отдельный скрипт, который это окошко будет ожидать и при его появлнии заполнять и закрывать.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2018-10-26T11:27:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=129480#p129480</id>
		</entry>
</feed>
