Applications, Games, Tools, User libs and useful stuff coded in PureBasic
ts-soft
Always Here
Posts: 5756 Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany
Post
by ts-soft » Wed Feb 24, 2010 11:23 pm
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
Posts: 63 Joined: Fri Dec 19, 2008 12:24 am
Location: Tasmania
Post
by Lost » Thu Feb 25, 2010 3:00 am
Interesting! I'll check it out on the weekend.
ts-soft
Always Here
Posts: 5756 Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany
Post
by ts-soft » Thu Feb 25, 2010 3:59 am
you're welcome
Update:
Version 1.0 Beta 2
changed controlID to controlID.s
this parameter supports ClassNameNN (see helpfile)
some small bugfixes.
ts-soft
Always Here
Posts: 5756 Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany
Post
by ts-soft » Fri Feb 26, 2010 12:25 am
Update:
Version 1.0
Sourcecode added
greetings
Thomas
ts-soft
Always Here
Posts: 5756 Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany
Post
by ts-soft » Mon Mar 29, 2010 2:19 pm
Update to version 1.3, see first post.
+18
Enthusiast
Posts: 228 Joined: Fri Oct 24, 2008 2:07 pm
Post
by +18 » Tue Mar 30, 2010 12:19 pm
Thanks for cool sharing
merci
KJ67
Enthusiast
Posts: 218 Joined: Fri Jun 26, 2009 3:51 pm
Location: Westernmost tip of Norway
Post
by KJ67 » Tue Mar 30, 2010 1:40 pm
This may be just what I need... Thank you!
The best preparation for tomorrow is doing your best today.
KIKI
Enthusiast
Posts: 145 Joined: Thu Dec 28, 2006 11:49 am
Location: FRANCE
Post
by KIKI » Sat Apr 03, 2010 8:17 am
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
Posts: 10589 Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...
Post
by srod » Sat Apr 03, 2010 9:50 am
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!
I may look like a mule, but I'm not a complete ass.
rsts
Addict
Posts: 2736 Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA
Post
by rsts » Sat Apr 03, 2010 2:21 pm
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
ts-soft
Always Here
Posts: 5756 Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany
Post
by ts-soft » Sat Apr 03, 2010 5:20 pm
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
rsts
Addict
Posts: 2736 Joined: Wed Aug 24, 2005 8:39 am
Location: Southwest OH - USA
Post
by rsts » Sat Apr 03, 2010 8:00 pm
srod wrote:
I have no plans on updating this library no...
ts-soft wrote:
and thx stephen for willing helping me
Yeah - it is a big help when srod stays out
cheers
srod
PureBasic Expert
Posts: 10589 Joined: Wed Oct 29, 2003 4:35 pm
Location: Beyond the pale...
Post
by srod » Sat Apr 03, 2010 8:16 pm
I know when I am not wanted!
I may look like a mule, but I'm not a complete ass.
KIKI
Enthusiast
Posts: 145 Joined: Thu Dec 28, 2006 11:49 am
Location: FRANCE
Post
by KIKI » Sat Apr 03, 2010 8:37 pm
Srod,
Purebasic dosen't allows controlling IE or Firefox, it will be very usefull to have these functionality
Thanks
ts-soft
Always Here
Posts: 5756 Joined: Thu Jun 24, 2004 2:44 pm
Location: Berlin - Germany
Post
by ts-soft » Sat Apr 03, 2010 9:05 pm
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
)