<?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=17694&amp;type=atom" />
	<updated>2023-03-19T10:18:56Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17694</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157238#p157238" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong><br />Да, добавил, и всё заработало. Оказывается есть ещё люди, а я уж было отчаялся. Спасибо вам большое.</p>]]></content>
			<author>
				<name><![CDATA[Valivan77777]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40947</uri>
			</author>
			<updated>2023-03-19T10:18:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157238#p157238</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157229#p157229" />
			<content type="html"><![CDATA[<p><strong>Valivan77777</strong>, доработан. Берёте код из 10го сообщения, но в самое его начало добавляете строчку </p><div class="codebox"><pre><code>#persistent</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2023-03-18T18:20:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157229#p157229</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157228#p157228" />
			<content type="html"><![CDATA[<p><strong>ypppu</strong><br />Спасибо за участие. Запускаю скрипт, и тишина. Он не доработан, или это на моей стороне проблема?</p>]]></content>
			<author>
				<name><![CDATA[Valivan77777]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40947</uri>
			</author>
			<updated>2023-03-18T18:05:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157228#p157228</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157216#p157216" />
			<content type="html"><![CDATA[<p>Да, точно нужен #persistent. У меня в конце скрипта стояла горячая клавиша Reload для тестов, с ней всё работало. Код я выложил уже без неё.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2023-03-17T20:44:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157216#p157216</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157214#p157214" />
			<content type="html"><![CDATA[<p>Такое чувство, что нет.<br /></p><div class="quotebox"><blockquote><p>Use this directive to prevent the script from exiting after the auto-execute section (top part of the script) completes. This is useful in cases where a script contains timers and/or custom menu items but does not meet any of the other conditions listed above.</p></blockquote></div><p><a href="https://www.autohotkey.com/docs/v1/lib/_Persistent.htm">https://www.autohotkey.com/docs/v1/lib/_Persistent.htm</a></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-03-17T20:11:51Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157214#p157214</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157213#p157213" />
			<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>2023-03-17T20:08:57Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157213#p157213</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157212#p157212" />
			<content type="html"><![CDATA[<p>С самого начала скрипта запускается таймер, который каждые 2 секунды &quot;пинает&quot; подпрограмму. Подпрограмма должна завершиться при любом раскладе, что при запущенном Хроме, что при не запущенном Хроме. После подпрограммы &quot;эстафетная палочка&quot; передаётся обратно таймеру. И так по кругу.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2023-03-17T19:59:06Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157212#p157212</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157208#p157208" />
			<content type="html"><![CDATA[<p>Странно. <br />По идее, без #persistent скрипт должен выгружаться.</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-03-17T19:35:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157208#p157208</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157207#p157207" />
			<content type="html"><![CDATA[<p>Почему? У меня работает.</p>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2023-03-17T19:32:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157207#p157207</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157205#p157205" />
			<content type="html"><![CDATA[<p>Готовый неработающий скрипт. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-03-17T19:11:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157205#p157205</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157202#p157202" />
			<content type="html"><![CDATA[<p>OFF: <strong>Valivan77777</strong>, каюсь, я так и не отправил пожертвование в <a href="http://donate.mozilla.org">donate.mozilla.org</a>, за полтора десятка лет использования ихнего браузера. Поэтому вот вам готовый скрипт.<br /></p><div class="codebox"><pre><code>; Нужно чтобы сайт автоматом открывался каждый час когда Хром запущен.


MySite := &quot;https://ru.wikipedia.org/wiki/%D0%A1%D0%B0%D0%B9%D1%82&quot;
SetTimer, OpenMySite, 2000 ;SetTimer, Label, milliseconds
Return


OpenMySite:
Process, Exist, chrome.exe
If ErrorLevel &lt;&gt; 0  ; ТОЛЬКО КОГДА ХРОМ ЗАПУЩЕН
Run, &quot;C:\Program Files\Google\Chrome\Application\chrome.exe&quot; %MySite%
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[ypppu]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=5974</uri>
			</author>
			<updated>2023-03-17T16:33:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157202#p157202</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157196#p157196" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>Malcev пишет:</cite><blockquote><p>Для заказов есть Коммерческий раздел.</p></blockquote></div><p>Ну надеюсь тут все отблагодарили товарищей, программами которых вы тут все пользуетесь. Это радует.</p>]]></content>
			<author>
				<name><![CDATA[Valivan77777]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40947</uri>
			</author>
			<updated>2023-03-17T06:35:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157196#p157196</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157195#p157195" />
			<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>2023-03-16T20:09:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157195#p157195</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157194#p157194" />
			<content type="html"><![CDATA[<p>Впервые встречаю на форуме столько добрых, отзывчивых людей, даже удивительно.</p>]]></content>
			<author>
				<name><![CDATA[Valivan77777]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=40947</uri>
			</author>
			<updated>2023-03-16T19:57:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157194#p157194</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Открытие сайта в Хром, через определённый промежуток времени.]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=157193#p157193" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>__Михаил__ пишет:</cite><blockquote><p>Уж больно дорого</p></blockquote></div><p>Средняя почасовка в Америке.<br /><strong>Valivan77777</strong>, ну вот, у вас уже есть выбор. <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2023-03-16T19:08:18Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=157193#p157193</id>
		</entry>
</feed>
