AutoWin UserLibrary

Applications, Games, Tools, User libs and useful stuff coded in PureBasic
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

AutoWin UserLibrary

Post by ts-soft »

AutoWin serves automate from expiries under Windows. Similary functionality of AutoIt.
This UserLib is for PB 4.60, windows x86 and x64

Version 1.4.1
Download
Alternative download
Contained functions wrote: AW_ChangeMatchMode()
AW_ControlClick()
AW_ControlDisable()
AW_ControlEnable()
AW_ControlFocus()
AW_ControlGetHandle()
AW_ControlHide()
AW_ControlMove()
AW_ControlShow()
AW_MouseClick()
AW_MouseDown()
AW_MouseMove()
AW_MouseUp()
AW_SendKeys()
AW_WinActivate()
AW_WinActive()
AW_WinClose()
AW_WinExists()
AW_WinGetProcess()
AW_WinGetState()
AW_WinGetTitle()
AW_WinHandle()
AW_WinHideFromTaskBar()
AW_WinKill()
AW_WinMinimizeAll()
AW_WinMinimizeAllUndo()
AW_WinMove()
AW_WinSetOnTop()
AW_WinSetState()
AW_WinSetTitle()
AW_WinWait()
AW_WinWaitActive()
AW_WinWaitClose()
AW_WinWaitNotActive()
Greetings
Thomas

added in 1.1:
Contained functions wrote:AW_FindHiddenWindow([Flag])
added in 1.2:
AW_WinGetStateEx()
AW_WinSetStateEx()
added in 1.3:
AW_ControlGetText()
AW_ControlSetText()
Added some suggestions by Little John in 1.4
Updated UserLib for use with PB4.60

version 1.4.1
small bugfix
Last edited by ts-soft on Fri Aug 03, 2012 10:00 pm, edited 8 times in total.
Lost
User
User
Posts: 63
Joined: Fri Dec 19, 2008 12:24 am
Location: Tasmania

Re: AutoWin UserLibrary

Post by Lost »

Interesting! I'll check it out on the weekend.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: AutoWin UserLibrary

Post by ts-soft »

you're welcome :D

Update:
Version 1.0 Beta 2
changed controlID to controlID.s
this parameter supports ClassNameNN (see helpfile)
some small bugfixes.
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: AutoWin UserLibrary

Post by ts-soft »

Update:
Version 1.0

Sourcecode added

greetings
Thomas
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: AutoWin UserLibrary

Post by ts-soft »

Update to version 1.3, see first post.
+18
Enthusiast
Enthusiast
Posts: 228
Joined: Fri Oct 24, 2008 2:07 pm

Re: AutoWin UserLibrary

Post by +18 »

Thanks for cool sharing :D
merci
User avatar
KJ67
Enthusiast
Enthusiast
Posts: 218
Joined: Fri Jun 26, 2009 3:51 pm
Location: Westernmost tip of Norway

Re: AutoWin UserLibrary

Post by KJ67 »

This may be just what I need... Thank you! :D
The best preparation for tomorrow is doing your best today.
KIKI
Enthusiast
Enthusiast
Posts: 145
Joined: Thu Dec 28, 2006 11:49 am
Location: FRANCE

Re: AutoWin UserLibrary

Post by KIKI »

HI srod,
Did you plan to improve more fuction from autowin ?
Thanks to inform us, because this lib is a great lib
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: AutoWin UserLibrary

Post by srod »

KIKI wrote:HI srod,
Did you plan to improve more fuction from autowin ?
Thanks to inform us, because this lib is a great lib
I have no plans on updating this library no...

...but then again, it is not my library! :wink:
I may look like a mule, but I'm not a complete ass.
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: AutoWin UserLibrary

Post by rsts »

Mr ts-soft,

I haven't used this yet, but I sincerely appreciate you sharing this with us (and all your other tools/contributions as well) :)

cheers
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: AutoWin UserLibrary

Post by ts-soft »

KIKI wrote:Did you plan to improve more fuction from autowin ?
Thanks to inform us, because this lib is a great lib
thx, i will add more functions if more functions required.
mostly interesting and for pb useful functions of autoitx.dll are available, i think


thx rsts

and thx stephen for willing helping me :wink:
rsts
Addict
Addict
Posts: 2736
Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA

Re: AutoWin UserLibrary

Post by rsts »

srod wrote: I have no plans on updating this library no...
ts-soft wrote: and thx stephen for willing helping me :wink:
Yeah - it is a big help when srod stays out :D
cheers
srod
PureBasic Expert
PureBasic Expert
Posts: 10589
Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...

Re: AutoWin UserLibrary

Post by srod »

I know when I am not wanted! :wink:
I may look like a mule, but I'm not a complete ass.
KIKI
Enthusiast
Enthusiast
Posts: 145
Joined: Thu Dec 28, 2006 11:49 am
Location: FRANCE

Re: AutoWin UserLibrary

Post by KIKI »

Srod,
Purebasic dosen't allows controlling IE or Firefox, it will be very usefull to have these functionality
Thanks
User avatar
ts-soft
Always Here
Always Here
Posts: 5756
Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany

Re: AutoWin UserLibrary

Post by ts-soft »

i won't add extra functionality for browsers, so the using of the lib for browsers is limited.
With default firefox-settings you can make a google-search like this:

Code: Select all

RunProgram("firefox")
AW_ChangeMatchMode(1)
AW_WinWait("Mozilla Firefox", 60) 
AW_SendKeys("purebasic{RETURN}") 
greetings
Thomas (not Stephen :mrgreen: )
Post Reply