<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[Серый форум &mdash; AutoHotkey: Очистка списка недавно используемых документов и корзины]]></title>
		<link>https://forum.script-coding.com/viewtopic.php?id=2581</link>
		<atom:link href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=2581&amp;type=rss" rel="self" type="application/rss+xml" />
		<description><![CDATA[Недавние сообщения в теме «AutoHotkey: Очистка списка недавно используемых документов и корзины».]]></description>
		<lastBuildDate>Mon, 15 Dec 2008 19:26:57 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[AutoHotkey: Очистка списка недавно используемых документов и корзины]]></title>
			<link>https://forum.script-coding.com/viewtopic.php?pid=17215#p17215</link>
			<description><![CDATA[<p>Очистка списка недавно используемых документов и корзины.<br /></p><div class="codebox"><pre><code>#Persistent
szMessage = Would you like to clear the recent document menu and empty the Recycle bin?
szTitle = Cleaner

iButton := DllCall(&quot;MessageBox&quot;, int, 0, str, szMessage, str, szTitle, int, 4)
; Если нажата клавиша &quot;Да&quot;
If (iButton = 6) 
{
DllCall(&quot;shell32.dll\SHAddToRecentDocs&quot;, str, &quot;SHARD_PATH&quot;, int, 0)
; Вызов функции SHAddToRecentDocs
DllCall(&quot;shell32.dll\SHEmptyRecycleBin&quot;, int, 0, int, 0, str, &quot;SHERB_NOCONFIRMATION+SHERB_NOPROGRESSUI+SHERB_NOSOUND&quot;)
; Вызов функции SHEmptyRecycleBin

TrayTip, Cleaner, Recycle bin and recent document menu - is clear...
SetTimer, RemoveTrayTip, 5000
Return

RemoveTrayTip:
SetTimer, RemoveTrayTip, Off
TrayTip
ExitApp
Return
}
ExitApp</code></pre></div><p>Использована API библиотека &quot;Shell32.dll&quot;.</p>]]></description>
			<author><![CDATA[null@example.com (Archangel)]]></author>
			<pubDate>Mon, 15 Dec 2008 19:26:57 +0000</pubDate>
			<guid>https://forum.script-coding.com/viewtopic.php?pid=17215#p17215</guid>
		</item>
	</channel>
</rss>
