Search found 176 matches

by kunkel321
15 May 2019, 09:53
Forum: Ask For Help
Topic: Independent loop inside of larger AHK file? Topic is solved
Replies: 3
Views: 188

Re: Independent loop inside of larger AHK file? Topic is solved

Thanks for the replies. I guess I see what you mean about the loop being unreachable... That was a no-brainer. I'm thinking that having loops like this in the same file as bunch of hotstring and hotkey macros is not a feasible solution. As for the second hotkey not working--I had a typo in the hotst...
by kunkel321
14 May 2019, 14:09
Forum: Ask For Help
Topic: Independent loop inside of larger AHK file? Topic is solved
Replies: 3
Views: 188

Independent loop inside of larger AHK file? Topic is solved

Hi All, This is actually a continuation of this thread about waiting for a window to open. (thanks Osprey and Vsub!) The loop works fine in an AHK script file by itself. I'm hoping to have it in with my main master AutoCorrect script that's always running in the background though. I made the below s...
by kunkel321
03 May 2019, 21:31
Forum: Ask For Help
Topic: Help using WinWaitActive.
Replies: 6
Views: 311

Re: Help using WinWaitActive.

Thanks for the feedback folks. I did have a syntax error! I copied that sample from the bottom of here: https://autohotkey.com/docs/commands/WinWaitActive.htm but I see now that I pasted the winTitle where the winText should have gone. I guess that might also be why my msgBox kept poping right up......
by kunkel321
03 May 2019, 10:34
Forum: Ask For Help
Topic: Help using WinWaitActive.
Replies: 6
Views: 311

Re: Help using WinWaitActive.

Thanks for the reply Osprey! I only need it to maximize the window once, each time the app is launched. For now I'm just trying your above code though--because it's simpler than the one from your March post. I'm not sure it's working though... The window does not maximize. Here's a screenshot, so yo...
by kunkel321
02 May 2019, 13:53
Forum: Ask For Help
Topic: Help using WinWaitActive.
Replies: 6
Views: 311

Help using WinWaitActive.

Hi Folks, I have a main script with a bunch of tools (based on the excellent AutoCorrect.ahk) that runs all the time. I'd like add a thing that will constantly watch for a particular window, then resize the window when it appears. Part of my question is whether WinWaitActive can be used this way. Th...
by kunkel321
28 Mar 2019, 19:19
Forum: Scripts and Functions
Topic: [GAME] REGEX FROGGER
Replies: 17
Views: 1977

Re: [GAME] REGEX FROGGER

Very cool! I have to ask though, why "regex"? Those are RegEx components driving up and down the street--yes?
Now that I think of it though... Regular Expressions ARE a bit intimidating. Probably a good thing to use. :lol:
by kunkel321
21 Feb 2019, 12:34
Forum: Ask For Help
Topic: SendInput is sluggish, stops
Replies: 7
Views: 481

Re: SendInput is sluggish, stops

Thanks for the additional feedback. The {Text} text mode thing resulted in it typing a caret. "^" I do indeed have 1.1.28.0 As it turns out, I may have fixed the problem by dumping Internet Explorer. In retrospect, this is probably the first thing I should have tried... The only reason that I even u...
by kunkel321
20 Feb 2019, 18:02
Forum: Ask For Help
Topic: SendInput is sluggish, stops
Replies: 7
Views: 481

Re: SendInput is sluggish, stops

A good thought swagfag. I actually do have a much-altered version of the most excellent autocorrect script that runs constantly in the background. So even though that script is not getting activated during the use of my above script, I suppose that it is "hooking" the keyboard ?? I'm not sure. Anywa...
by kunkel321
19 Feb 2019, 14:37
Forum: Ask For Help
Topic: SendInput is sluggish, stops
Replies: 7
Views: 481

Re: SendInput is sluggish, stops

Hi Safetycar,
I just wanted to pop in and say thanks. I'm currently trying this. At first it wasn't working, but I just noticed that I didn't have the comma in it. Am going to try again.
by kunkel321
30 Jan 2019, 17:30
Forum: Ask For Help
Topic: SendInput is sluggish, stops
Replies: 7
Views: 481

SendInput is sluggish, stops

Hi Folks, This script works well for the most part, but often it is sluggish and slow entering text, and sometimes the part where it enters text will just stop. Firstly, let me point out that this was written several years ago with MUCH help from people on the forum here -- Thank you all! The script...
by kunkel321
18 Oct 2018, 09:08
Forum: Ask For Help
Topic: Actually remove needle from haystack? Topic is solved
Replies: 3
Views: 349

