-
Posts
3,774 -
Joined
-
Last visited
-
Days Won
16
jaberwacky's Achievements
-
wakillon reacted to a post in a topic:
Object Oriented Like GUIs -- GUIObjects
-
genius257 reacted to a post in a topic:
Another AutoIt extension for Visual Studio Code
-
Another AutoIt extension for Visual Studio Code
jaberwacky replied to genius257's topic in AutoIt Projects and Collaboration
That is the issue I'm talking about, sorry. Unfortunately, it seems like I must have changed some setting in VSCode. I can't pull up the json by typing in the top middle search bar. Well, actually, I got to it by some round about way but still see errors pop up in a msgbox. It's fine though. I can live with it. Thank you! -
jaberwacky reacted to a post in a topic:
Another AutoIt extension for Visual Studio Code
-
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
Latest update: see 1st post for a description! -
jaberwacky reacted to a post in a topic:
Uploaded a new version of the SciTE4AutoIt3.exe v21.316.1639.1
-
jaberwacky reacted to a post in a topic:
Another AutoIt extension for Visual Studio Code
-
Another AutoIt extension for Visual Studio Code
jaberwacky replied to genius257's topic in AutoIt Projects and Collaboration
Hello! I love your extension. It's the reason I switched from SciTE! I do notice that I don't see console output but instead a MsgBox. Do I have the autoit3.installDir filled out properly? I have AutoIt installed in that directory. "autoit3.installDir": "C:\\Program Files (x86)\\AutoIt3" -
jaberwacky reacted to a post in a topic:
AutoIt GUI Creators (Designers)
-
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
Latest update: See the first post for details! -
jaberwacky reacted to a post in a topic:
Object Oriented Like GUIs -- GUIObjects
-
corz reacted to a post in a topic:
Object Oriented Like GUIs -- GUIObjects
-
Parsix reacted to a post in a topic:
Object Oriented Like GUIs -- GUIObjects
-
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
Ok, I think I figured out a solution ... updating the first post! Here's the code from the example: #AutoIt3Wrapper_UseX64=N #include <GUIConstantsEx.au3> #include "..\AutoItObject.au3" #include "..\Canvas\Canvas.au3" Example() Func Example() _AutoItObject_StartUp() Local Const $canvas = Canvas() $canvas.Form("MyForm", "GUIObjects Example", 300, 500) $canvas.MyForm.OnClose("MyFormClose") $canvas.MyForm.SetFont("Segoe UI") $canvas.Button("MyButton1", "Example Button 1", 20, 20) $canvas.MyButton1.OnEvent("MyButton1Handler") $canvas.Checkbox("MyCheckbox", "Example Checkbox", 20, 55) $canvas.MyCheckbox.OnEvent("MyCheckboxHandler") $canvas.MyCheckbox.Check() $canvas.MyForm.Show() Do $canvas.Handler(GUIGetMsg($GUI_EVENT_ARRAY)) Until False EndFunc Func MyButton1Handler($this, Const $canvas) ConsoleWrite($this.Text & ": Clicked" & @CRLF) Consolewrite("This is the MyCheckbox text: " & $canvas.MyCheckbox.Text & @CRLF) Return True EndFunc Func MyCheckboxHandler($this, Const $canvas) ConsoleWrite($this.Text & " Is Checked: " & $this.IsChecked() & @CRLF) Return True EndFunc Func MyFormClose($this) ConsoleWrite("Exiting!" & @CRLF) $this = Null _AutoItObject_ShutDown() Exit EndFunc So, when you create a form or a control then the first parameter should be a unique name so that it can be referenced via the Canvas object. -
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
I wonder if the way that you posted earlier is the solution? I can't say I really understand what's really happening in that post though. -
Parsix reacted to a post in a topic:
Object Oriented Like GUIs -- GUIObjects
-
Parsix reacted to a post in a topic:
Object Oriented Like GUIs -- GUIObjects
-
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
All of my projects are terrible. I can't access other controls inside of the event handlers. 😞 Back to the drawing board. -
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
Latest update! Context Menus have been integrated! Here's how to use them: ; ... Local $myContextMenuItem1 = $canvas.ContextMenu.AddItem("My Context Menu Item 1") $myContextMenuItem1.OnEvent("MyContextMenuItem1Handler") Local $myContextSubMenuItem2 = $canvas.ContextMenu.AddItem("My Context Sub Menu Item 2", True) Local $myContextSubMenuItem2A = $myContextSubMenuItem2.AddItem("My Context Sub Menu Item 2A") $myContextSubMenuItem2A.OnEvent("MyContextSubMenuItem2AHandler") ; .... Func MyContextMenuItem1Handler($this, Const $event) Consolewrite("MyContextMenuItem1Handler Clicked!" & @CRLF) Return True EndFunc Func MyContextSubMenuItem2AHandler($this, Const $event) Consolewrite("MyContextSubMenuItem2AHandler Clicked!" & @CRLF) Return True EndFunc Tabs have been changed. To switch to a tab to add controls use: ; ... Local $myTabItem = $myTab.Add("My Tab Item") $myTabItem.Close() $myTabItem.Switch() Local $myButton = $canvas.Button("My Button", 20, 160) $myTabItem.Close() ; ... -
ahmet reacted to a post in a topic:
Object Oriented Like GUIs -- GUIObjects
-
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
That's a pretty cool concept. I'll look into it more and try to see if I can integrate it! Thank you. -
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
Latest update. I rewrote the original post and posted the latest version. Multiple GUIs works now! Currently working on adding context menus. Then will add more controls after that. -
Parsix reacted to a post in a topic:
Object Oriented Like GUIs -- GUIObjects
-
Parsix reacted to a post in a topic:
Object Oriented Like GUIs -- GUIObjects
-
jaberwacky reacted to a post in a topic:
GUIRegisterMsgChain - High-performance multiple window message/function GUIRegisterMsg
-
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
Actually, another update! I added a ton of functionality and a lot more controls! The example demonstrates two forms at the same time. Edit: Scratch the 2 GUIs idea for now. It doesn't work like I had hoped. -
argumentum reacted to a post in a topic:
Object Oriented Like GUIs -- GUIObjects
-
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
Latest update! Added ability to register events for the GUI. Changed .SetForeColor to .SetColor() to correspond with the native GUICtrlSetColor(...) Also added .SetBkColor and .SetCursor to the gui (Canvas()) More to come over time! -
jaberwacky reacted to a post in a topic:
Object Oriented Like GUIs -- GUIObjects
-
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
You're right, most of us do know it as BkColor don't we? -
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
Actually, I did .... $myControl.SetForeColor(... color ...) and $myControl.SetBkColor(... color ...) Note: I plan to change SetBkColor to SetBackColor soon -
Object Oriented Like GUIs -- GUIObjects
jaberwacky replied to jaberwacky's topic in AutoIt Example Scripts
I haven't implemented it yet ... I'll do it right quick, brb