View Full Version : Appa question
stata
08-23-2013, 08:46 AM
I'm trying to get APPA to work with a flash game. So far I've been able to get it to the URL, but I can't seem to set the target as the flash game
sample code shows setting the target like so for a flash app
appa_SetTargetName('MacromediaFlashPlayerActiveX')
my question is, how do you figure out what the name of your target is? 'MacromediaFlashPlayerActiveX' is not working for me :(
bgtemp
08-24-2013, 12:40 AM
Hi,
Use appa_GetTargets()
var s : Tstringarray;
begin
appa_GetTargets(s);
writeln(s);
end;
You will get something like:
['"Shell DocObject View":1377150', '"Internet Explorer_Server":918576', '"MacromediaFlashPlayerActiveX":525172']
In my scripts I use appa_SetTargetHandle() instead of using target's name.
btw.
wrong section :/
stata
08-24-2013, 10:29 PM
Thanks! Where the hell is the right section btw?
Also, is there a workaround for the broken KeyDown/KeyUp functions? I need to do a ctrl+click and I don't see a way to this using sendkeys!
bgtemp
08-25-2013, 08:27 PM
Oh ,you've cought the biggest problem in APPA. I believe there is no way to bypass this bug without fixing source code. But I will think about it.
btw.
I think here http://villavu.com/forum/forumdisplay.php?f=486
Powered by vBulletin® Version 4.2.1 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.