Re: Actually remove needle from haystack? Topic is solved

Ha! I'm so stupid. I intentionally built that functionality into the script already and forgot. Before posting, I searched my script for "regexreplace" and didn't find it, but it's actually "stringreplace" that I used. (Long script, second post, 2/3s the way down.) Sorry about that everyone. And tha...
by kunkel321
17 Oct 2018, 14:53
Forum: Ask For Help
Topic: Actually remove needle from haystack? Topic is solved
Replies: 3
Views: 349

Re: Actually remove needle from haystack? Topic is solved

I'll paste my actual code below. It's a script that creates an Outlook Calendar item. It works like: 1. Copy selected text 2. Regex match possible location, time, date, then subject. 2b. Pop up a Msg of the haystack and matches. 3. Open the Calendar form 4. Use Outlook's hotkeys to enter the things....
by kunkel321
17 Oct 2018, 14:43
Forum: Ask For Help
Topic: Actually remove needle from haystack? Topic is solved
Replies: 3
Views: 349

Actually remove needle from haystack? Topic is solved

Hi Folks, If I run this code #SingleInstance force ;################################# HaystackText := "The red firetruck." Needle := "(fire|water)" RegExMatch(HaystackText, Needle, myVar) MsgBox Found %myVar% `nHaystack is %HaystackText% return The result is: --------------------------- Found fire H...
by kunkel321
15 Oct 2018, 15:19
Forum: Scripts and Functions
Topic: Lintalist 1.9 Searchable interactive lists to copy & paste text with plugins
Replies: 136
Views: 39090

Re: Lintalist 1.9 Searchable interactive lists to copy & paste text with plugins

Thanks for the update. Lintalist continues to impress! Note: I just reinstalled it after not using it for a while. I kept getting an error when I tried to save a new snippet. It turned out that there was no Lintalist/bundles folder (and hence no bundles/default.txt file). Adding the directory and fi...
by kunkel321
25 May 2018, 07:52
Forum: Scripts and Functions
Topic: Simple Sobriety Tracker
Replies: 8
Views: 1391

Re: Simple Sobriety Tracker

SpeedMaster wrote:Correct me if I am wrong but this script can not sustain a pc reboot. Any idea of an ini file ?
Normally I'd agree with the flexibility of an ini file, but for this particular application (sobriety), I think that having the date "hard coded" might be more appropriate(?)
by kunkel321
23 May 2018, 10:24
Forum: Scripts and Functions
Topic: Simple Sobriety Tracker
Replies: 8
Views: 1391

Re: Simple Sobriety Tracker

Love this!
by kunkel321
22 May 2018, 15:43
Forum: Scripts and Functions
Topic: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen
Replies: 60
Views: 9006

Re: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen

Actually, another possible glitch: It seems that, when the text is rendered, all {Tab} chars are stripped(?) This is the case whether reading from a text file, or a variable from within the script. I don't think it's tied to the .Desktop part.
by kunkel321
19 May 2018, 09:46
Forum: Scripts and Functions
Topic: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen
Replies: 60
Views: 9006

Re: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen

EDIT2: Eh, the Desktop() function is really buggy. It's not consistent on all versions of Windows and disappears after Win + Tab is pressed. Still experimental, not sure if it should be removed or kept. Kept please! :D Thanks for the tips! Yes, I had noticed that there are fundamentally different w...
by kunkel321
18 May 2018, 17:13
Forum: Scripts and Functions
Topic: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen
Replies: 60
Views: 9006

Re: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen

Straight to Evernote :) :thumbup: New question: What is the proper syntax for using a variable in place of the font color? You can see here, where I've tried a couple of different things that don't work. #NoEnv ;NOT WORKING #SingleInstance force #include <Subtitle> varTop := "Top line here" varBot ...
by kunkel321
18 May 2018, 16:38
Forum: Scripts and Functions
Topic: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen
Replies: 60
Views: 9006

Re: [GDI+ Object] Subtitle.Render() - Beautiful Text on Screen

Thanks Iseahound! I thought I had tried that permutation--but I guess not. Tip for anyone using different font colors: Iseahound seems to have made subtitle.ahk observant of all the CSS colors, by common name. They are listed here , if you're not sure what colors the names correspond to. Inconspicuo...

Go to advanced search