Search found 333 matches

by Alguimist
22 Jul 2019, 12:24
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 342
Views: 178585

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: 202

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: 181

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: 133
Views: 25298

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: 396

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: 133
Views: 25298

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...
by Alguimist
21 Jun 2019, 18:54
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 133
Views: 25298

Re: AutoGUI 2.5

Cuadrix wrote:
17 May 2019, 23:16
By the way, is there any way to change the color scheme of the window and bars? I would like it to be dark rather than white
I have yet to implement Scintilla theme customization before considering to work with custom drawing of bars.
by Alguimist
20 Jun 2019, 05:53
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 133
Views: 25298

Re: AutoGUI 2.5

Reuploaded! The menu item "File > Open File..." was not working properly.
by Alguimist
18 Jun 2019, 16:37
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 133
Views: 25298

Re: AutoGUI 2.5

Version 2.5.9 :  • Run menu: added "Run with Associated Application". The "Execute" button in the toolbar runs AHK scripts with the same program that is running AutoGUI. Everything else is executed with the default application.  • Syntax highlighting for AHK is assumed based on a variety of possibl...
by Alguimist
29 May 2019, 19:45
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 133
Views: 25298

Re: AutoGUI 2.5

After unticking "Resizable" in Windows Properties Gui +Resize is deleted but GuiSize Label is not There might be some legitimate uses of GuiSize where the window is not resizable. For example: ; Generated by AutoGUI 2.5.9 #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 Men...
by Alguimist
28 May 2019, 21:14
Forum: AutoGUI
Topic: Can't view Editor?
Replies: 4
Views: 463

Re: Can't view Editor?

This occurs if I load a sample project or create my own GUI Is there an empty instance of the editor where you can type when you open AutoGUI? If there is a group policy or ACL restriction affecting the loading of the DLL, you will get an error message. Some steps that can be taken to determine the...
by Alguimist
15 May 2019, 13:01
Forum: Ask For Help
Topic: Get Icon in Listview
Replies: 13
Views: 713

Re: Get Icon in Listview

The third parameter of IL_Add() is the icon index, not the index they will assume in the image list. ; Generated by AutoGUI 2.5.8 #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 Gui Font, s9, Segoe UI Gui Add, ListView, hWndhLVItems vLVItems gLVHandler x8 y8 w604 h403 +LV0x...
by Alguimist
15 May 2019, 06:58
Forum: Ask For Help
Topic: Get Icon in Listview
Replies: 13
Views: 713

Re: Get Icon in Listview

I can't figure out how to assign a variable to the icon. It doesn't make sense. If you need to associate any information with LV rows, they should be in an array. If you really need to identify the icon in a ListView, for example: to move items up/down, this is the function: LV_GetIconIndex(hLV, Ro...
by Alguimist
13 May 2019, 14:07
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 133
Views: 25298

Re: AutoGUI 2.5

Version 2.5.8 : • Added: Run menu > option: "Capture Standard Error" (enabled by default). When a script containing syntax errors is executed, the cursor is positioned at the beginning of the faulty line, an error sign is displayed in the symbol margin and a message box shows the details. • Added "M...
by Alguimist
13 May 2019, 13:30
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 342
Views: 178585

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

autocart wrote:
10 May 2019, 08:36
And it should also dynamically include all global variables.
Include all global variables in Script Directives?
by Alguimist
08 May 2019, 02:08
Forum: Ask For Help
Topic: Demo text in Gui Edit control?
Replies: 3
Views: 233

Re: Demo text in Gui Edit control?

You're looking for EM_SETCUEBANNER . In the following script, notice the second parameter (wParam) of SendMessage. If True, the hint text is displayed even when the Edit control has focus. ; Generated by AutoGUI 2.5.7 #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 Menu Tra...
by Alguimist
07 May 2019, 16:03
Forum: AutoHotkey v2 Development
Topic: [a101] FileObject problem Topic is solved
Replies: 3
Views: 305

Re: [a101] FileObject problem Topic is solved

Code for AHK v1: ExeFile:= "..." MsgBox % GetExeMachine(ExeFile) ; 0x8664 (34404) = 64-bit, 0x014C (332) = 32-bit MsgBox % GetBinaryType(ExeFile) ; 6 = 64-bit, 0 = 32-bit GetExeMachine(ExeFile) { f := FileOpen(ExeFile, "r") If (!IsObject(f)) { MsgBox 0x10, Error, % GetErrorMessage(A_LastError) Retur...
by Alguimist
07 May 2019, 15:47
Forum: Ask For Help
Topic: the example of AHK Command source code Topic is solved
Replies: 2
Views: 225

Re: the example of AHK Command source code Topic is solved

Send is coded in keyboard_mouse.cpp, in a very long function called SendKeys. It is essentially WM_KEYDOWN via PostMessage. Send(hWnd, String) { Loop % StrLen(String) { PostMessage 0x100, GetKeyVK(SubStr(String, A_Index, 1)), 1,, ahk_id %hWnd% ; WM_KEYDOWN } } In the Help folder of AutoGUI , there ...
by Alguimist
07 May 2019, 15:39
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 342
Views: 178585

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

One thing you can do for now, while the desired features were not implemented yet, is to simply do a rectangular selection around the first characters of the block and delete them. Rectangular selection can be achieved in two ways: • Using the mouse: press and hold the Alt key, then drag the mouse. ...
by Alguimist
06 May 2019, 15:53
Forum: AutoGUI
Topic: autocompletion of custom words?
Replies: 2
Views: 382

Re: autocompletion of custom words?

Should the autocompletion of custom words work in version 2.5.7? Autocompletion of user functions and variables has not been implemented yet. By "context-aware autocompletion" I mean: you type "Gui", followed by a space or comma, and the autocompletion list popups up showing only the sub-commands o...

Go to advanced search