<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: точка в конце сегмента после двойного нажатия Print Screen]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=11223&amp;type=atom" />
	<updated>2016-01-15T12:54:04Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=11223</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: точка в конце сегмента после двойного нажатия Print Screen]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100361#p100361" />
			<content type="html"><![CDATA[<p>Yalanne, огромное спасибо! Все работает.</p>]]></content>
			<author>
				<name><![CDATA[Maxim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32458</uri>
			</author>
			<updated>2016-01-15T12:54:04Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100361#p100361</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: точка в конце сегмента после двойного нажатия Print Screen]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100358#p100358" />
			<content type="html"><![CDATA[<p>Как то так:<br /></p><div class="codebox"><pre><code>vk2C::
End::
Home:: 
    HK := A_ThisHotkey, i := 0
    Loop  {  
        KeyWait, %HK%
        KeyWait, %HK%, D T0.3
    } Until !(++i) || ErrorLevel
    Try Gosub % HK &quot;_&quot; i
    Return

Home_1:
    SendInput ^{vk41}{Left}
    Return

Home_2:                        
    SendInput ^{vk41}{Right}{Backspace}
    Return
    
End_1:                 
    SendInput ^{vk41}{Right}
    Return
    
End_2:                       
    SendInput ^{vk41}{Right}:
    Return 

vk2C_1:
	Return

vk2C_2:
	SendInput ^{vk41}{Right}.
	Return </code></pre></div>]]></content>
			<author>
				<name><![CDATA[yalanne]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32850</uri>
			</author>
			<updated>2016-01-15T11:48:28Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100358#p100358</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: точка в конце сегмента после двойного нажатия Print Screen]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=100357#p100357" />
			<content type="html"><![CDATA[<p>Уважаемые форумчане, у меня есть хорошо работающий скрипт, который стирает последний символ в сегменте программы SDL Trados Sudio 2014 при двойном нажатии клавиши «Home» и ставит двоеточие поcле двойного нажатия клавиши «End» </p><p>У меня к Вам просьба, Вы не могли бы преобразовать этот скрипт таким образом, чтобы после двойного нажатия клавиши «Print Screen» (vk2C) в конце сегмента бы появлялась точка (.).</p><div class="codebox"><pre><code> #IfWinActive ahk_exe SDLTradosStudio.exe
End::
Home:: 
    HK := A_ThisHotkey, i := 0
    Loop  {  
        KeyWait, %HK%
        KeyWait, %HK%, D T0.3
    } Until !(++i) || ErrorLevel
    Try Gosub % HK &quot;_&quot; i
    Return

Home_1:
    SendInput ^{vk41}{Left}
    Return

Home_2:                        
    SendInput ^{vk41}{Right}{Backspace}
    Return
    
End_1:                 
    SendInput ^{vk41}{Right}
    Return
    
End_2:                       
    SendInput ^{vk41}{Right}:
    Return </code></pre></div>]]></content>
			<author>
				<name><![CDATA[Maxim]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=32458</uri>
			</author>
			<updated>2016-01-15T11:31:22Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=100357#p100357</id>
		</entry>
</feed>
