Search found 54 matches

by AHKxx
18 Mar 2015, 17:42
Forum: Ask For Help
Topic: Best practices with a series of IF statements
Replies: 4
Views: 1167

Best practices with a series of IF statements

I have a script that has been running well but has started giving me problems. The script is fairly simple, but it is lengthy, and a problem has developed somewhere inside it. I think it is probably a best practices issue, possibly combined with formatting issues, but I'd appreciate some insight. Th...
by AHKxx
19 Feb 2015, 22:42
Forum: Ask For Help
Topic: Defining a custom modifier key
Replies: 2
Views: 1228

Re: Defining a custom modifier key

Awesome! Thanks.

AHK is frighteningly cool.
by AHKxx
19 Feb 2015, 22:29
Forum: Ask For Help
Topic: Defining a custom modifier key
Replies: 2
Views: 1228

Defining a custom modifier key

Is it possible to define a custom modifier key, so that in addition to having Ctrl, Alt, Shift, and Win, you could also, for example, define the INS key as a modifier that did nothing by itself. but could be held down to modify the actions of another key?
by AHKxx
19 Feb 2015, 22:26
Forum: Ask For Help
Topic: How to use modifier(s) + semicolon (;) to trigger a hotkey?
Replies: 6
Views: 1225

Re: How to use modifier(s) + semicolon (;) to trigger a hotk

