Jump to content

Recommended Posts

First I want to explain that this will be no gaming script. I'm doing a script that will enable all shaders, one after another, to take a screenshot of each one. To compare them and so on. Also RetroArch is single player, so it shouldn't matter that much anyway I suppose.

So to my issue: the Send() function doesn't seem to work at all in RetroArch. Send("DOWN") for example does nothing. Is there a way I can somehow force RetroArch to listen to AutoIt's Send() functions?

Share this post


Link to post
Share on other sites

Oh shit sorry I wrote wrong in my post! Send("{DOWN}") is what I have in my code. It works everywhere else, but not in RetroArch.

Sleep(5000)
Send("{DOWN}")

Share this post


Link to post
Share on other sites

Use the spy tool that comes with this :

 

If the tool can read the controls, it means you can interact with them...

You can also use the wrappers (see FAQ 31).

Share this post


Link to post
Share on other sites

My guess is that RetroArch listens directly to the hardware on a lower level, so the virtual key events sent by AutoIt are useless. If this is true, your best bet is to use a virtual keyboard driver which emulates a physical keyboard. No idea if such a thing exists in the wild yet.

Also, I don't think RetroArch exposes an interface which UIAutomation could use.

Share this post


Link to post
Share on other sites
6 minutes ago, Nine said:

Use the spy tool that comes with this :

I don't know why, but when I try and run UIASpy.au3 I get an erro r.

scrn11824.png.59895e39cc4d34137f33a09cb48d76fd.png

The code says:

#include "Includes\GuiIncludes\UIASpy_Gui.au3"

But the path is right...

Share this post


Link to post
Share on other sites

Install? It only contain a bunch of includes. I put them together with the Spy includes, but still the same error.

Share this post


Link to post
Share on other sites
1 hour ago, TheDcoder said:

My guess is that RetroArch listens directly to the hardware on a lower level, so the virtual key events sent by AutoIt are useless. If this is true, your best bet is to use a virtual keyboard driver which emulates a physical keyboard. No idea if such a thing exists in the wild yet.

Also, I don't think RetroArch exposes an interface which UIAutomation could use.

That could be the case. But I hope not. 🤔

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...