• Intro to AutoHotkey HotStrings with AutoHotkey Intermediate AutoHotkey GUIs are Easy with AutoHotkey Intro to DOS & AutoHotkey AutoHotkey FAQ AutoHotkey FAQ

Amazing Advanced course on AutoHotkey Objects and Classes – Coming in 2022

We’re working on an advanced course deep-diving into Objects in AutoHotkey.  In the Intermediate AutoHotkey course I covered some of the basics of storing data in Objects however, with the help of RaptorX / Isaias Baez I’m creating a course that dives deep into AutoHotkey Objects and Classes

We’re finalizing the outline and beginning to produce the videos.  Below is a current peak into what will be covered.  If you’d like to stay informed, please complete this short form and we’ll keep you in the loop!

AutoHotkey Objects and Classes

  • What AutoHotkey objects and classes are and why you should learn them
  • What can be done with objects
  • Diving into: Items, Keys, Properties and Methods
  • Quick refresher on Functions
  • Object Types (Arrays, Associative Arrays, Multi-dimensional arrays, Maps (new in V2
  • Advantages & Disadvantages of Dot Notation and Object Oriented Principles
  • Functional Programming Concepts and Terminology
  • Creating your own Objects & Classes
  • What is a COM Object & Why you should use one
  • What COM objects are available
  • Reading and Understanding the MSDN Documentation
  • Nuances & best practices

Walk through of Maestrith’s Notify AutoHotkey class

In this walk through I demonstrate using Maestrith’s Notify class.  To me, it’s much simpler and easier to use than the notify function I demonstrated the other day from gwarble.

Walk through of Maestrith’s Notify AutoHotkey class

Walk through of Maestrith’s Notify AutoHotkey class

;Notify:=Notify() ;instantiate the object (make sure you do this once, not each time you press a hotkey)
Notify(60).AddWindow("First",{Animate:"Center",ShowDelay:1000,Icon:300,IconSize:15,Title:"Hello World",Color:"0x00FF00",TitleColor:"0xFF0000"})
;Notify().AddWindow("Second",{Animate:"Center",ShowDelay:1000,Icon:300,IconSize:50,Title:"Hello World",TitleSize:14,Size:12,Time:5000,Background:0x00FF00})
;Notify().AddWindow("Third",{Animate:"Center",ShowDelay:1000,Icon:300,IconSize:50,Title:"Hello World",TitleSize:14,Size:12,Time:6000,Background:0x0000FF})
;Notify.AddWindow("Your Text Here",{Icon:300,Background:"0xFF00AA",Title:"my Title",TitleSize:16,size:13,Time:3000,Hide:"Top,Left",ShowDelay:1500,sound:"C:\Windows\media\Alarm05.wav"})
;Notify.AddWindow("Your Text Here",{Icon:300,Background:"0x1100AA",Ident:"MyID",Title:"My first title",TitleSize:16,size:14,radius:50,buttons:"one,two,three or more"})
;Notify.AddWindow("Your Text Here",{Icon:300,Background:"0x1100AA",Ident:"MyID2",Title:"This is cool",TitleSize:16,size:14,radius:75})

;If you've defined a function called "click" with one parameter- then when you click the notification, info about the GUI will be stored in the parameter as an object
MsgBox % obj.button
MsgBox,% ("You clicked on the first")
MsgBox,% ("You clicked on the Second")