Search found 306 matches

by Alguimist
29 Mar 2019, 19:26
Forum: AutoGUI
Topic: Utilize "Multiple Views" Capability of Scintilla
Replies: 2
Views: 214

Re: Utilize "Multiple Views" Capability of Scintilla

Some time ago I noticed that Notepad++ reuses the same instance of Scintilla in all tabs, while Programmer's Notepad do not. And so I didn't bother to further investigate the subject. But, as you mention, it sounds like a good suggestion, and I will soon do some tests. If it's worth implementing, I'...
by Alguimist
29 Mar 2019, 19:17
Forum: AutoGUI
Topic: Hotkey to cycle through command variants
Replies: 1
Views: 177

Re: Hotkey to cycle through command variants

Hi, toralf. Thanks for your suggestion.

This feature has been implemented in the upcoming version of AutoGUI.
by Alguimist
04 Mar 2019, 21:39
Forum: AutoGUI
Topic: AutoGUI - Script Editor, GUI Designer, Debugger and Tools
Replies: 327
Views: 159031

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

Is there any way to re-enable the designer mode after accidentally changing something but reverting the change again? When you leave Design Mode, you are asked whether you want to disconnect the GUI Designer (no way back) ou duplicate the tab contents (so that you can edit the generated code in one...
by Alguimist
11 Feb 2019, 08:14
Forum: AutoGUI
Topic: Feature Request: Incorporate DebugVars for better variable inspection of object variables
Replies: 6
Views: 656

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

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

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: 6
Views: 656

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: 110
Views: 17321

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

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: 110
Views: 17321

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
Replies: 5
Views: 1541

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

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

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

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: 327
Views: 159031

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

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: 110
Views: 17321

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

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: 110
Views: 17321

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

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

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 :=...

Go to advanced search