control zoo (AHK v1.1)

Post your working scripts, libraries and tools
User avatar
jeeswg
Posts: 4806
Joined: 19 Dec 2016, 01:58
Location: UK

control zoo (AHK v1.1)

16 Apr 2017, 17:58

I have been writing some functions which I hope to post soon, that get/set the text for various control types, for internal controls that belong to the AHK exe and for external controls.

I created this 'control zoo' for testing purposes, but it is quite entertaining to look at, and is quite useful for explaining how to create GUI controls in AutoHotkey including toolbars.

[EDIT: slightly improved script]

Code: [Select all] [Expand] [Download] (control zoo (AHK v1.1).ahk)GeSHi © Codebox Plus



See also:
GUIs via DllCall: control zoo - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=32106
Last edited by jeeswg on 03 Jun 2017, 20:38, edited 4 times in total.
fenchai
Posts: 186
Joined: 28 Mar 2016, 07:57

Re: control zoo (AHK v1.1)

16 Apr 2017, 18:17

That Google Web Browser was cool. though I would prefer a way to make the search bar into a gui and dropdown suggestions. Is that possible? ʕ◉.◉ʔ ?
User avatar
jeeswg
Posts: 4806
Joined: 19 Dec 2016, 01:58
Location: UK

Re: control zoo (AHK v1.1)

16 Apr 2017, 18:26

Hmm, that's interesting. Tbh only if the dropdown suggestions were yours and not generated by Google, although you could potentially type into the ComboBox and have it also send those keys to the Internet Explorer_Server control, and retrieve information from Google's drop-down list.

Yes, I do think it looks quite cool, glad you liked it. Nice ASCII art btw.

I'm not particularly interested in live browsing the Internet via an AutoHotkey GUI, because I believe the control has limitations if used within an AHK GUI window, cf. it's use in Internet Explorer. However, if you have a collection of saved htms to navigate, or wanted to display images including animated gifs, or formatted text, Internet Explorer_Server controls are useful for this.

Internet Explorer is quite good for navigating AutoHotkey Help/chm files btw:
E.g. use either of these as the url:
mk:@MSITStore:C:\Program Files\AutoHotkey\AutoHotkey.chm::/docs/AutoHotkey.htm
its:C:\Program Files\AutoHotkey\AutoHotkey.chm::/docs/AutoHotkey.htm
Helgef
Posts: 3098
Joined: 17 Jul 2016, 01:02
Contact:

Re: control zoo (AHK v1.1)

17 Apr 2017, 01:51

Nice icon buttons. Looking forward to see your projectsSend,{U+2615}
User avatar
jeeswg
Posts: 4806
Joined: 19 Dec 2016, 01:58
Location: UK

Re: control zoo (AHK v1.1)

21 Dec 2017, 13:54

- An update which shows all of the controls at the same time.
- I used this for testing my GUI text functions library.
GUIs via DllCall: get/set internal/external control text - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=6&t=40514
- A version for AHK v2:
control zoo (AHK v2) - AutoHotkey Community
https://autohotkey.com/boards/viewtopic.php?f=37&t=41685

Code: [Select all] [Expand] [Download] (control zoo (AHK v1.1).ahk)GeSHi © Codebox Plus

User avatar
elModo7
Posts: 36
Joined: 01 Sep 2017, 02:38

Re: control zoo (AHK v1.1)

26 Dec 2017, 04:33

Greatly appreciated, will take it as examples for future projects! :D
:beer:

Return to “Scripts and Functions”

Who is online

Users browsing this forum: swagfag and 19 guests