AutoIt Wrapper

Windows specific forum
Warmonger
Enthusiast
Enthusiast
Posts: 156
Joined: Wed Apr 20, 2011 4:24 pm

Re: AutoIt Wrapper

Post 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.
Its Not A Bug, Its An Undocumented Feature!
Relax Its All Just Ones And Zeros
There Is No Place Like 127.0.0.1 Except ::1
I do things TO my computer, not WITH my computer... I am a nerd.
ehowington
Enthusiast
Enthusiast
Posts: 115
Joined: Sat Sep 12, 2009 3:06 pm

Re: AutoIt Wrapper

Post 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
Warmonger
Enthusiast
Enthusiast
Posts: 156
Joined: Wed Apr 20, 2011 4:24 pm

Re: AutoIt Wrapper

Post 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}")
Its Not A Bug, Its An Undocumented Feature!
Relax Its All Just Ones And Zeros
There Is No Place Like 127.0.0.1 Except ::1
I do things TO my computer, not WITH my computer... I am a nerd.
ehowington
Enthusiast
Enthusiast
Posts: 115
Joined: Sat Sep 12, 2009 3:06 pm

Re: AutoIt Wrapper

Post 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?
Warmonger
Enthusiast
Enthusiast
Posts: 156
Joined: Wed Apr 20, 2011 4:24 pm

Re: AutoIt Wrapper

Post 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!
Its Not A Bug, Its An Undocumented Feature!
Relax Its All Just Ones And Zeros
There Is No Place Like 127.0.0.1 Except ::1
I do things TO my computer, not WITH my computer... I am a nerd.
ehowington
Enthusiast
Enthusiast
Posts: 115
Joined: Sat Sep 12, 2009 3:06 pm

Re: AutoIt Wrapper

Post by ehowington »

well perhaps you can help me on a small project im working on some time if your up for it?
Warmonger
Enthusiast
Enthusiast
Posts: 156
Joined: Wed Apr 20, 2011 4:24 pm

Re: AutoIt Wrapper

Post 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.
Its Not A Bug, Its An Undocumented Feature!
Relax Its All Just Ones And Zeros
There Is No Place Like 127.0.0.1 Except ::1
I do things TO my computer, not WITH my computer... I am a nerd.
Post Reply