Search found 372 matches

by Alguimist
26 Sep 2020, 06:44
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 387
Views: 274987

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

Note: I've been a little absent from the forum, but I'm actively working on software projects. @Alguimist on a side note, this next version must be a huge leap based on the things I’ve read that you’re working on! A lot of improvements, new features and optimizations. AutoGUI, now called Adventure, ...
by Alguimist
30 Aug 2020, 17:59
Forum: Ask For Help
Topic: Is there another tool to capture window messages for PostMessage and SendMessage command except Winspector Spy? Topic is solved
Replies: 2
Views: 132

Re: Is there another tool to capture window messages for PostMessage and SendMessage command except Winspector Spy? Topic is solved

There is Window Detective. If you need to examine details of a program, such as IDs associated to menu items or controls, you may benefit from the use of WinSpy as well.
by Alguimist
30 Aug 2020, 17:48
Forum: AutoGUI
Topic: Customize Editor.ahk custom/comment folding
Replies: 2
Views: 906

Re: Customize Editor.ahk custom/comment folding

johans2 You can simply do this: { MsgBox } AHK syntax allows a block of code to be enclosed in braces, so there is no need to suppose the existence of parameters for the definition of folding tokens. The AHK lexer has no specific folding properties. Scintilla natively has four: fold, fold.compact, ...
by Alguimist
11 Jun 2020, 15:31
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 387
Views: 274987

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

madsounds Since I couldn't find a way to properly reproduce the bug you described, I rely on your feedback and attention to perform the following: - Make sure you are running an unmodified version of AutoGUI. You may need to extract the files again to a new location. Also make sure that the setting...
by Alguimist
11 Jun 2020, 15:16
Forum: AutoGUI
Topic: Structor - Get the Offsets of Structures
Replies: 9
Views: 7696

Re: Structor - Get the Offsets of Structures

Hello, jNizM :)

I tested Structor on Windows 10 and the gradient function is working fine. The function you posted, on the other hand, doesn't seem to be working as expected: it simply creates a bitmap with the two colors as separate blocks, without the gradient transition between them.
by Alguimist
04 Jun 2020, 13:23
Forum: Ask For Help
Topic: how to attach a slider to a progress bar Topic is solved
Replies: 4
Views: 236

Re: how to attach a slider to a progress bar Topic is solved

True.
The position is also stored in the output variable whenever the control's g-label is launched.
by Alguimist
04 Jun 2020, 12:18
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 387
Views: 274987

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

@madsounds
The code you posted doesn't work and, as a result, some features of the editor that rely on notifications become unavailable.

One possible solution: search for __SCI(NumGet(lParam + 0)) and replace it by __SCI(NumGet(lParam + 0, 0, "Ptr")).
by Alguimist
04 Jun 2020, 11:47
Forum: Ask For Help
Topic: how to attach a slider to a progress bar Topic is solved
Replies: 4
Views: 236

Re: how to attach a slider to a progress bar Topic is solved

The following code does what you ask: #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 Global hPrg, Sldr Gui Add, Progress, hWndhPrg x42 y33 w377 h20 -Smooth, 0 Gui Add, Slider, vSldr gSetProgress x42 y79 w377 h32 +AltSubmit, 0 Gui Show, w461 h146, Progress Indicator Return ...
by Alguimist
03 Jun 2020, 07:02
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 387
Views: 274987

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

madsounds I could reproduce the error you described by hardcoding a negative value as the Scintilla handle passed to the function __SCI. This function dynamically converts a Scintilla handle to a static variable associated with the Scintilla object. Variable names cannot contain a minus sign, hence...
by Alguimist
27 Apr 2020, 10:01
Forum: AutoGUI
Topic: MsgBoxEx() Gui Submit is hiding Owner Topic is solved
Replies: 3
Views: 1531

Re: MsgBoxEx() Gui Submit is hiding Owner Topic is solved

@megnatar
Thanks for reporting, I will revise the code. Apparently, all that has to be done is to provide the hWnd when calling submit: Gui %hWnd%: Submit, and remove the Gui Destroy line.
by Alguimist
27 Apr 2020, 10:00
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 387
Views: 274987

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

@zakk
Thank you for the feedback and suggestions.
A simple template mechanism has been added to the version I'm working on, where the current file can be saved as a template.
by Alguimist
27 Apr 2020, 09:59
Forum: AutoGUI
Topic: Can't open Session
Replies: 2
Views: 2019

Re: Can't open Session

