Search found 347 matches

by Alguimist
15 Oct 2019, 15:35
Forum: AutoGUI
Topic: AutoClose Brackets Topic is solved
Replies: 6
Views: 1216

Re: AutoClose Brackets Topic is solved

could we know if the menu item is checked prior to select it? You can do it with the Windows API function GetMenuState. Global g_AppName := "AutoGUI" , g_TopMenu := " &Options " , g_MenuItem := "Autoclose &Brackets" ::rc:: Enabled := IsAutocloseBracketEnabled() ; Store current state If (Enabled == ...
by Alguimist
12 Oct 2019, 20:29
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 147
Views: 35040

Re: AutoGUI 2.5

Version 2.6.2:
• Fixed: bug in the opening of "UTF-8 without BOM" files containing double-byte characters.
• Fixed: "highlight identical text" being affected by the search flags of Find/Replace.

:arrow: Download
by Alguimist
12 Oct 2019, 20:27
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 147
Views: 35040

Re: AutoGUI 2.5

Thanks, kczx3 ! ;) I'm about to release a new version of AutoGUI with some bug fixes, so I cannot add any of these changes right now, except Scintilla styling. After that, I will finish some details regarding theme customization with values loaded from XML files. You will no longer have to define se...
by Alguimist
11 Oct 2019, 05:01
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 358
Views: 204330

Re: AutoGUI - Script Editor, GUI Designer, Debugger and Tools

@MARCAN: The code I posted should be executed as a separate script file. Custom keyboard shortcuts will be implemented in a feature version of AutoGUI.
by Alguimist
11 Oct 2019, 05:00
Forum: AutoGUI
Topic: AutoClose Brackets Topic is solved
Replies: 6
Views: 1216

Re: AutoClose Brackets Topic is solved

Is it possible in AutoGui to programmatically toggle AutoClose Brackets? I would like to disable this funcion before sending hotstrings and re-enable it just after. Try this: ::rc:: ToggleBrackets() Send VarSetCapacity(RECT, 16, 0) ToggleBrackets() Return ToggleBrackets() { TopMenu := " &Options " ...
by Alguimist
11 Oct 2019, 04:43
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 147
Views: 35040

Re: AutoGUI 2.5

teadrinker : Thanks for reporting. I will soon add these constants to the database. You may notice in WinUser.h that both constants are defined as -4, but GWL_WNDPROC is undefined when targeting 64-bit Windows. The "P" variant was added to be in accordance with the name of GetWindowLong P tr. There...
by Alguimist
11 Oct 2019, 04:36
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 147
Views: 35040

Re: AutoGUI 2.5

Yes, though at times it doesn't seem quite as long. Actually, right now I have 11 tabs open in AutoGUI. They all show the same delay except for Installer.ahk (from AHK installation). That one for whatever reason seems to load quicker and almost normal loading time. Some of the possible reasons for ...
by Alguimist
28 Sep 2019, 17:21
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 358
Views: 204330

Re: AutoGUI - Script Editor, GUI Designer, Debugger and Tools

MARCAN : Try the code below. Ctrl + Backspace collapses all folds. Ctrl + Shift + Backspace expands all folds. #IfWinActive AutoGUI v TopMenu := " &View " ^Backspace:: MenuItem := "Collapse All Folds" WinMenuSelectItem A,, %TopMenu%, %MenuItem% Return ^+Backspace:: MenuItem := "Expand All Folds" Wi...
by Alguimist
28 Sep 2019, 17:15
Forum: Scripts and Functions
Topic: MagicBox - Message Box Generator
Replies: 37
Views: 21414

Re: MagicBox - Message Box Generator

@Milenko and @burque505: It has nothing to do with Windows 10 or administrative privileges. An outdated version of AHK was used to execute the script, while a more recent one was used to compile it.
by Alguimist
28 Sep 2019, 17:13
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 147
Views: 35040

Re: AutoGUI 2.5

@kczx3: Did you also notice this delay in the context menu of Scripts Manager?
by Alguimist
22 Sep 2019, 17:49
Forum: Ask For Help
Topic: Is it possible to show Tab control above Progress control?
Replies: 3
Views: 270

Re: Is it possible to show Tab control above Progress control?

It can be done this way: #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 Gui, Add, Progress, hWndhPrg xm+40 w100 h100 Background0xa0a0a0 Disabled Gui, Add, Tab3, hWndhTab xm ym+10 w300 h200, Tab one|Tab two Gui, Show SendMessage 0xB, 0, 0,, ahk_id %hPrg% ; WM_SETREDRAW WinS...
by Alguimist
22 Sep 2019, 11:03
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 147
Views: 35040

Re: AutoGUI 2.5

Is the Explorer Menu recreated every time you right click on a tab? It seems to be slow to appear when enabled. Does it seem to be slow when: 1) called a second time for the same file? 2) called from the Execute button drop-down segment? Behind the scenes, after right-clicking a tab button: - A tab...
by Alguimist
22 Sep 2019, 10:53
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 358
Views: 204330

