<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AHK: Копирование из экселя в хром]]></title>
		<link>http://forum.script-coding.com/viewtopic.php?id=13635</link>
		<atom:link href="http://forum.script-coding.com/extern.php?action=feed&amp;tid=13635&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AHK: Копирование из экселя в хром».]]></description>
		<lastBuildDate>Wed, 18 Apr 2018 16:01:34 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: AHK: Копирование из экселя в хром]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=124794#p124794</link>
			<description><![CDATA[<p>Автоматизирование хрома через send+click ненадежно.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Wed, 18 Apr 2018 16:01:34 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=124794#p124794</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Копирование из экселя в хром]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=124793#p124793</link>
			<description><![CDATA[<div class="codebox"><pre><code>
SetWorkingDir %A_ScriptDir%  ; Ensures a consistent starting directory.

$^1::
Setkeydelay, 35

FileSelectFile, Path, 3, , Open Excel File, Excel File (*.xls; *.xlsx)
if Path =
	ExitApp
Xl := ComObjCreate(&quot;Excel.Application&quot;)
Xl.Workbooks.Open(Path) ;open an existing file
Xl.Visible := True
if Errorlevel
{
	MsgBox, % &quot;Error opening excel file! Exiting...&quot;
	ExitApp
}

Sheet_Titles =
global Sheet_To_Calculate := 0 
loop, % xl.Sheets.Count
	Sheet_Titles .= A_Index . &quot;: &quot; . xl.Sheets(A_Index).Name . &quot;`n&quot;
While Sheet_To_Calculate &lt; 1 || Sheet_To_Calculate &gt; xl.Sheets.Count || !IF_Integer(Sheet_To_Calculate)
	inputbox, Sheet_To_Calculate, % Xl.ActiveWorkbook.Name, %Sheet_Titles%, , , , , , , , 1
if ErrorLevel
	ExitApp

global Current_Row := -1
While Current_Row &lt; 1 || !IF_Integer(Current_Row)
	inputbox, Current_Row, % Xl.ActiveWorkbook.Name, % &quot;Enter the row to start on.&quot;, , , , , , , , 2
if ErrorLevel
	ExitApp


while Xl.Sheets(Sheet_To_Calculate).Range(&quot;B&quot; . Current_Row).Value != &quot;&quot;
{
	
B_stored := Xl.Sheets(Sheet_To_Calculate).Range(&quot;B&quot; . Current_Row).Value
	
	
	
ControlFocus,, ahk_class Chrome_WidgetWin_1
Sleep 550
	
	
Click, 242, 318, 2
Sleep 150
Send %B_stored%
send {enter}
Sleep 2000
Click, 225, 432, 2
send {vk43}
	
	
; Move to the next row
	Current_Row++
}

MsgBox, % &quot;Done! :)&quot;
ExitApp</code></pre></div><p>Чтобы ячейка экселя копировалась в хром сделал, выделил найденную инфу, а как скопировать её назад в эксель и так до конца заданных строк?</p>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Wed, 18 Apr 2018 15:53:32 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=124793#p124793</guid>
		</item>
		<item>
			<title><![CDATA[Re: AHK: Копирование из экселя в хром]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=124791#p124791</link>
			<description><![CDATA[<p>Можно автоматизировать excel через com, также хром можно автоматизировать через selenium либо через Chrome DevTools Protocol.<br />Пользуйтесь поиском.</p>]]></description>
			<author><![CDATA[null@example.com (Malcev)]]></author>
			<pubDate>Wed, 18 Apr 2018 13:34:38 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=124791#p124791</guid>
		</item>
		<item>
			<title><![CDATA[AHK: Копирование из экселя в хром]]></title>
			<link>http://forum.script-coding.com/viewtopic.php?pid=124790#p124790</link>
			<description><![CDATA[<p>Здравствуйте, подскажите пож-та возможно ли автоматизировать рутинную работу, например, имеется xls, в столбце А с некоторым количеством строк данные, необходимо копирование одной ячейки в хром в определенную координату и полученный результат скопировать обратно в xls в столбец Б и также&nbsp; ко всеми остальными ячейками.</p>]]></description>
			<author><![CDATA[null@example.com (inseption86)]]></author>
			<pubDate>Wed, 18 Apr 2018 12:12:43 +0000</pubDate>
			<guid>http://forum.script-coding.com/viewtopic.php?pid=124790#p124790</guid>
		</item>
	</channel>
</rss>