@Isamono
Hi. The way sessions work completely changed in the version I'm working on and the GUI designer is no longer integrated with the script editor.
by Alguimist
27 Apr 2020, 09:57
Forum: AutoGUI
Topic: Relativity - Add relative positioning to controls in GUIs created by AutoGUI's GUI designer
Replies: 28
Views: 6676

Re: Relativity - Add relative positioning to controls in GUIs created by AutoGUI's GUI designer

boiler " Do you think it is adequate with just the tooltips, especially if they pop up faster? " Sorry, I didn't notice the tooltips. I don't know what is the proper guideline in this respect, so leave as it is. haichen " Do you plan to support Powershell? " I have not tested GUIs in PowerShell yet...
by Alguimist
07 Apr 2020, 09:42
Forum: AutoGUI
Topic: Relativity - Add relative positioning to controls in GUIs created by AutoGUI's GUI designer
Replies: 28
Views: 6676

Re: Relativity - Add relative positioning to controls in GUIs created by AutoGUI's GUI designer

Hello, Boiler :D. I tested your script. It has a nice looking user interface, that resembles the ribbon concept, appropriate for this category of information handling (by the way: I have a ribbon designer under construction). Some time ago I started to work on a partially similar feature in AutoGUI,...
by Alguimist
07 Apr 2020, 08:46
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 387
Views: 274987

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

anotherbyte : sorry for the late reply. Recently I was checking the documentation of OPENFILENAME , where there is a mention to "create-nonmodify network share", which is probably your case. I could check the drive type when an error occurs when saving, with the commmand DriveGet (Type, Network), a...
by Alguimist
27 Mar 2020, 07:40
Forum: AutoGUI
Topic: Structor error LNK2019
Replies: 1
Views: 1153

Re: Structor error LNK2019

32 bit offset works fine? Make sure that both compiler architectures are working fine. Keys F2-F4 provide samples for testing. The structure name is being omitted at the end of the declaration. WNDCLASSEXW : typedef struct tagWNDCLASSEXW { UINT cbSize; UINT style; WNDPROC lpfnWndProc; int cbClsExtra...
by Alguimist
25 Mar 2020, 13:52
Forum: Ask For Help
Topic: Way to detect if non AHK program will require elevation Topic is solved
Replies: 2
Views: 219

Re: Way to detect if non AHK program will require elevation Topic is solved

MsgBox % IsElevationRequired("C:\Windows\System32\rstrui.exe") == 1 IsElevationRequired(FilePath) { Local hModule := DllCall("GetModuleHandle", "Str", "shell32.dll", "Ptr") IsElevationRequired := DllCall("GetProcAddress", "Ptr", hModule, "UInt", 865, "Ptr") If (!hModule || !IsElevationRequired) { R...
by Alguimist
24 Mar 2020, 08:18
Forum: Ask For Help
Topic: Using CultureInfo.CurrentCulture to compare strings with current locale settings
Replies: 2
Views: 381

Re: Using CultureInfo.CurrentCulture to compare strings with current locale settings

This is probably what you are looking for: MsgBox % CompareStringEx("HEllO", "héLLo", 0x21) /* String Flags. NORM_IGNORECASE 0x00000001 // ignore case NORM_IGNORENONSPACE 0x00000002 // ignore nonspacing chars NORM_IGNORESYMBOLS 0x00000004 // ignore symbols LINGUISTIC_IGNORECASE 0x00000010 // linguis...
by Alguimist
18 Mar 2020, 00:02
Forum: Ask For Help
Topic: run inetcpl.cpl with parameter ",4"? Topic is solved
Replies: 4
Views: 573

Re: run inetcpl.cpl with parameter ",4"? Topic is solved

Run control inetcpl.cpl`,`,4 Control.exe is a shorthand program that invokes rundll32 Shell32.dll,Control_RunDLL . It also works this way: Run % "rundll32 Shell32.dll,Control_RunDLL inetcpl.cpl,,4" You can also do this: Run rundll32 Shell32.dll`,Control_RunDLL inetcpl.cpl,,, PID WinWaitActive ahk_p...
by Alguimist
05 Mar 2020, 15:25
Forum: Ask For Help
Topic: changing GUI classname Topic is solved
Replies: 2
Views: 2723

Re: changing GUI classname Topic is solved

if we wanted to change the GUI classname to something other than "AutoHotkeyGUI", what places in the ahkdll code would we need to change? 1) source\defines.h: #define WINDOW_CLASS_GUI _T("AutoHotkeyGUI") 2) Edit the binary with a hex editor. Not recommended. 3) Create the window with DllCall: - Set...

Go to advanced search