<?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=17569&amp;type=atom" />
	<updated>2023-01-25T04:10:58Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=17569</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Считывание параметра по нажатию на картинку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156486#p156486" />
			<content type="html"><![CDATA[<p>Спасибо огромное, родина тебя не забудет<strong>Taveron</strong></p>]]></content>
			<author>
				<name><![CDATA[shkvrk]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42980</uri>
			</author>
			<updated>2023-01-25T04:10:58Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156486#p156486</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: Считывание параметра по нажатию на картинку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156485#p156485" />
			<content type="html"><![CDATA[<p>Попробуйте так:<br /></p><div class="codebox"><pre><code>
SendInput, /veh %A_GuiControl%
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[Taveron]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=41949</uri>
			</author>
			<updated>2023-01-25T03:22:44Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156485#p156485</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: Считывание параметра по нажатию на картинку]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=156484#p156484" />
			<content type="html"><![CDATA[<p>Привет. Подскажите пожалуйста, сделал вот я GUI. Мне нужно, чтобы по нажатию на картинку, параметр v993rwb автоматически вставлялся в строку &quot;SendInput, /veh&quot;. Что необходимо добавить, чтобы у меня это получилось?</p><div class="codebox"><pre><code>vehicletest:
Gui, New, +hwndHGUI
Gui, Margin, 5, 5
Gui, Color, 1c1c1c	
Gui, Font, c0xFFFFFF
Gui, Font, s7
Gui Add, Picture, x10 y10 w155 h150 gtestspawn v993rwb BackgroundTrans, %A_ScriptDir%/img/roulette/1/993rwb.png
Global SG98 := New ScrollGUI(HGUI, 870, 700, &quot;+Resize +LabelGui98&quot;, 3, 4)
SG98.Show(&quot;TEST&quot;, &quot;ycenter xcenter&quot;)
Return
return
Gui98Close:
Gui98Escape:
 SG98 := &quot;&quot;
Gui98Size:
return
return

testspawn:
Process, Exist, ragemp_v.exe
WinActivate ahk_exe ragemp_v.exe
sleep 600
SendInput, {sc14}
Sleep 50
SendInput, /veh %%
return</code></pre></div>]]></content>
			<author>
				<name><![CDATA[shkvrk]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=42980</uri>
			</author>
			<updated>2023-01-25T00:11:01Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=156484#p156484</id>
		</entry>
</feed>
