<?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=11218&amp;type=atom" />
	<updated>2016-01-18T14:25:11Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11218</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100495#p100495" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong></p><p>ОТ ДУШИ!!!</p>]]></content>
			<author>
				<name><![CDATA[tregalka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33600</uri>
			</author>
			<updated>2016-01-18T14:25:11Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100495#p100495</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100493#p100493" />
			<content type="html"><![CDATA[<div class="codebox"><pre><code>F11::
	SaveClipboard := ClipboardAll
	clip := Clipboard := &quot;&quot;
	Send ^{vk43}
	ClipWait, 0
	if !ErrorLevel
		clip := Clipboard
	Clipboard := SaveClipboard
	if (clip = &quot;&quot;)  {
		MsgBox, Данные не получены
		Return
	}
	Loop, parse, % clip, `n, `r
		FileSetAttrib, ^H, % A_LoopField, 2
	Return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-01-18T13:07:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100493#p100493</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100485#p100485" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong></p><p>А как быть с множественным выбором?) Меняет атрибут только по одному.</p>]]></content>
			<author>
				<name><![CDATA[tregalka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33600</uri>
			</author>
			<updated>2016-01-18T11:16:48Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100485#p100485</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100340#p100340" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>tregalka пишет:</cite><blockquote><p>кракозябры все равно</p></blockquote></div><p>Попробуйте сохранять скрипт в UTF-8.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-01-14T11:10:02Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100340#p100340</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100337#p100337" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong></p><p>Переустановил ahk, но кракозябры все равно.. Со временем думаю разберусь в чем дело!<br />В коде убрал команду FileGetAttrib с условием (она как бы и не нужна) Все работает!!!<br />Спасибо!!!.</p>]]></content>
			<author>
				<name><![CDATA[tregalka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33600</uri>
			</author>
			<updated>2016-01-14T10:01:13Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100337#p100337</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100330#p100330" />
			<content type="html"><![CDATA[<p>Да речь шла о папках, но команда вроде распространяется и на файлы тоже. И до этого код, который вы мне писали, я проверял и на файлах! <br />Вроде юникод версию устанавливал, качал ее с нового сайта ahk перейдя на него по ссылке с вашего сайта!<br />Хорошо сегодня попробую решить проблему! Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[tregalka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33600</uri>
			</author>
			<updated>2016-01-14T02:23:24Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100330#p100330</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100326#p100326" />
			<content type="html"><![CDATA[<div class="quotebox"><blockquote><p>появляется окно с кракозябрами</p></blockquote></div><p> Установите unicode-версию, кракозябров не будет. Изначально речь шла только о папках. Посмотрите на код внимательно, думаю, разберётесь, в чём проблема.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-01-13T19:37:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100326#p100326</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100324#p100324" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong></p><p>Только что обнаружил что при скрытии файла (в любом месте), появляется окно с кракозябрами <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" />.<br />Что то я от радости)) папки потестил, а про файлы забыл..</p>]]></content>
			<author>
				<name><![CDATA[tregalka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33600</uri>
			</author>
			<updated>2016-01-13T18:41:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100324#p100324</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100323#p100323" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong></p><p>ВЫ ГЕНИЙ!!! Все работает!!! И Везде!!! СПАСИБО!!!</p><p>Спасибо тебе господи, что есть такие люди! И тратят свое драгоценное время на таких лузеров как я <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" />.</p>]]></content>
			<author>
				<name><![CDATA[tregalka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33600</uri>
			</author>
			<updated>2016-01-13T18:02:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100323#p100323</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100322#p100322" />
			<content type="html"><![CDATA[<p>Так попробуйте:<br /></p><div class="codebox"><pre><code>F11::
	SaveClipboard := ClipboardAll
	clip := Clipboard := &quot;&quot;
	Send ^{vk43}
	ClipWait, 0
	if !ErrorLevel
		clip := Clipboard
	Clipboard := SaveClipboard
	if (clip = &quot;&quot;)  {
		MsgBox, Данные не получены
		Return
	}
	FileGetAttrib, attr, % clip
	if !InStr(attr, &quot;D&quot;)  {
		MsgBox, В переменной не путь к папке
		Return
	}
	FileSetAttrib, ^H, % clip, 2
	Return</code></pre></div><p>P.S. Предложения лучше <a href="http://forum.script-coding.com/viewtopic.php?id=6148">точкой заканчивать,</a> а не смайликом.</p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2016-01-13T17:39:08Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100322#p100322</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100319#p100319" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong></p><p>В обычном проводнике все работает на ура!!! <br />Извини что пришлось тебе помучиться, чтобы понять что у меня там за фигня, почему не работает. <br />Я ведь сам не знал, что такое бывает <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /><br />А теперь вопрос, как сделать чтобы это дело в Clovere хотело работать? Без него как без рук <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[tregalka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33600</uri>
			</author>
			<updated>2016-01-13T16:46:15Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100319#p100319</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100318#p100318" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong></p><p>Да окно в этом моменты выделено! Только вот проводник у меня не стандартный <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /> (clover) может из за этого ошибка? Сейчас попробую стандартным! <br />Как мне дальше сделать, чтобы атрибут менялся! <br />Я просто снизу дописал строку FileSetAttrib, ^H, % Explorer_GetSelected() Как и стоило ожидать, ничего не происходит <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[tregalka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33600</uri>
			</author>
			<updated>2016-01-13T16:40:26Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100318#p100318</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100317#p100317" />
			<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>2016-01-13T16:12:43Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100317#p100317</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100315#p100315" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong></p><p>Здаровки! Потестил еще раз! 1й вариант так же пустое окно <img src="//forum.script-coding.com/img/smilies/sad.png" width="15" height="15" /> , а&nbsp; 2й вариант рабочий! Но только показывает путь когда папка или файл на рабочем столе. Если в другом месте то выходит окно с (ERROR)</p>]]></content>
			<author>
				<name><![CDATA[tregalka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33600</uri>
			</author>
			<updated>2016-01-13T15:40:25Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100315#p100315</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Изменить атрибуты выделенной папки]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100308#p100308" />
			<content type="html"><![CDATA[<p><strong>teadrinker</strong></p><p>Ок! Потом попробую разобраться! Спасибо!</p>]]></content>
			<author>
				<name><![CDATA[tregalka]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=33600</uri>
			</author>
			<updated>2016-01-13T12:12:29Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100308#p100308</id>
		</entry>
</feed>
