Search found 976 matches

by kunkel321
01 Mar 2024, 17:39
Forum: Ask for Help (v2)
Topic: Text not getting to clipboard... Topic is solved
Replies: 5
Views: 168

Re: Text not getting to clipboard... Topic is solved

Please try with this... What I'm seeing is that, if I select some of the text in the box, then click the button, I get an empty MsgBox. Are you seeing the selected text in the MsgBox? #SingleInstance #Requires AutoHotkey v2+ ; copy glitch NameOfThisFile := A_ScriptName mygui := gui() mygui.Add('edit...
by kunkel321
01 Mar 2024, 16:41
Forum: Ask for Help (v2)
Topic: Text not getting to clipboard... Topic is solved
Replies: 5
Views: 168

Text not getting to clipboard... Topic is solved

I must be overlooking something obvious here.... The text exists in an Edit box in a GUI. I select some of it, then click the button that runs this function. All of the individual parts seem to work, but as a whole, the copied (^c) text never gets to the clipboard. Any ideas what I'm doing wrong? ; ...
by kunkel321
01 Mar 2024, 09:46
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 53
Views: 7819

Re: AutoCorrect for v2

Any chance you'd be interested in throwing this up on GitHub? Would be nice to be able to diff it more easily and would make the process of improving the code a whole lot easier. I am interested in that! I've actually had a GitHub account for a long time, and I even uploaded this project a couple o...
by kunkel321
01 Mar 2024, 09:22
Forum: Ask for Help (v2)
Topic: Problem with hotkeys and IBeam cursor condition
Replies: 7
Views: 190

Re: Problem with hotkeys and IBeam cursor condition

