<?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=10237&amp;type=atom" />
	<updated>2014-12-15T08:57:37Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=10237</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89328#p89328" />
			<content type="html"><![CDATA[<p>всё, получилось<br /></p><div class="codebox"><pre><code>Gui, Margin, 0, 0</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Вася Пупкин]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24229</uri>
			</author>
			<updated>2014-12-15T08:57:37Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89328#p89328</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89327#p89327" />
			<content type="html"><![CDATA[<p>что то не сработало, так же надо?:</p><div class="codebox"><pre><code>#SingleInstance Force     
#Persistent 
#NoEnv
File := FileOpen( &quot;C:\all\slava\windows\explorer\Создать файл (текстовый)\logs\Edit.txt&quot;, &quot;r&quot;)
Gui Margin
Gui, Font, s11, Consolas
Gui, Add, Edit, gEdit vEdit w600 h333, % File.Read()
Gui, Show
Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Вася Пупкин]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24229</uri>
			</author>
			<updated>2014-12-15T08:54:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89327#p89327</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89324#p89324" />
			<content type="html"><![CDATA[<p>Gui Margin.</p>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-12-15T07:38:41Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89324#p89324</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89323#p89323" />
			<content type="html"><![CDATA[<p>Я уже начинаю хернёй заниматься, но всё же.<br />Я заметил, что у стандартного Блокнота <br />(показал курсором на картинке)<br />более тонкая рамка, чем у моего скрипта.<br />Можно что нибудь сделать, что бы было как у блокнота?</p><p><span class="postimg"><img src="http://cs14113.vk.me/c624230/v624230657/dbd2/_nRj22tqUHU.jpg" alt="http://cs14113.vk.me/c624230/v624230657/dbd2/_nRj22tqUHU.jpg" /></span></p>]]></content>
			<author>
				<name><![CDATA[Вася Пупкин]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24229</uri>
			</author>
			<updated>2014-12-15T07:35:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89323#p89323</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89320#p89320" />
			<content type="html"><![CDATA[<p><span class="postimg"><img src="http://cs14113.vk.me/c624230/v624230657/dbb2/Sq-BknWSsCU.jpg" alt="http://cs14113.vk.me/c624230/v624230657/dbb2/Sq-BknWSsCU.jpg" /></span></p><div class="codebox"><pre><code>#SingleInstance Force     
#Persistent 
#NoEnv
File := FileOpen( &quot;C:\all\slava\windows\explorer\Создать файл (текстовый)\logs\Edit.txt&quot;, &quot;r&quot;)
Gui, Font, s11, Consolas
Gui, Add, Edit, gEdit vEdit w600 h333, % File.Read()
Gui, Show
Return

Save:
    GuiControlGet, Edit
    File.Length := 0, File.Write(Edit)
    Return

Edit:
    SetTimer Save, -300
    Return

+Enter::
GuiClose:
    GuiControlGet, Edit
    If Edit =
        Return
    FileAppend, %Edit%,  % &quot;C:\all\slava\windows\explorer\Создать файл (текстовый)\logs\&quot; A_YYYY A_MM A_DD &quot;_&quot; A_Hour A_Min A_Sec &quot;.txt&quot;     
    
    ExitApp</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Вася Пупкин]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24229</uri>
			</author>
			<updated>2014-12-15T06:03:27Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89320#p89320</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89319#p89319" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>Gui, Font, s12</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-12-15T05:55:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89319#p89319</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89318#p89318" />
			<content type="html"><![CDATA[<p><span class="postimg"><img src="http://cs14113.vk.me/c624230/v624230657/dbaa/6em2WWBPOzs.jpg" alt="http://cs14113.vk.me/c624230/v624230657/dbaa/6em2WWBPOzs.jpg" /></span></p>]]></content>
			<author>
				<name><![CDATA[Вася Пупкин]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24229</uri>
			</author>
			<updated>2014-12-15T05:48:52Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89318#p89318</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89317#p89317" />
			<content type="html"><![CDATA[<p>молодец <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />спасибо</p>]]></content>
			<author>
				<name><![CDATA[Вася Пупкин]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24229</uri>
			</author>
			<updated>2014-12-15T05:41:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89317#p89317</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89315#p89315" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>+Enter::
Next:</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-12-15T05:24:16Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89315#p89315</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89313#p89313" />
			<content type="html"><![CDATA[<p>А как сделать, что бы кнопка &quot;Next&quot; нажималась по горячей клавише,<br />например по &quot;Shift+Enter&quot;.<br /><span class="postimg"><img src="http://cs14113.vk.me/c624230/v624230657/dba3/RJpzQ1bUX9c.jpg" alt="http://cs14113.vk.me/c624230/v624230657/dba3/RJpzQ1bUX9c.jpg" /></span></p>]]></content>
			<author>
				<name><![CDATA[Вася Пупкин]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24229</uri>
			</author>
			<updated>2014-12-15T05:08:23Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89313#p89313</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89312#p89312" />
			<content type="html"><![CDATA[<p>спасибо</p>]]></content>
			<author>
				<name><![CDATA[Вася Пупкин]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24229</uri>
			</author>
			<updated>2014-12-15T04:21:20Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89312#p89312</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89299#p89299" />
			<content type="html"><![CDATA[<p>А что магического в автосохранении?<br /></p><div class="codebox"><pre><code>
#SingleInstance Force     
#Persistent 
#NoEnv
File := FileOpen(A_Desktop &quot;\Edit.txt&quot;, &quot;rw&quot;)
Gui, Add, Edit, gEdit vEdit w333 h333, % File.Read()
Gui, Add, Button, gClean xp y+10 w100, Clean
Gui, Add, Button, gNext x+133 wp, Next 
Gui, Show
Return

Next:
    GuiControlGet, Edit
    If Edit =
        Return
    FileAppend, %Edit%, % A_Desktop &quot;\&quot; A_YYYY A_MM A_DD &quot;_&quot; A_Hour A_Min A_Sec &quot;.txt&quot;     
Clean:
    GuiControl, , Edit, 
Save:
    GuiControlGet, Edit
    File.Length := 0, File.Write(Edit)
    Return

Edit:
    SetTimer Save, -300
    Return

GuiClose:
    ExitApp
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[serzh82saratov]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=27879</uri>
			</author>
			<updated>2014-12-14T21:48:40Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89299#p89299</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89296#p89296" />
			<content type="html"><![CDATA[<p>Я не буду ничего искать. Это и не требуется. Не надо группировать.<br />Я просто хочу временно сохранить информацию.</p><p>1. Это как Корзина в Windows. <br />Я ложу туда файл, и если он мне ненужен, допустим, в течении месяца,<br />то Windows этот файл автоматически удаляет.</p><p>2. Ещё один пример. Я храню в буфере какую то информацию <br />и боюсь её потерять, т.к. такая информация хранится в оперативке.<br />Вдруг свет мигнёт или ещё какие проблемы с электричеством,<br />информация пропадёт. Или винда подвиснет, далее Reset, <br />опять информация потеряна. Тут мне и поможет этот сохранённый файлик.</p><p>3. Ещё пример. Я в браузере заполняю какую то форму длинную.<br />Формулирую, сочиняю статью какую нибудь. Периодически я такую инфомрацию<br />хочу сохранить. Ведь, такую информацию легко потерять, например случайно<br />нажал F5 или случайно кликнул по ссылке - информация потеряна, <br />или случайно закрыл вкладку или бразуер - информации опять нет.</p><p>4. И ещё много, много, всего ... Надоело перечислять <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p><p>p.s. На счёт заметок не совсем догнал. Сохранять всё в один файл думаю не стоит.<br />Этот файл разрастется до немыслимых размеров.</p><p>p.s. 2.sublime text - я так и не понял, эта прога может авто сохранять файл, так как мне надо?</p>]]></content>
			<author>
				<name><![CDATA[Вася Пупкин]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24229</uri>
			</author>
			<updated>2014-12-14T20:34:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89296#p89296</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89266#p89266" />
			<content type="html"><![CDATA[<p>А как вы будете потом искать, что написали среди безликих цифровых имен?<br />Тогда нужно прикручивать &quot;живой&quot; поиск по содержимому всех заметок.<br />Со временем у вас станет слишком много заметок, и придется группировать их по папкам.<br />В результате, у нас получился полноценный менеджер заметок!=)<br />Как например в опере12 или sublime text.(автосохранение, не нужно придумывать имя файла)</p><p>P.S. Возможно проще будет писать все заметки в один файл, а уже внутри него создавать структуру, как это сделано в вышеприведенных программах.</p>]]></content>
			<author>
				<name><![CDATA[stealzy]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=31937</uri>
			</author>
			<updated>2014-12-14T06:37:55Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89266#p89266</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Блокнот с Автосохранением]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=89258#p89258" />
			<content type="html"><![CDATA[<p>Gui<br />FormatTime<br />FileAppend</p>]]></content>
			<author>
				<name><![CDATA[Malcev]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26930</uri>
			</author>
			<updated>2014-12-13T14:15:54Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=89258#p89258</id>
		</entry>
</feed>