lexikos wrote: You can even write +`; if you want, but it's not necessary because ; comments require a leading space or tab if they aren't at the beginning of the line.

You can even write :::MsgBox.

These even work in ancient versions of AutoHotkey.
That's very useful to know.
by AHKxx
10 Oct 2014, 14:47
Forum: Scripts and Functions
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 67
Views: 33541

Re: AutoHotkey Startup (Consolidate AHK Scripts' Tray Icons)

Thanks for the reply, FG. The problem was that... ; Send {LWin Down}b{LWin Up}{Enter}{Escape} ...had gotten uncommented. Not sure how, but once I commented that out, it was good. I was also using the next-to-most-recent version from page one, but that didn't seem to be the issue. I've updated in any...
by AHKxx
09 Oct 2014, 21:08
Forum: Scripts and Functions
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 67
Views: 33541

Re: AutoHotkey Startup (Consolidate AHK Scripts' Tray Icons)

Is it possible to disable/comment out the "Script lines most recently executed..." window that pops up when Startup completes? Thanks! I do not get any pop up like that. That sounds like one of your scripts has the command ListLines somewhere in it. That is a command that is generally only used for...
by AHKxx
10 Jul 2014, 19:24
Forum: Ask For Help
Topic: Using the Menu key in a script
Replies: 5
Views: 3155

Re: Using the Menu key in a script

Thanks. I didn't know that Shift+F10 = Menu key. That makes it much easier to deal with. I've seen references to that key as RWin, and also with key code SC15D which would let you do things like: RAlt & SC15D::MsgBox But that was messy in all kinds of ways. Shift+F10 was the solution. So I end up wi...
by AHKxx
10 Jul 2014, 12:39
Forum: Ask For Help
Topic: Using the Menu key in a script
Replies: 5
Views: 3155

Using the Menu key in a script

Hi. There's a simple macro I would like make but can't figure out how. I want it to press and release the Windows menu key on the right (the one that brings up context menus) followed by {DOWN}{ENTER}. And that's it. But I can't figure out how to properly specify that key, or even be certain how tha...
by AHKxx
14 Jun 2014, 22:53
Forum: Scripts and Functions
Topic: Hotkey Help - Display Active AHK Hotkeys and Hotstrings
Replies: 67
Views: 21468

Re: Hotkey Help - Display Active AHK Hotkeys and Hotstrings

ya i had looked to see if it was defined in the script and kind of suspected it wouldn't be.

But editing the registry key did it. Thanks.
by AHKxx
14 Jun 2014, 12:34
Forum: Scripts and Functions
Topic: Hotkey Help - Display Active AHK Hotkeys and Hotstrings
Replies: 67
Views: 21468

Re: Hotkey Help - Display Active AHK Hotkeys and Hotstrings

How can I make Hotkey Help use Notepad++ when it opens a script for editing? I just did a clean installation of Windows 7, and the Hotkey Help script is using the native Windows Notepad. I'm pretty sure that previously it would open scripts in NPP. am I remembering that incorrectly, or have I just f...
by AHKxx
14 May 2014, 00:02
Forum: Ask For Help
Topic: Scripts works fine until I switch application windows.
Replies: 2
Views: 583

Re: Scripts works fine until I switch application windows.

Thanks for the reply. Pressing left shift didn't fix it. But I figured out what it was. I am using an alternative for Alt+Tab window switching, called VistaSwitcher. And that was causing it. It was right around the time I started using that that I noticed that the ahk script was only working intermi...
by AHKxx
10 May 2014, 13:26
Forum: Ask For Help
Topic: Scripts works fine until I switch application windows.
Replies: 2
Views: 583

Scripts works fine until I switch application windows.

I can't figure this out. I have a script that contains a bunch of simple replacements like this ::replacethis::withthis ::replacethat::withsomethingelse These are a block of code inside a script that also contains hot key commands. These were mostly working fine. Sometimes I would notice that these ...
by AHKxx
24 Mar 2014, 23:45
Forum: Ask For Help
Topic: Combining the Right Control key and the AppsKey
Replies: 1
Views: 616

Combining the Right Control key and the AppsKey

I would like to combine the Right control key and the AppsKey so that when I hold them both, they would function like the Left Win key. So that for example, I'd be able to use RCtrl + AppsKey plus the arrow keys to reposition windows. I've tried thinks like.... [size=200]RControl & appskey::Lwin ; t...
by AHKxx
24 Mar 2014, 21:40
Forum: Scripts and Functions
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 67
Views: 33541

Re: AutoHotkey Startup (Consolidate AHK Scripts' Tray Icons)

Follow on from previous post. When I go back to the very first version of Startup that I downloaded (a few weeks ago, before the recent round up updates), and remove all scripts so that it just starts itself and runs nothing, I still get the List Lines window. Script lines most recently executed (ol...
by AHKxx
24 Mar 2014, 21:18
Forum: Scripts and Functions
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 67
Views: 33541

Re: AutoHotkey Startup (Consolidate AHK Scripts' Tray Icons)

Thanks for the reply. Strange. When I run the individual scripts on their own, I don't get the ListLines window. And when I run Startup without any scripts or folders in the menu, I don't get the ListLines window either. But when I run Startup with a folder reference, but remove all scripts from the...
by AHKxx
24 Mar 2014, 19:26
Forum: Scripts and Functions
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 67
Views: 33541

Re: AutoHotkey Startup (Consolidate AHK Scripts' Tray Icons)

Thanks for taking the time to test and post AHKxx! FG My pleasure. These two scripts together make AHK into an integrated application. I'm new to AHK, but they're making it much easier to get what I want out of it. Is it possible to disable/comment out the "Script lines most recently executed..." w...
by AHKxx
24 Mar 2014, 16:36
Forum: Scripts and Functions
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 67
Views: 33541

Re: AutoHotkey Startup (Consolidate AHK Scripts' Tray Icons)

Nice update, with the right click menu. Thanks! In Startup, I am using a path to reference the files I'm loading (plus one direct path to another script.) I'm getting an interesting error. (I'm on Windows 7 32 bit.) On the right click menu, when I select any of the script submenus, and then select s...
by AHKxx
22 Mar 2014, 23:34
Forum: Scripts and Functions
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 67
Views: 33541

Re: AutoHotkey Startup (Consolidate AHK Scripts' Tray Icons)

There is a free Standard version and a paid Premium version. I use the Standard and find it does everything I need. They released a new version 3 last month.) If you put the first script in a sequence of scripts into the delayer, when the delay triggered that first script (you have control over the ...
by AHKxx
22 Mar 2014, 18:27
Forum: Scripts and Functions
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 67
Views: 33541

Re: AutoHotkey Startup (Consolidate AHK Scripts' Tray Icons)

One thing I'd like is if it was possible to sort the order of the scripts displayed by Hotkey Help other than alphabetically.

Not a big deal, but I'd also like to comment out the lines that make the "confirmation" window load when the Startup script is run from a scratch.
by AHKxx
22 Mar 2014, 18:21
Forum: Scripts and Functions
Topic: AHK Startup (Consolidate AHK Scripts' Tray Icons)
Replies: 67
Views: 33541

Re: AutoHotkey Startup (Consolidate AHK Scripts' Tray Icons)

What I've been doing when I want to reload one of the scripts I have in the Startup script is, after I save it, I just run the whole Startup Script again, which reloads everything and keeps it all at 1 tray icon. I had been running AutoHotKey.exe at startup which always ran the default script in Use...

Go to advanced search