Search found 349 matches

by Alguimist
13 Sep 2018, 15:51
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 150
Views: 42359

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

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

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

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

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: 150
Views: 42359

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...
by Alguimist
11 Sep 2018, 04:20
Forum: Bug Reports
Topic: Buggy Help (chm) file of AHK 1.1.30
Replies: 22
Views: 4591

Re: Buggy Help (chm) file of AHK 1.1.30

The help file with the classic style sidebar is included with AutoGUI.
by Alguimist
08 Sep 2018, 05:59
Forum: Scripts and Functions
Topic: WinSpy - Window Information Tool
Replies: 52
Views: 31440

Re: WinSpy - Window Information Tool

Version 1.0.3:
• Much more information about Scintilla controls is displayed in the Extra tab.
• Minor bug fixes.

:arrow: See the initial post for the download link and a detailed description of all features.
by Alguimist
07 Sep 2018, 07:19
Forum: Ask For Help
Topic: INIREAD returns ERROR Topic is solved
Replies: 8
Views: 1365

Re: INIREAD returns ERROR Topic is solved

Notepad refers to "UTF-16 LE" as "Unicode".
by Alguimist
07 Sep 2018, 05:48
Forum: Scripts and Functions
Topic: MagicBox - Message Box Generator
Replies: 37
Views: 23707

Re: MagicBox - Message Box Generator

Version 1.0.4 : • More functions added. • Minor bug fixes. :arrow: Download MagicBox List of functions: • MsgBox • MsgBoxEx • MessageBoxCheck (SHMessageBoxCheck) • ShellMessageBox • MessageBox • MessageBoxTimeout • MessageBoxIndirect • SoftModalMessageBox • WTSSendMessage • MsiMessageBox • FatalApp...
by Alguimist
07 Sep 2018, 04:51
Forum: Ask For Help
Topic: INIREAD returns ERROR Topic is solved
Replies: 8
Views: 1365

Re: INIREAD returns ERROR Topic is solved

Open the ini file in Notepad and save it with the encoding "Unicode" (UTF-16 LE).
by Alguimist
07 Sep 2018, 03:32
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 150
Views: 42359

Re: AutoGUI 2.5

Hello, DRocks. GUI undo/redo is already in sight, but I have to do some work first.
by Alguimist
07 Sep 2018, 03:28
Forum: Ask For Help
Topic: INIREAD returns ERROR Topic is solved
Replies: 8
Views: 1365

Re: INIREAD returns ERROR Topic is solved

Your ini file is in UTF-8 with BOM.
by Alguimist
07 Sep 2018, 00:39
Forum: AutoGUI
Topic: For Total Commander Users
Replies: 1
Views: 1738

For Total Commander Users

How to quickly open AHK scripts in AutoGUI from Total Commander? The problem is that in Total Commander a default editor can de defined for the F4 key, but not on a file extension basis, so you will end up using a generic text editor and get used to it for any kind of text file. Here I will describ...
by Alguimist
04 Sep 2018, 22:58
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 150
Views: 42359

Re: AutoGUI 2.5

Version 2.5.1 (some minor bugs that should have been fixed already): • Fixed line visibility when using Find next/previous, go to line, go to next/previous mark, debug step (the line is centralized in the previous version). Also ensure that lines hidden in contracted folds become visible. • Fixed: ...
by Alguimist
01 Sep 2018, 20:18
Forum: Ask For Help
Topic: Checking/Unchecking Checkboxes
Replies: 19
Views: 1953

Re: Checking/Unchecking Checkboxes

I tested the code with some minor modifications and it works for me. SetTitleMatchMode 3 WinTitle := " Properties ahk_class #32770 ahk_exe rundll32.exe" run control mmsys.cpl`,`, 0 WinWait, Sound ahk_class #32770 Send, {Down 1} Send, {Tab 2}{Enter} WinWait, %WinTitle% Send ^{Tab 2} Send, {Down 3} Sl...
by Alguimist
01 Sep 2018, 16:05
Forum: Ask For Help
Topic: Checking/Unchecking Checkboxes
Replies: 19
Views: 1953

Re: Checking/Unchecking Checkboxes

The button is in WinSpy, not Window Spy.

Image

Can you post the entire code you're using to test?
by Alguimist
01 Sep 2018, 16:03
Forum: AutoGUI
Topic: Can't start AutoGUI
Replies: 3
Views: 1972

Re: Can't start AutoGUI

tcebob wrote:Autohotkey 2.0.0.0
AutoGUI is for AHK v1 (notice the number 1.1.30 on the top bar of the forum). The minimum requirement is AHK 1.1.23 or higher, but that doesn't include AHK v2.
by Alguimist
01 Sep 2018, 01:21
Forum: AutoGUI
Topic: AutoGUI 2.5
Replies: 150
Views: 42359

Re: AutoGUI 2.5

OK. Replace ToggleComment in Editor.ahk with this: ToggleComment() { n := TabEx.GetSel() Pos := Sci[n].GetCurrentPos() SelStart := Sci[n].GetSelectionStart() SelEnd := Sci[n].GetSelectionEnd() LineStartPos := Sci[n].PositionFromLine(Sci[n].LineFromPosition(SelStart)) If (SelStart == SelEnd) { SelEnd...
by Alguimist
31 Aug 2018, 20:26
Forum: Ask For Help
Topic: Checking/Unchecking Checkboxes
Replies: 19
Views: 1953

Re: Checking/Unchecking Checkboxes

No luck. Copied and pasted the same code, set TitleMatchMode in the first line, but doesn't work. Tried without the space too, still the MsgBox returns nothing. There's no window that contains 'properties', let alone being just 'properties' except of the Sound's one, the one I'm actually working on...

Go to advanced search