It is currently Thu May 23, 2013 3:40 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next
Author Message
 Post subject: AutoIt Wrapper
PostPosted: Mon Mar 12, 2012 4:02 am 
Offline
Enthusiast
Enthusiast

Joined: Wed Apr 20, 2011 4:24 pm
Posts: 156
Here is my AutoIt wrapper for PureBasic. I managed to complete the time consuming typing part, now its available publicly. Rest assure I have not tested every function, and it may have several bugs in it. I would be appreciated it if you submit them to the issue section of the project page. If you have the fix to the problem feel free to submit that as well.

Project Page: http://code.google.com/p/au3wrap/

_________________
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.


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Tue Mar 13, 2012 3:43 am 
Offline
Addict
Addict

Joined: Fri Oct 23, 2009 2:33 am
Posts: 2862
Location: Wales, UK
looks very good! :mrgreen:

_________________
IdeasVacuum
If it sounds simple, you have not grasped the complexity.


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Fri Mar 16, 2012 10:12 am 
Offline
Enthusiast
Enthusiast

Joined: Wed Apr 20, 2011 4:24 pm
Posts: 156
IdeasVacuum wrote:
looks very good! :mrgreen:

Thanks :mrgreen: Updated to R2 which fixes the *szControl parameter for all of the control commands. Was declaring them as long before woops :lol:

_________________
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.


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Wed Mar 28, 2012 10:41 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon May 14, 2007 2:13 am
Posts: 732
Location: Darling River
Good work, I must try this out. :)
Thanks

_________________
PureBasic Rocks! Even More! And More!
PureBasic 5, Now We're Really Rockin!


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Wed Mar 28, 2012 11:35 pm 
Offline
User
User

Joined: Mon Jul 09, 2007 4:47 pm
Posts: 67
Location: Right Here
This kind of addition to the language is great.


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Thu Mar 29, 2012 8:30 pm 
Offline
Enthusiast
Enthusiast

Joined: Mon May 14, 2007 2:13 am
Posts: 732
Location: Darling River
Quote:
This kind of addition to the language is great.

Yes. I think that AutoIt and PB are a good match. :)

_________________
PureBasic Rocks! Even More! And More!
PureBasic 5, Now We're Really Rockin!


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Thu Apr 12, 2012 8:36 am 
Offline
User
User

Joined: Fri Aug 14, 2009 2:26 pm
Posts: 58
Location: Afghanistan
link don't work for me, please upload other place , Merci


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Fri Apr 13, 2012 6:40 am 
Offline
Enthusiast
Enthusiast

Joined: Wed Apr 20, 2011 4:24 pm
Posts: 156
A M S wrote:
link don't work for me, please upload other place , Merci

Google Code should work for everybody. I don't condone uploading it to another place.

Uploaded R3

Quote:
- Removed the free function as its not needed
- Au3_Init() has been changed to InitAu3()

_________________
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.


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Thu Apr 19, 2012 4:24 pm 
Offline
User
User

Joined: Fri Aug 14, 2009 2:26 pm
Posts: 58
Location: Afghanistan
Either way does not work for me :oops:


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Fri Apr 20, 2012 10:05 am 
Offline
Enthusiast
Enthusiast

Joined: Mon May 14, 2007 2:13 am
Posts: 732
Location: Darling River
Quote:
Either way does not work for me :oops:

Works for me, just downloaded, perhaps you are being blocked. :?:

_________________
PureBasic Rocks! Even More! And More!
PureBasic 5, Now We're Really Rockin!


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Tue Apr 24, 2012 6:44 am 
Offline
Enthusiast
Enthusiast

Joined: Wed Apr 20, 2011 4:24 pm
Posts: 156
A M S wrote:
Either way does not work for me :oops:


I sent you a alternative link via PM. Have fun! :mrgreen:

Edit: 4/25
Updated to R4 which includes the following changes.
Code:
- Function Prefix Changed To Match Library Default [Function() Is Now AU3_Function()]
- Added Missing ControlTreeView() Function

_________________
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.


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Thu Apr 26, 2012 11:49 pm 
Offline
Addict
Addict

Joined: Sun Dec 12, 2010 12:36 am
Posts: 1284
Location: Waterloo, WI - USA
This could prove useful..

Would we be able to access AutoIt's scripting functionality as well? i.e Variables, Functions, Math operations, etc.

I think many people would love it if we were able to use the scripting aspect of AutoIT inside our own programs, sharing data between the program and scripts being run, etc.. Personally, It would probably help me out immensely with my game if I had an easy to implement scripting language.

I hope you plan on implementing this kind of thing :mrgreen:

_________________
Image


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Fri Apr 27, 2012 2:01 am 
Offline
Enthusiast
Enthusiast

Joined: Wed Apr 20, 2011 4:24 pm
Posts: 156
Zach wrote:
This could prove useful..

Would we be able to access AutoIt's scripting functionality as well? i.e Variables, Functions, Math operations, etc.

I think many people would love it if we were able to use the scripting aspect of AutoIT inside our own programs, sharing data between the program and scripts being run, etc.. Personally, It would probably help me out immensely with my game if I had an easy to implement scripting language.

I hope you plan on implementing this kind of thing :mrgreen:


Unfortunately no. The wrapper supports up to version 3.2.12.1 of the AutoItX library. Basically all this does is allow us to call the internal functions of the library and nothing more. Which in itself can save lots of time coding as the library has several useful functions. I personally wouldn't recommend AutoIt for any type of game development as its extremely slow. I would give LUA and other scripting languages like that a look before hand.

_________________
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.


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Fri Apr 27, 2012 2:09 am 
Offline
Enthusiast
Enthusiast

Joined: Mon May 14, 2007 2:13 am
Posts: 732
Location: Darling River
Hi warmonger, only had a little play, but seems to be working ok so far. :)

_________________
PureBasic Rocks! Even More! And More!
PureBasic 5, Now We're Really Rockin!


Top
 Profile  
 
 Post subject: Re: AutoIt Wrapper
PostPosted: Sat Apr 28, 2012 4:33 am 
Offline
User
User
User avatar

Joined: Sat Sep 12, 2009 3:06 pm
Posts: 51
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

_________________
Edward B. Howington
http://www.triplexcorp.com


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ]  Go to page 1, 2  Next

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  

 


Powered by phpBB © 2008 phpBB Group
subSilver+ theme by Canver Software, sponsor Sanal Modifiye