Search found 1269 matches

by RussF
23 Apr 2024, 13:33
Forum: Ask for Help (v2)
Topic: SendInput to Notepad++ not working if clipboard is empty
Replies: 2
Views: 106

Re: SendInput to Notepad++ not working if clipboard is empty

When I open Notepad++, the files that I had open when I closed it last are opened again and the tab for the last file used is highlighted. That is where the focus is, not in the edit window. Pasting anything to the tab will do nothing. That is why you must first click into the edit window. That bein...
by RussF
23 Apr 2024, 06:50
Forum: Ask for Help (v1)
Topic: Translation hotkey
Replies: 6
Views: 150

Re: Translation hotkey

I created the following script based on a function by teadrinker to access Google translate. My wife needed something to translate her weekly newsletter for the non-English speaking parents of some of her students. It's currently set up to translate English to Spanish, but is easily modified - just ...
by RussF
23 Apr 2024, 06:30
Forum: Ask for Help (v1)
Topic: End a process run by another user Topic is solved
Replies: 3
Views: 210

Re: End a process run by another user Topic is solved

If your organization is dependent on Sharepoint, I don't think it is a process that you should just indiscriminately kill, especially when in use by others logged in to the device. My first recourse would be to contact Rocket Software and find out exactly why it won't run with Sharepoint. It may not...
by RussF
22 Apr 2024, 13:25
Forum: Ask for Help (v2)
Topic: MsgBox not working
Replies: 1
Views: 57

Re: MsgBox not working

Try:

Code: Select all

If (result = "Yes")
Russ
by RussF
22 Apr 2024, 12:42
Forum: Ask for Help (v2)
Topic: Hotkey doesn't work Topic is solved
Replies: 2
Views: 64

Re: Hotkey doesn't work Topic is solved