It's actually the Caret that blinks, rather than the cursor. The difference made me think to try this: #SingleInstance #Requires AutoHotkey v2+ #+q:: { CaretGetPos(&cX, &cY) msgbox 'x ' cX '`ny ' cY } The idea was that if no caret pos was returned, it meant no blinking caret But the blasted thing do...
by kunkel321
29 Feb 2024, 18:37
Forum: Ask for Help (v2)
Topic: Problem with hotkeys and IBeam cursor condition
Replies: 7
Views: 190

Re: Problem with hotkeys and IBeam cursor condition

I have a boilerplate text entry tool I use in webforms, so I've tried over and over to reliably determine if an edit field is active in Chrome. I've never found a good way. Though.... As I type this reply, it occurs to me that the edit box has a white background, whereas Boiler's (non editable) text...
by kunkel321
29 Feb 2024, 09:29
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 53
Views: 7819

Re: AutoCorrect for v2

Jasonosaj This is awesome! I still need to study it more, but I definitely like how you are relying more on function-call parameters, and less on global variables. I cringe every time I add another global variable, because there are so many, and I know it's not best practice to over-use them. That ...
by kunkel321
29 Feb 2024, 08:49
Forum: Ask for Help (v2)
Topic: which app to code it
Replies: 5
Views: 177

Re: which app to code it

Chunjee wrote:
29 Feb 2024, 01:09
I think SciTE fell of in 2019 or whenever atom/VSCode appeared
I have to admit, I also use VSCode. FYI, @RaptorX has a configuration setup tool that works like a charm. The set up tool is not free, but it's not expensive either. https://www.the-automator.com/downloads/vs-configure-tool/
by kunkel321
28 Feb 2024, 18:22
Forum: Scripts and Functions (v2)
Topic: AutoCorrect for v2
Replies: 53
Views: 7819

Re: AutoCorrect for v2

@Descolada or @Jasonosaj, Is there a need for a version of the above HotString Helper 2.0 that's made for _HS() functions? Or not really?
by kunkel321
28 Feb 2024, 18:08
Forum: Ask for Help (v2)
Topic: Copying and inserting folder with Autohotkey
Replies: 4
Views: 108

Re: Copying and inserting folder with Autohotkey

Welcome to the forums! There is a command that does just that...
https://www.autohotkey.com/docs/v2/lib/DirCopy.htm

Check out the examples at the bottom. Let us know if you need more help. Is the name of the folder always the same, or do you need to select it each time?
by kunkel321
28 Feb 2024, 18:04
Forum: Ask for Help (v2)
Topic: which app to code it
Replies: 5
Views: 177

Re: which app to code it

Check out the subforum that lists the different editors...
viewforum.php?f=60

Most folks use SciTE.
by kunkel321
28 Feb 2024, 17:24
Forum: Scripts and Functions (v1)
Topic: Multi-line version of Hotstring Helper
Replies: 8
Views: 1955

Re: Multi-line version of Hotstring Helper

In case anyone is watching this tread... There is a new version of this tool here
viewtopic.php?f=83&t=120220&p=559946#p559328
And it got a new name. It is now "HotString Helper 2.0." It is currently bundled with AutoCorrect for v2.
by kunkel321
28 Feb 2024, 15:08
Forum: Ask for Help (v2)
Topic: Best ways to detect righ-click on GUI button?
Replies: 3
Views: 80

Re: Best ways to detect righ-click on GUI button?

Ah yes... That is better! Very clever -- Thanks fellas. I'll leave this thread "unanswered" in case others want to chip in with ideas too. Incidentally, I think the MouseGetPos kludge was conflicting with another script I have that detects righ-mouse-drags, so the ContextMenu event is definitely the...
by kunkel321
28 Feb 2024, 13:13
Forum: Ask for Help (v2)
Topic: Best ways to detect righ-click on GUI button?
Replies: 3
Views: 80

Best ways to detect righ-click on GUI button?

I was able to put together the following setup, which works pretty well. Are there any more elegant ways that folks know of? #SingleInstance #Requires AutoHotkey v2+ ; Determine which button was r-clicked. myGuiName := "Steve's Sample Form" myGUI := gui(,myGuiName) myGUI.AddListBox('w220 r4', ['Appl...
by kunkel321
27 Feb 2024, 17:04
Forum: Ask for Help (v2)
Topic: highlight pasted text
Replies: 3
Views: 179

Re: highlight pasted text

I'm also a noob, but I'm not aware of any direct way to do that. When I read your question, my immediate idea was what you already posted +{left varWithNumber} . Another possible work around would be ^f (for find), then paste the clipboard into the find box. This would highlight the text in Chrome, ...
by kunkel321
27 Feb 2024, 13:45
Forum: Ask for Help (v2)
Topic: Why this fat arrow function error, when doing 'run'? Topic is solved
Replies: 4
Views: 166

Re: Why this fat arrow function error, when doing 'run'? Topic is solved

Fat arrow syntax expects an expression to return. So in an expression, when you place two items together without any operators, it will try to concatenate the two values as a string. Therefore Run "Notepad.exe" is now equivalent to (Run . "Notepad.exe") . And because the Run function is not being c...
by kunkel321
27 Feb 2024, 12:19
Forum: Ask for Help (v2)
Topic: Why this fat arrow function error, when doing 'run'? Topic is solved
Replies: 4
Views: 166

Re: Why this fat arrow function error, when doing 'run'? Topic is solved

Functions always require parameters in parentheses , unless the function is called on a line by itself . A few other situations also call for the use of parentheses. When in doubt, use them. Good info. I did not know this. Thanks Mike. FYI a working version of the above gui: #SingleInstance #Requir...
by kunkel321
27 Feb 2024, 10:51
Forum: Ask for Help (v2)
Topic: Why this fat arrow function error, when doing 'run'? Topic is solved
Replies: 4
Views: 166

Why this fat arrow function error, when doing 'run'? Topic is solved

It would seem that fat arrow function setups cannot be used when the function contains a run command(?) I'm curious about the error message though.... It says, Error: Expected a String but got a Func. What exactly is it that expected the string? Isn't the whole purpose of a fat arrow function, to ca...
by kunkel321
27 Feb 2024, 08:30
Forum: Ask for Help (v2)
Topic: really quit a script
Replies: 5
Views: 147

Re: really quit a script

andymbody wrote:
26 Feb 2024, 20:05
Does NoHide work as well? I'm unable to test it
I'm just now checking... And it appears that NoHide is an option for v1 GUIs but not v2 GUIs.(?)
by kunkel321
26 Feb 2024, 18:33
Forum: Ask for Help (v2)
Topic: really quit a script
Replies: 5
Views: 147

Re: really quit a script

There are probably better ways... But this seems to work. #SingleInstance #Requires AutoHotkey v2+ MyGui := Gui() MyGui.Show('w100 h100') MyGui.OnEvent("Close", MyGui_Close) MyGui_Close(*) { ExitApp } EDIT: Same thing, but fat arrow function... #SingleInstance #Requires AutoHotkey v2+ MyGui := Gui()...
by kunkel321
25 Feb 2024, 15:29
Forum: Ask for Help (v2)
Topic: How to collect corrections with inputHook? (long) Topic is solved
Replies: 7
Views: 151

Re: How to collect corrections with inputHook? (long) Topic is solved

Okay this version is better.... I put the input level option back in there. The script's ability to correctly detect when you've manually corrected a word is still not perfect, put it logs the items as formatted hotstrings... For example: ::Strphen::Stephen ::trsnslation::translation Any interested ...

Go to advanced search