Search found 14 matches

by NiptheZephyr
16 Nov 2020, 23:37
Forum: Ask For Help
Topic: Trouble with Functions and RegEx
Replies: 2
Views: 70

Re: Trouble with Functions and RegEx

MrDoge, thank you for the clarification! I can't wait to study and grok it a bit more. I'll be playing around with it tomorrow. Again, your help is much appreciated!
by NiptheZephyr
16 Nov 2020, 21:18
Forum: Ask For Help
Topic: Trouble with Functions and RegEx
Replies: 2
Views: 70

Trouble with Functions and RegEx

Howdy all! Hoping you can help me out here. I'm not too great at functions, only have one other one that I stole/modified from someone. Right now I'm trying to make a function that takes your clipboard, RegExMatch's it and puts the results into an array so I can manipulate the array. My scripting it...
by NiptheZephyr
11 Oct 2020, 16:20
Forum: Scripts and Functions
Topic: Script to run favorite shortcuts by typing commands
Replies: 0
Views: 223

Script to run favorite shortcuts by typing commands

Howdy all, Here's a script with two different methods to run your favorite shortcuts/programs. Method 1 has a searchable ListView based off of/modified from Boiler's Insert AHK Parameters script https://www.autohotkey.com/boards/viewtopic.php?t=31484 , which is quite useful for writing your scripts....
by NiptheZephyr
11 Oct 2020, 15:57
Forum: Ask For Help
Topic: Some Gooey (GUI) Problems Topic is solved
Replies: 2
Views: 67

Re: Some Gooey (GUI) Problems Topic is solved

mikeyww, Thanks! I didn't end up needing to add names to both Gui. I tried that first after your suggestion, but couldn't figure out how to get it to rename that one trouble line "GuiControl, % ListCount ? "Show" : "Hide", CommandChoice". However! If I just renamed the second Gui, and set it as defa...
by NiptheZephyr
11 Oct 2020, 11:45
Forum: Ask For Help
Topic: Some Gooey (GUI) Problems Topic is solved
Replies: 2
Views: 67

Some Gooey (GUI) Problems Topic is solved

Howdy all! I'm having a problem with my GUI's combining into one giant GUI. A Gooey GUI if you will. If anyone can provide guidance it would be much appreciated. For starters, I'm modifying/borrowing some useful parts from Boiler's Insert AHK Commands/Parameters script https://www.autohotkey.com/boa...
by NiptheZephyr
20 Sep 2020, 15:32
Forum: Ask For Help
Topic: Play/Pause in Spotify
Replies: 13
Views: 9447

Re: Play/Pause in Spotify

Wonderful stuff. Had been trying to figure this out with ControlSend, ahk_parent, {space}, ahk_exe Spotify.exe, but couldn't get that to work. My only problem/question is that when I do this, the Spotify window will come to front after a few hundred milliseconds. Any clue why it does this and how to...
by NiptheZephyr
05 Sep 2020, 18:35
Forum: Scripts and Functions
Topic: Search templates for specific text phrases and highlight them.
Replies: 1
Views: 719

Re: Search templates for specific text phrases and highlight them.

Update! Don't need to know the control anymore as it is pulled with ControlGetFocus. Can also now jump between the different items inside of the brackets with successive presses of the hotkey. Doesn't work with all Controls (for example, this text edit box), but works in notepad and other controls. ...
by NiptheZephyr
05 Sep 2020, 17:57
Forum: Ask For Help
Topic: Help setting caret at specific position in text quickly Topic is solved
Replies: 4
Views: 1398

Re: Help setting caret at specific position in text quickly Topic is solved

Thanks boiler! I ended up making that change in addition to a few below. The final version looks at the whole text and jumps between each of the selections with successive presses of the hotkey. Compressed version at top of code, version with commentary below. ^+m:: ControlGetFocus, activeControlVar...
by NiptheZephyr
16 Aug 2020, 09:29
Forum: Scripts and Functions
Topic: Search templates for specific text phrases and highlight them.
Replies: 1
Views: 719

Search templates for specific text phrases and highlight them.

Howdy everybody. I had initially been looking for a way to use AutoHotKey to jump to specific phrases in typed text templates, like is seen in either Epic's electronic medical records (press key to go to ***) or Dragon Naturally speaking's "Next Field" function (will jump to brackets with anything i...
by NiptheZephyr
16 Aug 2020, 09:13
Forum: Ask For Help
Topic: Help setting caret at specific position in text quickly Topic is solved
Replies: 4
Views: 1398

Re: Help setting caret at specific position in text quickly Topic is solved

Just an update here, and will post it on the script forums. If one can figure out which Control of whatever application you are using, one can use SendMessage 0xB1, which is the equivalent of EM_Select, which selects/highlights text at a certain position in a control. The update code below searches ...
by NiptheZephyr
09 Aug 2020, 09:29
Forum: Scripts and Functions
Topic: End hotstring/input with double press of a specified key.
Replies: 1
Views: 1729

Re: End hotstring/input with double press of a specified key.

Cleaned it up, no longer has a space at the beginning. ;AHK script with hotstring/input that can be ended by double pressing space key. ::demo2:: ;trigger phrase finalVar := "" ;resets it if used more than once in a row. Output variable, which stores the building string between loops. inputText := "...
by NiptheZephyr
08 Aug 2020, 09:10
Forum: Ask For Help
Topic: Help setting caret at specific position in text quickly Topic is solved
Replies: 4
Views: 1398

Re: Help setting caret at specific position in text quickly Topic is solved

Btw, looking at the code, wanted to clarify that the reason I'm looping {right} and {left} instead of saying {right 200} of whatever, is because I could not figure out how to put the variable "counter" inside of it, i.e. {right counter}. Not certain if I am using the wrong syntax, but if anyone can ...
by NiptheZephyr
08 Aug 2020, 09:07
Forum: Ask For Help
Topic: Help setting caret at specific position in text quickly Topic is solved
Replies: 4
Views: 1398

Help setting caret at specific position in text quickly Topic is solved

Good morning all! My goal is to simulate jumping to predefined delimiters in a window's typed text. This function is seen in applications like Dragon Naturally Speaking (next field command jumping to whatever text is in []) and in the Epic Electronic Medical Record (F2, if I remember correctly jumpi...
by NiptheZephyr
01 Aug 2020, 22:22
Forum: Scripts and Functions
Topic: End hotstring/input with double press of a specified key.
Replies: 1
Views: 1729

End hotstring/input with double press of a specified key.

Hi everyone. My first post on this forum, so pardon me if the formatting is off. Came up with a utility that aids my speed, for when needing to store what you type in a variable. Using Input is a great tool, but if you use {space} as one of your end keys, you can't store multiple words in your strin...

Go to advanced search