Search found 303 matches

by Alguimist
11 Feb 2019, 08:14
Forum: AutoGUI
Topic: Feature Request: Incorporate DebugVars for better variable inspection of object variables
Replies: 5
Views: 364

Re: Feature Request: Incorporate DebugVars for better variable inspection of object variables

joedf wrote:
31 Jan 2019, 19:17
btw, where do you get all these icons?
The cubes come from an old version of the CKEditor documentation. The equal sign comes from a screenshot of a program called TSW WebCoder.
by Alguimist
30 Jan 2019, 22:39
Forum: AutoGUI
Topic: AHK_H v2
Replies: 1
Views: 321

Re: AHK_H v2

AutoGUI is not compatible with AHK v2 (be it AHK_L or AHK_H) and it is not also meant to be used as a compiled script, since I've not made any adaptations in the script as for that.
by Alguimist
30 Jan 2019, 22:33
Forum: Scripts and Functions
Topic: WinSpy - Window Information Tool
Replies: 39
Views: 19249

Re: WinSpy - Window Information Tool

Hello Alguimist, for the first time Windows10 antimalware started detecting a trojan when executing WinSpy? I've been using it for the last year and now they say its not safe... any clue what could make it say that? If this occurs, run WinSpy from the script, which is in the same folder of the exec...
by Alguimist
30 Jan 2019, 21:52
Forum: AutoGUI
Topic: Feature Request: Incorporate DebugVars for better variable inspection of object variables
Replies: 5
Views: 364

Re: Feature Request: Incorporate DebugVars for better variable inspection of object variables

AutoGUI already has this feature. The toolbar button to the "Inspect Variables" window becomes visible once debug mode is started.

Image
by Alguimist
30 Jan 2019, 21:40
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 108
Views: 14959

Re: AutoGUI 2.5

Alguimist, is there any way to change the size of the icons used on the GUI-generated toolbar code? It looks like it always uses the size 16 icon. There's no option yet to change the size of the icons in the Toolbar Editor, so you have to do it manually. For example: CreateToolbar() { ImageList := ...
by Alguimist
30 Jan 2019, 21:04
Forum: AutoGUI
Topic: AutoGUI 2.5 : Preview Issue
Replies: 1
Views: 381

Re: AutoGUI 2.5 : Preview Issue

I've seen this bug already but I couldn't determine its cause. It may be possible to find out the missing window with the Find functionality of WinSpy and then make it visible.
by Alguimist
09 Oct 2018, 14:49
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 108
Views: 14959

Re: AutoGUI 2.5

Version 2.5.4 : • New: AHK-WinAPI table (AutoGUI\Help\AHK-WinAPI.htm). This table provides an overview of how AutoHotkey works, showing which Windows API functions, messages, constants, structures, macros, etc are related to the AHK commands, functions and variables, or briefly describing its imple...
by Alguimist
03 Oct 2018, 07:56
Forum: AutoGUI
Topic: AutoGUI not working as intended anymore - "Show/Hide Preview Window" broken Topic is solved
Replies: 5
Views: 1305

Re: AutoGUI not working as intended anymore - "Show/Hide Preview Window" broken Topic is solved

Looks like there's some confusion going on here. - Scripts generated by the GUI designer are not saved in a special file format. If you want to reopen it later in the GUI designer, you have to inform AutoGUI to do so by going to File > Import GUI. - The session file is simply a list of all opened fi...
by Alguimist
30 Sep 2018, 04:40
Forum: Ask For Help
Topic: Count instances of path (stored in string) within larger string
Replies: 7
Views: 256

Re: Count instances of path (stored in string) within larger string

Guest wrote:You can count with StrReplace()

Code: Select all

Haystack := "C:\path\to\Efile.txt|C:\path\to\File.zip|C:\path\to\Efile.txt"
Needle := "C:\path\to\Efile.txt"

StrReplace(Haystack, Needle,, Count)
MsgBox % Count
by Alguimist
30 Sep 2018, 04:01
Forum: Ask For Help
Topic: Get text of a line from notepad++ (SCI_GETLINE)
Replies: 7
Views: 320

Re: Get text of a line from notepad++ (SCI_GETLINE)