Re: AutoGUI - Script Editor, GUI Designer, Debugger and Tools

At the moment i'm only missing the possibility of relative positioning of the controls in the code. Considering that the GUI designer of AutoGUI is a visual tool, of that kind sometimes referred to as WYSIWYG ("What You See Is What You Get"), that is, controls are positioned, moved and resized in t...
by Alguimist
19 Aug 2019, 19:55
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 147
Views: 35040

Re: AutoGUI 2.5

Version 2.6.1 : • Added: Explorer (shell) context menu integration. The Execute button now has a drop-down arrow segment (similar to a split button). Click on it by the first time to open a dialog where you can enable the Explorer menu. Choose whether you want this feature enabled for the drop-down...
by Alguimist
22 Jul 2019, 12:24
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 358
Views: 204330

Re: AutoGUI - Script Editor, GUI Designer, Debugger and Tools

Safest solution would be for AutoGui to embed the official template code, search for the presence of the official template and, if missing, use the embedded code. Some time ago it worked this way. The "else" of "FileExist(Template)", responsible for pasting the embedded code, was discarded because ...
by Alguimist
22 Jul 2019, 12:18
Forum: AutoGUI
Topic: Does AutoGUI have the tools Tidy and Go To Definition?
Replies: 1
Views: 736

Re: Does AutoGUI have the tools Tidy and Go To Definition?

A Tidy tool may be provided in a future version as I have the code for this functionality as part of another project I'm working on. If you already have such a tool, it can be easily added to the Tools menu of AutoGUI. As for the "Go To Definition", I'll check it out later. Meanwhile, double-click t...
by Alguimist
22 Jul 2019, 12:10
Forum: Ask For Help
Topic: Can I change a script taskbar icon of a msgbox?
Replies: 2
Views: 313

Re: Can I change a script taskbar icon of a msgbox?

Simply precede the MsgBox line with "Gui +OwnDialogs". AHK hidden window becomes the owner of the MsgBox, suppressing the taskbar button.

Code: Select all

#SingleInstance Force
#NoEnv
#NoTrayIcon

Gui +OwnDialogs
MsgBox
ExitApp
by Alguimist
03 Jul 2019, 17:42
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 147
Views: 35040

Re: AutoGUI 2.5

Version 2.6.0: fixed a minor bug that was preventing the debug from working.
by Alguimist
01 Jul 2019, 20:24
Forum: AutoGUI
Topic: OutputDebbuger on AutoGui
Replies: 3
Views: 999

Re: OutputDebbuger on AutoGui

foxdanger wrote:
18 Jun 2019, 15:59
On AutoGUI where I can see the OutputDebugger messages?
Debug > Error Stream.
by Alguimist
01 Jul 2019, 20:21
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 147
Views: 35040

Re: AutoGUI 2.5

Have you had any problems with debugging in this version? I can't seem to get it to work. There are two "typos" in Include\Debug.ahk. On lines 156 and 190, the commands associated with the variable g_DbgSession must be lowercased. I will soon release a new version. Thanks for reporting. Also, the A...

Go to advanced search