Search found 449 matches

by Delta Pythagorean
11 Feb 2019, 07:47
Forum: Scripts and Functions
Topic: [AHK v2] Compare Texts and Highlight Differences
Replies: 8
Views: 671

Re: [AHK v2] Compare Texts and Highlight Differences

Oh wow!

This is quite useful, especially for version comparison!
Thank you very much!
by Delta Pythagorean
02 Feb 2019, 17:51
Forum: Ask For Help
Topic: OnExit Func Inside a Class Topic is solved
Replies: 1
Views: 52

Re: OnExit Func Inside a Class Topic is solved

Nevermind, I need to read the Docs more often.
AHK Docs wrote:

Code: Select all

; Register an object to be called on exit:
OnExit(ObjBindMethod(MyObject, "Exiting"))

class MyObject
{
	Exiting()
	{
		MsgBox, MyObject is cleaning up prior to exiting...
		/*
		this.SayGoodbye()
		this.CloseNetworkConnections()
		*/
	}
}
by Delta Pythagorean
02 Feb 2019, 17:46
Forum: Ask For Help
Topic: OnExit Func Inside a Class Topic is solved
Replies: 1
Views: 52

OnExit Func Inside a Class Topic is solved

With the "new" OnExit func, I want to be able to exit the script and have the OnExit function to be a function that's inside a class (Without using __Delete). For example: Class StartupClass { __New() { OnExit() ; What goes in here? } } Class ExitClass { OnExitFunction() { MsgBox, Closing down! } }
by Delta Pythagorean
01 Feb 2019, 15:44
Forum: Scripts and Functions
Topic: LibCon - AutoHotkey Library For Console Support
Replies: 14
Views: 5612

Re: LibCon - AutoHotkey Library For Console Support

I know this is quite the old topic, but would anyone here know how I can continue to use an ActiveX control without it freezing/crashing because of a "read input" command causing the whole script to freeze?
by Delta Pythagorean
31 Jan 2019, 15:12
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 275
Views: 81873

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

Hellbent wrote:
31 Jan 2019, 10:18
Delta Pythagorean wrote:
21 Jan 2019, 12:23
Your UIs remind me of Source Game's UI windows. Looking all minimal and dark.
<IMG>

I saw the image you posted and was going to say that I really like the style of your GUI (don't love the colour though), then I saw your comment lol.
Yeah, I wish lol
by Delta Pythagorean
21 Jan 2019, 12:23
Forum: Scripts and Functions
Topic: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)
Replies: 275
Views: 81873

Re: Examples of Non-Standard GUIs (ActiveX, GDI, etc.)

Your UIs remind me of Source Game's UI windows. Looking all minimal and dark.
Image
by Delta Pythagorean
12 Jan 2019, 15:33
Forum: Scripts and Functions
Topic: Color Picker
Replies: 10
Views: 447

Re: Color Picker

Is there a way to close the script without having to use the tray menu? If I try to close the window it'll just pop back up again. I suggest looking into this: GuiClose
by Delta Pythagorean
11 Jan 2019, 15:44
Forum: Scripts and Functions
Topic: [GAME] REGEX FROGGER
Replies: 4
Views: 378

Re: [GAME] REGEX FROGGER

Pardon my French but I'll be damned
by Delta Pythagorean
10 Jan 2019, 09:34
Forum: Ask For Help
Topic: FileSelectFile's Filter parameter question
Replies: 2
Views: 118

Re: FileSelectFile's Filter parameter question

This has more to do with what the user specifies in the Edit box at the bottom of the dialog. You can check if the user specifies a file extension by using SplitPath.
by Delta Pythagorean
04 Jan 2019, 14:44
Forum: Ask For Help
Topic: Change wallpaper randomly
Replies: 1
Views: 77

Re: Change wallpaper randomly

#NoEnv #SingleInstance, Force #KeyHistory, 0 #MaxThreadsPerHotkey, 1 #Persistent ListLines, Off SendMode, Input SetBatchLines, -1 SetWinDelay, -1 SetMouseDelay, -1 SetKeyDelay, -1, -1 SetTitleMatchMode, 2 DetectHiddenWindows, On SetWorkingDir, % A_ScriptDir Wallpapers := [] ; Forces the list to be ...
by Delta Pythagorean
04 Jan 2019, 14:25
Forum: Ask For Help
Topic: Escaping quotes and hash character
Replies: 6
Views: 192

Re: Escaping quotes and hash character

AHK tends to have a bit of a lazy day when it comes to using escape characters, and double quotes are no exception. To put it simply, double quotes, turn into quadruple quotes. It's weird, makes no sense, and annoys me to high hell, but I got used to it by having my editor highlight certain escape c...
by Delta Pythagorean
04 Jan 2019, 14:20
Forum: Ask For Help
Topic: I got error color in SciTE4AutoHotkey
Replies: 3
Views: 139

Re: I got error color in SciTE4AutoHotkey

If you wouldn't mind hosting the screenshot to a new website, such as Imgur for a better resolution.

As for the syntax error, this is the demo for syntax highlighting in SciTE2AHK. This would, of course, provide an understanding to the user for what they can tell the differences between.
by Delta Pythagorean
03 Jan 2019, 06:15
Forum: Scripts and Functions
Topic: maestrith's Object to String and Messagebox function
Replies: 4
Views: 399

Re: maestrith's Object to String and Messagebox function

Little tip for next time, the "code" block tag exists for a reason :P
Moderation Note: added code tags to original post
by Delta Pythagorean
03 Jan 2019, 06:14
Forum: Scripts and Functions
Topic: Socials Mini
Replies: 4
Views: 498

Re: Socials Mini

Looks cool, but you can definitely minimize a lot of this code. Even allow the user to add their own log ins if they'd like!
by Delta Pythagorean
31 Dec 2018, 01:40
Forum: Ask For Help
Topic: Autoit to AutoHotkey
Replies: 8
Views: 396

Re: Autoit to AutoHotkey

MouseClick and PixelSearch parameters are not expression enabled. I.E. they must be in numbers or calling the variable like so:
MouseClick, Right, % PixX, % PixY, 1, 3
by Delta Pythagorean
31 Dec 2018, 01:36
Forum: Ask For Help
Topic: i need code
Replies: 12
Views: 430

Re: i need code

I'd suggest this: *w::SendInput, {Blind}{Ctrl}
Hope this helps
by Delta Pythagorean
31 Dec 2018, 00:12
Forum: Ask For Help
Topic: #SingleInstance, Force not working like it should
Replies: 3
Views: 184

Re: #SingleInstance, Force not working like it should

Try closing all of the AHK scripts that you have running, then try to run the script and see what happens.
by Delta Pythagorean
31 Dec 2018, 00:09
Forum: Ask For Help
Topic: Tray Icon Loading Issues
Replies: 3
Views: 168

Re: Tray Icon Loading Issues

This seems less of an issue with GDIP and more with AHK's Working directory.
SetWorkingDir, % A_ScriptDir is a good way to start with this problem.

EDIT:
If anything, you should try for a If (FileExist("clockfile.bmp")) for a precaution.
by Delta Pythagorean
31 Dec 2018, 00:05
Forum: Ask For Help
Topic: Is there any way to create a function dynamically? Topic is solved
Replies: 13
Views: 673

Re: Is there any way to create a function dynamically? Topic is solved

As of currently. No. Functions are set in stone as it is.
You can, however, CALL the function dynamically:

Code: Select all

CallFunc := "FunctionNames"
MsgBox, % [CallFunc]()

FunctionNames() {
	Return, True
}

Go to advanced search