Jump to content

Could use a little help setting me on the tracks.


Komerad
 Share

Recommended Posts

I have used autoit as is in the past, I'm now learning c++ (codeblocks+wxwidgets)

I'm trying to write a simple guildwars bot to send chat messages (Basicly googling for that brought me to autoitX)

I am able to recognise & send all characters in a string correctly to any window that has an active cursor..

Now I can't seem to get guildwars to accept a simple "ENTER" even with various methods i tried.

As there are autoit scripts for guildwars this seems my last resort..

On a website i found some info on how to get going with autoitx for devc++, i kina adapted it for codeblocks and it apears to work just fine.

The same website stated that autoitX commands from an IDE = Autoit commands but with AU3_ prefix.

So I did..

Now

A simple test :

AU3_Sleep(1000);

works fine, so far the info was helpfull

however :

AU3_Send("{ENTER}");

results in :

error: cannot convert `const char*' to `const WCHAR*' for argument `1' to `void AU3_Send(const WCHAR*, long int)'|

What did I miss? Pls some guidance...

Would be very appreciated.

Regards

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

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...