You have to allocate memory in the remote process. Nppm_HWND() { Return DllCall("FindWindow", "Str", "Notepad++", "Int", 0, "Ptr") } SCI_HWND() { ControlGet hSci, Hwnd,, Scintilla1, % "ahk_id" Nppm_HWND() Return hSci } SCI_LINELENGTH(Line) { Return DllCall("SendMessage", "Ptr", SCI_HWND(), "UInt", 2...
by Alguimist
28 Sep 2018, 18:36
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 325
Views: 150999

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

For almost one year, I've been using exclusively AutoGUI to edit AHK scripts. Before that, I was also using AkelPad, where Ctrl+D inserts date and time. Most Scintilla-based text editors use Ctrl+D to duplicate line because that's a pre-defined behavior of the Scintilla control. In AutoGUI, a line i...
by Alguimist
28 Sep 2018, 03:25
Forum: AutoGUI
Topic: Enhancement Request
Replies: 2
Views: 597

Re: Enhancement Request

kczx3 wrote:It would be nice if the Find/Replace dialog would continue the search at the top of the document once stops finding matches at the bottom. That way you don't have to search in the opposite direction.
Done.
by Alguimist
28 Sep 2018, 03:17
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 108
Views: 14959

Re: AutoGUI 2.5

Version 2.5.3 : • New options in the Find/Replace dialog: "Wrap around" (cyclic search) and "Origin": current position or starting position. Current position is ignored by "Mark All", but not by "Replace All". • Fixed: "Mark/Replace All" with a zero-length match regular expression could enter an in...
by Alguimist
13 Sep 2018, 18:20
Forum: Ask For Help
Topic: GroupBox Control Covers Tab Control Topic is solved
Replies: 4
Views: 302

Re: GroupBox Control Covers Tab Control Topic is solved

I "feel like" this must be a long standing issue and there is no solution. How about this: ; Generated by AutoGUI 2.5.2 #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 Gui Add, GroupBox, hWndhGrp x27 y15 w307 h80, GroupBox Gui Add, Tab3, hWndhTab x70 y37 w225 h160, Tab 1|T...
by Alguimist
13 Sep 2018, 15:51
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 108
Views: 14959

Re: AutoGUI 2.5

Version 2.5.2 : • Fixed: multiple filenames can be passed in the command line to an existing instance of AutoGUI from the Explorer context menu (because it invokes a new instance of AutoGUI for every selected file), but on Total Commander all files are passed in a single call. • Updated MagicBox (v...
by Alguimist
13 Sep 2018, 04:53
Forum: Tips and Tricks
Topic: Storing images in the script itself and than displaying them in an animated button (picture control)
Replies: 11
Views: 1149

Re: Storing images in the script itself and than displaying them in an animated button (picture control)

A modified version: #SingleInstance Force #NoEnv SetWorkingDir %A_ScriptDir% SetBatchLines -1 Global hPic, hCursorHand := DllCall("LoadCursor", "Ptr", 0, "Ptr", 32649, "Ptr") CreateImages() Gui Add, Text, x20 y20 w360 Center, Image below is a button Gui Add, Picture, hWndhPic gImageClicked x156 y50 ...
by Alguimist
12 Sep 2018, 06:52
Forum: Ask For Help
Topic: v1/v2 Random for both
Replies: 18
Views: 645

Re: v1/v2 Random for both

Some time ago I posted a code for CryptGenRandom , but since I moved to a new computer it no longer works (NTE_BAD_PUBLIC_KEY). But I found some alternatives: rand_s rand_s(Seed, Min := 0, Max := 0XFFFFFFFF) { DllCall("msvcrt.dll\rand_s", "UInt*", Seed) Return Mod(Seed, (Max + 1 - Min)) + Min } n :=...
by Alguimist
12 Sep 2018, 04:49
Forum: Ask For Help
Topic: Add list to InputBox
Replies: 5
Views: 211

Re: Add list to InputBox

To make sure I can accommodate whatever data is entered I want to limit the options to a list such as (Chevy, Ford, Chrysler). If you want these boxes to have the appropriate look and feel of Windows, try this: #SingleInstance Force #NoEnv SetBatchLines -1 Model := InputBoxEx("Enter Model brand",, ...
by Alguimist
11 Sep 2018, 04:46
Forum: Scripts and Functions
Topic: Scripts management. AHK process list
Replies: 9
Views: 1053

Re: Scripts management. AHK process list

In Scripts Manager, a tool included with AutoGUI, the script list is updated by comparing the sum of the PIDs in a timer, but I will probably also switch to the Lexicos method. Thanks for demonstrating its usage. Some problems: I don't have AHK installed on C:\Program Files\AutoHotkey, so I don't se...
by Alguimist
11 Sep 2018, 04:32
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 108
Views: 14959

Re: AutoGUI 2.5

Is it possible to make the debugger break on an exception instead of having to define a breakpoint? The debugger redirects standard errors (stderr) to the "Standard Error View" window (Debug > Error Stream). It will soon be made optional. Meanwhile you can use OnError (introduced in AHK 1.1.29). Ex...

Go to advanced search