Search found 495 matches

by BGM
17 Feb 2019, 10:32
Forum: Scripts and Functions
Topic: [CLASS] ClassHook - Generalized class method hooking
Replies: 3
Views: 903

Re: [CLASS] ClassHook - Generalized class method hooking

What is a practical application of this? I mean, why did you make it? I've seen hooks (callbacks, I think are the same thing?) in other languages.
by BGM
18 Jan 2019, 21:03
Forum: Scripts and Functions
Topic: AppFactory - Easily allow end-users to configure hotkeys and settings in your scripts
Replies: 1
Views: 1928

Re: AppFactory - Easily allow end-users to configure hotkeys and settings in your scripts

Wow, this is really nice, but it also looks like a lot to digest. I have a gui already, and just want a way to capture a hotkey that uses the win key. This is so I can save a user-selected global hotkey for my app. The default ahk hotkey control doesn't capture the winkey. This library looks like ov...
by BGM
10 Jan 2019, 17:11
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22763

Re: [Class] Toolbar - Create and modify (Updated 03/17/2016)

Here's the fix for the code in class_toolbar() ;======================================================================================= ; Method: StringToNumber ; Description: Returns a number based on a string to be used as Command ID. ;==============================================================...
by BGM
10 Jan 2019, 09:54
Forum: Ask For Help
Topic: Clipboard function is intermittent
Replies: 8
Views: 1190

Re: Clipboard function is intermittent

SendLevel 9 ; with this additions lines it works also in globalIntelisense nearliy 99% of time 18-04-01_12-24
Ha! I never even knew about this! I'll try it out.
by BGM
10 Jan 2019, 00:44
Forum: Ask For Help
Topic: Clipboard function is intermittent
Replies: 8
Views: 1190

Re: Clipboard function is intermittent

Yes, I was going to do that in the documentation that I'm working on...
by BGM
10 Jan 2019, 00:29
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22763

Re: [Class] Toolbar - Create and modify (Updated 03/17/2016)

Also, you gave me this example earlier in the thread. I changed the labels to numbers, but every button provides a popup saying: "MsgBox, You selected 400" even if I click on the other buttons. Isn't that weird? Maybe I need to restart my computer (Windows 7). #NoEnv #SingleInstance, Force #Include ...
by BGM
10 Jan 2019, 00:10
Forum: Scripts and Functions
Topic: [Class] Toolbar - Create and modify (Updated Aug, 9, 2020)
Replies: 55
Views: 22763

Re: [Class] Toolbar - Create and modify (Updated 03/17/2016)

Ah, I removed this humongous post because I solved the problem. I was loading an icon with an empty value, then when I went to delete the icons I didn't want in the toolbar, since it had a value of 0, the class_toolbar deleted them all. Finally found the culprit. Now I know to test for a value befor...
by BGM
08 Jan 2019, 17:24
Forum: Ask For Help
Topic: Clipboard function is intermittent
Replies: 8
Views: 1190

Re: Clipboard function is intermittent

Additional note: you are probably using TF in your new App at donationcoder Wow! You noticed that! Actually, I originally didn't realize that the tf function was for files... but I was trying to use it on text in a variable. (I didn't pay enough attention) I have fixed this, actually, with my own f...
by BGM
02 Jan 2019, 12:59
Forum: Ask For Help
Topic: Activate Window and Send Double-Click
Replies: 5
Views: 1861

Re: Activate Window and Send Double-Click

Hey! That does the trick! Thank you very much!
by BGM
01 Jan 2019, 23:14
Forum: Ask For Help
Topic: Activate Window and Send Double-Click
Replies: 5
Views: 1861

Re: Activate Window and Send Double-Click

This, maybe?

So, I want to activate the window, get the position of the caret, and double-click there...
This doesn't do it, though.

Code: Select all

winactivate ahk_id 0x131d7a
CoordMode,Mouse,caret	
MouseClick, left, X%a_caretx%, Y%a_carety%, 2
by BGM
01 Jan 2019, 16:45
Forum: Ask For Help
Topic: Activate Window and Send Double-Click
Replies: 5
Views: 1861

Re: Activate Window and Send Double-Click

ooooh, I have to move the mouse first then. ookay. Thanks!
by BGM
01 Jan 2019, 15:27
Forum: Ask For Help
Topic: Activate Window and Send Double-Click
Replies: 5
Views: 1861

Activate Window and Send Double-Click

In my script, I need to activate a window and send a double click (to select a word in a text editor). So I put this code into the QuickCodeEditor. Try it! When I push run, it activates the window, then returns focus to QuickCodeEditor. It shouldn't do that. And it doesn't seem to send double-click....
by BGM
27 Dec 2018, 13:10
Forum: Ask For Help
Topic: Clipboard function is intermittent
Replies: 8
Views: 1190

Clipboard function is intermittent

Can somebody help me with this? I've been working on this script for years. It's part of a much bigger script, but this is the crux of the entire process, and is used in different ways later on, hence the reason why I have the functions separated out. It uses the tf.ahk function library; other than ...
by BGM
26 Dec 2018, 12:48
Forum: Ask For Help
Topic: Quick Flash Mouse Cursor
Replies: 5
Views: 951

Re: Quick Flash Mouse Cursor

Hey! This is absolutely perfect! Thank you! I added it to my resident ahk script.
I put the hotkey on win+appskey
Soooooo perfect!
by BGM
26 Dec 2018, 12:21
Forum: Ask For Help
Topic: Quick Flash Mouse Cursor
Replies: 5
Views: 951

Re: Quick Flash Mouse Cursor

Whilst I like the look of the Windows function, I don't want it on the ctrl key, because it runs when I don't intend it.
It's exactly the correct look that I want, though.
by BGM
26 Dec 2018, 11:40
Forum: Ask For Help
Topic: Quick Flash Mouse Cursor
Replies: 5
Views: 951

Quick Flash Mouse Cursor

When I am using Krita to paint, and the painting cursor is too small, then I can't find it and I move it all over the place looking for it on my three monitors. I am thinking of an ahk script that where I could push a key-combo to quickly flash a circle around the mouse cursor. By "flash" I mean to ...
by BGM
16 Jul 2018, 13:09
Forum: Scripts and Functions
Topic: [Game] AHK Klondike Solitaire
Replies: 18
Views: 4649

Re: [Game] AHK Klondike Solitaire

Thanks!
by BGM
09 Jul 2018, 09:58
Forum: Scripts and Functions
Topic: Simple Photoshop Keyboard for Artists
Replies: 3
Views: 4389

Re: Simple Photoshop Keyboard for Artists

Great Idea! Thanks for sharing!

I made something like this for InDesign using extendscript - only it is an extra little panel full of zoom control buttons (since CS6 took away the zoom panel [scum!]).
by BGM
20 Jun 2018, 18:51
Forum: Scripts and Functions
Topic: Mouse And Keyboard Macro Recorder
Replies: 105
Views: 78417

Re: Mouse And Keyboard Macro Recorder

Anybody compared this to Pulover's Macro Creator? It was made in ahk, too, you know.
http://www.macrocreator.com
by BGM
06 Jun 2018, 11:13
Forum: Forum Issues
Topic: Bookmarks without Tags
Replies: 7
Views: 2380

Re: Bookmarks without Tags

Thanks, Joe - that's nice! It works like a charm, too! You are so kind!

Go to advanced search