Page 2 of 2

Re: AutoIt Wrapper

Posted: Sat Apr 28, 2012 5:11 am
by Warmonger
ehowington wrote:Been having some issues getting the functions within the library to send test to a control tested a few times on a few applications I'm not sure if It's something I'm doing but all the tools i'm using to identify the control id are not working or im just not using the commands correct while some of them work others don't
It could be my Prototype itself in the wrapper. I haven't properly identified every functions return type yet. Something I plan on doing later on. As for finding a control give this a try.

Re: AutoIt Wrapper

Posted: Sat Apr 28, 2012 5:29 am
by ehowington
CLASS:Internet Explorer_Server; INSTANCE:1]

For example above trying to send text to this control does not seem to work
also ILL post a link to something that might help you.
http://www.purebasic.fr/english/viewtop ... 13&t=46591

Re: AutoIt Wrapper

Posted: Sat Apr 28, 2012 1:46 pm
by Warmonger
ehowington wrote:CLASS:Internet Explorer_Server; INSTANCE:1]

For example above trying to send text to this control does not seem to work
also ILL post a link to something that might help you.
http://www.purebasic.fr/english/viewtop ... 13&t=46591
I use the ControlSend() function in a old source of mine, and it works flawlessly for me.

Code: Select all

;Get Window Handle
Global Window = FindWindow_("Nksp", 0)

;Get Window Title
Global Cap.s = Space(999)
GetWindowText_(Window, Cap, 999)

;Send Key
ControlSend(Cap, "", "ViewPort Window1", "{F11}")

Re: AutoIt Wrapper

Posted: Sat Apr 28, 2012 5:26 pm
by ehowington
Warmonger do you mind if I send some pm messages etc to you asking you questions here and there You seem to be correct on a few things,and would like to assist in your library testing etc?

Re: AutoIt Wrapper

Posted: Mon Apr 30, 2012 12:37 am
by Warmonger
ehowington wrote:Warmonger do you mind if I send some pm messages etc to you asking you questions here and there You seem to be correct on a few things,and would like to assist in your library testing etc?
Sure, altho im new to PureBasic and might not be all that knowledgeable.

Updated to R5 which includes the following changes:

Code: Select all

Added AutoItSetOption() And WinList() Functions
Updated AutoItX Library To Version 3.3.8.1
Fixed WinMenuSelectItem() Function

YOUR PROGRAM MUST BE COMPILED FOR UNICODE!

Re: AutoIt Wrapper

Posted: Mon Apr 30, 2012 12:55 am
by ehowington
well perhaps you can help me on a small project im working on some time if your up for it?

Re: AutoIt Wrapper

Posted: Mon Apr 30, 2012 4:36 am
by Warmonger
ehowington wrote:well perhaps you can help me on a small project im working on some time if your up for it?
Shoot me a PM with details of what your working on.