In Windows 10 (and 11, I assume) - in Settings->Ease of Access->Keyboard->Print Screen Shortcut
you can map the PrtScn key to open screen snipping - no need for AHK (unless you don't want that hotkey).

Russ
by RussF
17 Apr 2024, 14:41
Forum: Wish List
Topic: Notify if not UTF-8?
Replies: 3
Views: 113

Re: Notify if not UTF-8?

I would second that Steve. I have seen this issue pop up numerous times here in the past. Given the worldwide use of AHK whose languages use many characters that we in the USA do not, it would make sense for the launcher and compiler to analyze the source file for proper encoding.

Russ
by RussF
17 Apr 2024, 10:06
Forum: Ask for Help (v2)
Topic: disable touchpad
Replies: 6
Views: 107

Re: disable touchpad

marypoppins_1 , FWIW, I personally can't stand touchpads. I always use a mouse with my laptop because I found that when I was typing, my hand or thumb would accidentally brush across the touchpad and often the cursor would end up halfway across the screen. Most newer laptops have a settings panel f...
by RussF
17 Apr 2024, 09:58
Forum: Ask for Help (v2)
Topic: disable touchpad
Replies: 6
Views: 107

Re: disable touchpad

Can't test it, but supposedly Win+Ctrl+F24 is the shortcut to activate/deactivate the touchpad. I'm not sure where you found that information, but according to Microsoft at Keyboard shortcuts in Windows , there is no such standard shortcut. Additionally, given that any keyboard that is currently su...
by RussF
16 Apr 2024, 11:44
Forum: Ask for Help (v1)
Topic: Issues unsuspending script Topic is solved
Replies: 4
Views: 71

Re: Issues unsuspending script Topic is solved

How about that @mikeyww?!? Who would have thought that your real intelligence would overshadow artificial intelligence? I guess all the time and effort you've spent learning AHK has finally paid off.

Oops, gotta run - Copilot is telling I have to use the bathroom...
by RussF
15 Apr 2024, 13:28
Forum: Ask for Help (v1)
Topic: Issue with AHK Script - Numpad1 and NumpadDel Conflict
Replies: 9
Views: 288

Re: Issue with AHK Script - Numpad1 and NumpadDel Conflict

A shifted NumpadDot turns into NumpadDel... With no AHK, REGARDLESS of the state of Numlock , pressing Shift-./Del , you will get the Del function (at least on my PC). You never get the dot by pressing the Shift key in either Numlock state. With Numlock ON, Shift-1/End gives you End (cursor is just...
by RussF
15 Apr 2024, 11:52
Forum: Suggestions on Documentation Improvements
Topic: Numpad keys as hotkeys - docs confusing
Replies: 0
Views: 53

Numpad keys as hotkeys - docs confusing

Rather than re-explain the issue, please refer to this post for a description of the problem. In a nutshell, the statement: Due to system behavior, the following keys separated by a slash are identified differently depending on whether NumLock is ON or OFF. If NumLock is OFF but Shift is pressed, th...
by RussF
15 Apr 2024, 11:41
Forum: Ask for Help (v1)
Topic: Issue with AHK Script - Numpad1 and NumpadDel Conflict
Replies: 9
Views: 288

Re: Issue with AHK Script - Numpad1 and NumpadDel Conflict

I just tested the above code in V2 and got the same results, so it hasn't been changed there and the V2 docs say the same thing. I will post a message in the wish list->documentation forum and tag this message to see if we can get some clarification. Back to the original topic, however, I think (wit...
by RussF
15 Apr 2024, 10:22
Forum: Ask for Help (v2)
Topic: Best way to ensure single instance of GUI?
Replies: 5
Views: 130

Re: Best way to ensure single instance of GUI?

I always create all my GUIs up front in the autoexec section and then just show or hide them as need be. I've seen many others here agree with that. It's not like you're talking about gigabytes of RAM being used to keep your GUIs loaded - you'll actually probably hardly notice a difference.

Russ
by RussF
15 Apr 2024, 09:10
Forum: Ask for Help (v1)
Topic: Issue with AHK Script - Numpad1 and NumpadDel Conflict
Replies: 9
Views: 288

Re: Issue with AHK Script - Numpad1 and NumpadDel Conflict

gregster , I noticed some odd behavior with the Shift key as I was testing before responding to the OP's posting. Using the following script and testing within a block of text in Notepad: numpad1::msgbox % "Numpad 1" numpadend::msgbox % "Numpad End" numpaddot::msgbox % "Numpad Dot" numpaddel::msgbo...
by RussF
15 Apr 2024, 07:53
Forum: Ask for Help (v1)
Topic: Issue with AHK Script - Numpad1 and NumpadDel Conflict
Replies: 9
Views: 288

Re: Issue with AHK Script - Numpad1 and NumpadDel Conflict

It is logically impossible to press Numpad1 and NumpadDel at the same time. If your NumLock is turned ON, pressing the 1/End key on your numpad will be recognized by AHK as Numpad1 , however, pressing the ./Del key on your numpad will be seen as NumpadDot . Conversely, with NumLock OFF, 1/End will b...
by RussF
11 Apr 2024, 13:51
Forum: Ask for Help (v2)
Topic: Program still running in Task manager when close It using ProcessClose() Topic is solved
Replies: 10
Views: 225

Re: Program still running in Task manager when close It using ProcessClose() Topic is solved

I didn't want to install Lilyspeech to check, but on their Advanced options page , the thumbnail of their video clearly shows the option. image.png I manage about 50 PCs here and we have banned Adobe from all but the guy who updates our web site - it wants to completely take over your PC, and yet pe...
by RussF
11 Apr 2024, 12:50
Forum: Ask for Help (v2)
Topic: Program still running in Task manager when close It using ProcessClose() Topic is solved
Replies: 10
Views: 225

Re: Program still running in Task manager when close It using ProcessClose() Topic is solved

mikeyww wrote:...when there is an option for it.
...being the key phrase here. So many programmers (as well as Micro$oft) feel they know what's best for you better than you do. :roll:

Russ
by RussF
11 Apr 2024, 11:49
Forum: Ask for Help (v2)
Topic: Program still running in Task manager when close It using ProcessClose() Topic is solved
Replies: 10
Views: 225

Re: Program still running in Task manager when close It using ProcessClose() Topic is solved

Rather than create a script to stop the program, why not just prevent it from starting up in the first place? In Task Manager, go to the Startup tab and see if the program is listed. If so, right-click on it and disable it. You could also go to Windows Settings->Apps->Startup and turn it off there. ...
by RussF
11 Apr 2024, 06:08
Forum: Ask for Help (v1)
Topic: F1 not working as hotkey (Windows10)
Replies: 2
Views: 57

Re: F1 not working as hotkey (Windows10)

There are quite a number of free downloadable as well as online keyboard testers available. Google is your friend.

Russ
by RussF
10 Apr 2024, 13:41
Forum: Ask for Help (v1)
Topic: ControlSend to winList
Replies: 1
Views: 37

Re: ControlSend to winList

Since you're not specifying a particular control, AHK will send the keystroke to the topmost control in the target window. What type of control is it? Would it normally respond to a {down} keypress? What is intercepting and responding to the {f9}, the control or the window itself?

Russ

Go to advanced search