Jump to content

AutoitX.ControlSend stopped working why ?


Chocolade
 Share

Recommended Posts

I added to my project in c# referenced the dll's : AutoitX3.Assembly.dll and AutoitX3Lib.dll

In my code i'm trying to simulate a combination of Ctrl + O

So I did:

AutoIt.AutoItX.ControlSend(processTitle, "", processFileName, "^^{r}");

When using a break point:

In processTitle I see:  Game

In the processFileName I see: C:\Program Files (x86)\Game\Game\Game.exe

For checking I looked into Task Manager and there I see in the tab details: Game.exe as name and in Description I see Game

And if I will click manually on my own Ctrl + O it will work it will do what I need it will take effect.

But when using the AutoIt it will not work will do nothing no effect at all. And I see it's getting and doing the line with the ControlSend but nothing

happen.

And it did work few hours ago. What is wrong ?

 

Link to comment
Share on other sites

  • Developers
1 hour ago, Chocolade said:

And it did work few hours ago. What is wrong ?

So, what did you change? :)

Jos

PS: ensure you have read our forumrules around game automation. 

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

×
×
  • Create New...