<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Серый форум &mdash; AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
	<link rel="self" href="https://forum.script-coding.com/extern.php?action=feed&amp;tid=8207&amp;type=atom" />
	<updated>2014-02-13T12:30:46Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.script-coding.com/viewtopic.php?id=8207</id>
		<entry>
			<title type="html"><![CDATA[Re: AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80035#p80035" />
			<content type="html"><![CDATA[<p><span style="color: #008800"><strong>flud</strong>, ознакомьтесь с <a href="http://forum.script-coding.com/viewtopic.php?id=6148">этой</a> темой, отредактируйте свои сообщения.</span></p>]]></content>
			<author>
				<name><![CDATA[teadrinker]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=24515</uri>
			</author>
			<updated>2014-02-13T12:30:46Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80035#p80035</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80034#p80034" />
			<content type="html"><![CDATA[<p>Все ссылаются на эту страницу.</p>]]></content>
			<author>
				<name><![CDATA[flud]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29920</uri>
			</author>
			<updated>2014-02-13T11:33:17Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80034#p80034</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80023#p80023" />
			<content type="html"><![CDATA[<p>Может это как-то поможет: <a href="http://www.autohotkey.com/board/topic/55133-flashhtml-in-gui/#entry346213">http://www.autohotkey.com/board/topic/5 … ntry346213</a>?</p>]]></content>
			<author>
				<name><![CDATA[wisgest]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=3850</uri>
			</author>
			<updated>2014-02-13T06:51:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80023#p80023</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=80021#p80021" />
			<content type="html"><![CDATA[<p>Так нечего и не получилось.</p><p>всего то хотел сделать клиент для игры<br /><a href="http://www.transformice.com/TransformiceChargeur.swf">http://www.transformice.com/</a></p><p>перекопал все примеры с swf и пытался activex разобраться<br />если и удавалось Enter починить то ломался ctrl+v программа вообще вылетала с эррорм</p>]]></content>
			<author>
				<name><![CDATA[flud]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29920</uri>
			</author>
			<updated>2014-02-13T06:12:05Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=80021#p80021</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=74325#p74325" />
			<content type="html"><![CDATA[<p>Подниму-ка еще раз эту избитую тему, неужели не у кого такой проблемы нет?<br />проклятый этот Enter</p>]]></content>
			<author>
				<name><![CDATA[flud]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29920</uri>
			</author>
			<updated>2013-08-08T13:43:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=74325#p74325</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=71518#p71518" />
			<content type="html"><![CDATA[<p>К сожаление мой вариант тоже с костылями а точней не работает CTRL+V CTRL+C<br />как не пытался не как не получается решить задачу.</p><div class="codebox"><pre><code>
Gui, Color, FFFFFF
Gui, Show, w800 h600 , % ( Title := &quot;Transformice&quot; )

CLSID := &quot;{D27CDB6E-AE6D-11cf-96B8-444553540000}&quot;                

hModule := DllCall( &quot;LoadLibrary&quot;, Str,&quot;atl.dll&quot; ), DllCall( &quot;atl\AtlAxWinInit&quot; )
hCtrl := DllCall( &quot;CreateWindowEx&quot;, UInt,0, Str,&quot;AtlAxWin&quot;, UInt,&amp;CLSID, UInt,0x50000000
   , Int,0, Int,0, Int,800, Int,600, UInt,WinExist( Title ), UInt,0, UInt,0, UInt,0 )
DllCall( &quot;atl\AtlAxGetControl&quot;, UInt,hCtrl, UIntP,ppunk )
flash := ComObjEnwrap(ppunk), ObjRelease(ppunk)
ComObjConnect(flash, &quot;SWF_&quot;)

     flash.ScaleMode := 3
     flash.Menu := 0
     flash.Quality2 := &quot;High&quot;
     flash.AlignMode := &quot;8&quot;
     flash.Movie := &quot;http://condor.depaul.edu/sjost/hci430/flash-examples/swf4/key-up.swf&quot;

Return

Esc::
GuiClose:
 DllCall( NumGet(pwb+4*2),UInt,ppwb )
 ExitApp
 
Enter::
ControlSend, ppunk, {Enter}, &quot;AtlAxWin&quot;
</code></pre></div><p>натворил сам не понимаю что <img src="//forum.script-coding.com/img/smilies/neutral.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[flud]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29920</uri>
			</author>
			<updated>2013-04-18T06:31:56Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=71518#p71518</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=71111#p71111" />
			<content type="html"><![CDATA[<p>Понятно, спасибо.<br /></p><div class="codebox"><pre><code>Control, Style, -0x40000000,, ahk_id %hwndSWF% ; -0x40000000 — убрать стиль WS_CHILD</code></pre></div><p>Метка <em>GuiClose</em>&nbsp; будет активироваться при попытке закрытия окна, созданного без указания имени, уместно её заменить на SWFGuiClose, если SWF единственное окно скрипта.</p>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2013-04-05T19:11:59Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=71111#p71111</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=71110#p71110" />
			<content type="html"><![CDATA[<p>Благодарю, теперь вообще все просто получается .</p><p>А нашел я это играясь с WinSpy-ем и заметил что после удаления WS_CHILD у MacromediaFlashPlayerActiveX нажатия Enter работает, жаль не сразу понял что ActiveX является контролером а не окном 3 часа убил на поиски не существующего окна <img src="//forum.script-coding.com/img/smilies/tongue.png" width="15" height="15" /></p>]]></content>
			<author>
				<name><![CDATA[flud]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29920</uri>
			</author>
			<updated>2013-04-05T18:35:14Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=71110#p71110</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=71107#p71107" />
			<content type="html"><![CDATA[<p>Интересен путь поиска решения, раз уж разобрались — объясните другим <img src="//forum.script-coding.com/img/smilies/smile.png" width="15" height="15" /></p><p>Кстати, <br /><em>DetectHiddenWindows, on<br />+ToolWindow<br />+LastFound</em><br />Не нужны<br /><em>pwb </em>лучше переименовать в swf, например.<br /></p><div class="codebox"><pre><code>MouseGetPos, , , id, control
MsgBox %control%
Control, Style, 0x17000000, %control%</code></pre></div><p>Правильнее заменить на <br /></p><div class="codebox"><pre><code>
...
Gui, SWF:Add, ActiveX, w%A_ScreenWidth% h%A_ScreenHeight% vSWF hwndhwndSWF, ShockwaveFlash.ShockwaveFlash
...
Control, Style, 0x17000000,, ahk_id %hwndSWF% </code></pre></div>]]></content>
			<author>
				<name><![CDATA[creature.ws]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=26105</uri>
			</author>
			<updated>2013-04-05T14:49:34Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=71107#p71107</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=71100#p71100" />
			<content type="html"><![CDATA[<p>Сам разобрался, все отлично работает</p><div class="codebox"><pre><code>
#SingleInstance force
#NoEnv
#KeyHistory 0
#NoTrayIcon

DetectHiddenWindows, on
SetWorkingDir %A_ScriptDir%
Process, Priority, , High

Gui, SWF:Margin, 0, 0
Gui, SWF:-Caption -SysMenu +ToolWindow +Owner +ToolWindow +OwnDialogs +LastFound
Gui, SWF:Add, ActiveX, w%A_ScreenWidth% h%A_ScreenHeight% vpwb, ShockwaveFlash.ShockwaveFlash
Gui, SWF:Show, AutoSize Center Maximize

pwb.Movie := &quot;http://www.transformice.com/TransformiceChargeur.swf&quot;
pwb.Scale := &quot;noScale&quot;
pwb.AlignMode := &quot;8&quot;

MouseGetPos, , , id, control
MsgBox %control%
Control, Style, 0x17000000, %control%


Return

GuiClose: 
  Esc::
  Gui SWF:Destroy 
  ExitApp
Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[flud]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29920</uri>
			</author>
			<updated>2013-04-05T06:17:33Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=71100#p71100</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=71096#p71096" />
			<content type="html"><![CDATA[<p>Иностранные коллеги что то подсказали, но я все равно не понимаю</p><p><a href="http://www.autohotkey.com/board/topic/92017-enter-not-respond-in-flash-activex/">www.autohotkey.com/board</a></p>]]></content>
			<author>
				<name><![CDATA[flud]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29920</uri>
			</author>
			<updated>2013-04-04T21:39:36Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=71096#p71096</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[AHK: всё работает кроме {Enter} Flash ActiveX]]></title>
			<link rel="alternate" href="https://forum.script-coding.com/viewtopic.php?pid=71079#p71079" />
			<content type="html"><![CDATA[<p>Доброе время, прошу помощи разобраться в флеш игре совершенно не работает Enter.<br />Для проверки введите в игре ник и нажмите Enter, также нет возможности писать в чате, хотя все остальные кнопки вроде есть, всю ночь ломаю голову просто не понимаю что не так.</p><div class="codebox"><pre><code>
w = 800
h = 600

Gui, SWF: Margin, 0, 0
Gui, SWF: Add, ActiveX, xm w%w% h%h% vpwb, ShockwaveFlash.ShockwaveFlash
Gui, SWF: Show, AutoSize Center

pwb.Movie := &quot;http://www.transformice.com/TransformiceChargeur.swf&quot;
pwb.Scale := &quot;noScale&quot;
pwb.AlignMode := &quot;8&quot;
Return

GuiClose: 
  Esc::
  Gui, SWF: Destroy 
  ExitApp
Return
</code></pre></div>]]></content>
			<author>
				<name><![CDATA[flud]]></name>
				<uri>https://forum.script-coding.com/profile.php?id=29920</uri>
			</author>
			<updated>2013-04-04T01:06:38Z</updated>
			<id>https://forum.script-coding.com/viewtopic.php?pid=71079#p71079</id>
		</entry>
</feed>
