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

Search Results for: Maestrith

Create Gorgeous GUIs with AutoHotkey using Maestrith’s HTML GUI class

HTML GUI classCreate Gorgeous GUIs with AutoHotkey

I was working through some other things with Maestrith and it lead to him giving me a review of his HTMLGUI class

You can get the HTML GUI class on GitHub here: https://github.com/maestrith/HTMLGUI

While we’ll probably make another video once he “finishes” his HTMLGUI class, I thought I’d go ahead and share this video as it is really impressive and inspiring!  And don’t forget, if you’d like to learn how to create GUIs in AutoHotkey we have a great Udemy course on that!

Walkthrough of HTML GUI Class

 

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


#SingleInstance,Force
;Notify:=Notify() ;instantiate the object (make sure you do this once, not each time you press a hotkey)
;**************************************
;https://github.com/maestrith/Notify
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})
return

;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
click(obj){
m(obj)
MsgBox % obj.button
if(Obj.Ident="MyID")
MsgBox,% ("You clicked on the first")
if(Obj.Ident="MyID2")
MsgBox,% ("You clicked on the Second")
}

Hexadecimal, Decimals, and RGB with Maestrith

I had run into an issue (which I document in another video) and asked Maestrith, author of AHK Studio, to help me understand RGB, decimal and Hexadecimals.   Unfortunately I didn’t record the entire session as I didn’t think we were going to go that deep.  I did record most of it though and thought it was worth sharing.

Here are the two versions that Maestrith developed on the fly.   Thanks again Maestrith!  You’re quite the Whiz!

#SingleInstance,Force

Gui,Add,Edit,vNumber Number gGo, w100 ,1
Gui,Add,UpDown
Gui,Add,Text,w100 HWNDDisplay
Gui,Show
return

Go:
Gui, Submit,NoHide
GuiControl,,%Display%,% Format("{:0x}",Number)
return

Escape::
Exitapp
Return

And the second one

Gui,Add,Text,,Red:
Gui,Add,Edit,vR Number gGo w100,1
Gui,Add,UpDown,Range,0-1000
Gui,Add,Text,,Green:
Gui,Add,Edit,vG NUMBER gGo w100,1
Gui,Add,UpDown,Range,0-1000
Gui,Add,Text,,Blue:
Gui,Add,Edit,vB NUMBER gGo w100,1
Gui,Add,UpDown,Range,0-1000
Gui,Add,Text,w100 HWNDDisplay
Gui,Show
return
Go:
Gui,Submit,Nohide
RGB:="0x" Format("{:0x}",R) Format("{:0x}",G) Format("{:0x}",B)
GuiControl,,%Display%,% RGB+0
return
Escape::
ExitApp
return

 

 

 

Tutorial on Encoding binary data to a string with Maestrith

In the second half of our webinar on Finding and Clicking Text / Pixels / Images someone asked about encoding a binary image to Base64, then being able to decode it back for usage (this will allow them not to have to share the actual image files.)

I’ve never done any of this so I was lost but thankfully Jackie and Maestrith had experience in it.   The other night I mentioned it to Maestrith and he generously offered to work through a couple of examples and explain the process to me.
Continue reading