Search found 73 matches

by ndiaz
11 Feb 2023, 09:55
Forum: Ask for Help (v1)
Topic: Help with Singleinstance
Replies: 25
Views: 1429

Re: Help with Singleinstance

Thank you all for this thread! I've just used the script provided by mikeyww to successfully close an unwanted second instance of a program I use every day. I have a question. If I wanted the script to abort/prevent the opening of the second (new) instance instead of closing the one that's already o...
by ndiaz
31 Jan 2021, 09:52
Forum: Ask for Help (v1)
Topic: Help with ControlSend
Replies: 4
Views: 347

Re: Help with ControlSend

Thank you! This particular control doesn't seem to respond to ControlSend (other controls on the same window do, so this was disappointing), so I ended up using ControlClick, then a Send command and then ControlClick again to switch back to the text box. Not very elegant, but gets the job done. By t...
by ndiaz
31 Jan 2021, 00:22
Forum: Ask for Help (v1)
Topic: Help with ControlSend
Replies: 4
Views: 347

Help with ControlSend

Hello, I'm trying to create a script that will send either a space or the letter r to a control in a subtitling program called Aegisub. The control in question is an audio waveform, and this would cause the selected portion of the audio to be played while retaining focus in a text editing window, in...
by ndiaz
06 Jan 2020, 13:21
Forum: Ask for Help (v1)
Topic: How to send TAB to background window
Replies: 0
Views: 859

How to send TAB to background window

Hello, I'm trying to run a number of steps on a background window without giving it focus. I've managed to send the first keystroke, but can't figure out how to send the rest. I'm using ControlSend as I read that's what would be needed. These are the steps I need to run: F3 Tab Paste %stringSource% ...
by ndiaz
05 Jul 2019, 10:31
Forum: Ask for Help (v1)
Topic: Help refining a script to adjust leading and trailing spaces
Replies: 3
Views: 812

Help refining a script to adjust leading and trailing spaces

Hello, I have the script below, which cuts the selected text and pastes it at a new location when I use Alt+Left or Alt+Right. What I would like to add to it is the ability to properly adjust leading and trailing spaces when the text is pasted so that I don't end up with extra or missing spaces. The...
by ndiaz
19 Apr 2019, 10:32
Forum: Ask for Help (v1)
Topic: Output is different from input with Send and Sendinput
Replies: 2
Views: 583

Output is different from input with Send and Sendinput

I'm trying to send the following to the Find What field of a Find and Replace dialog box: Sendinput ({!})|(\?)|(:)|(;) Every other time, I get this instead: (19|(\?)|(:)|(;) So, whenever I run the script, the string appears correctly the first time, then incorrectly the next time I run the script. W...
by ndiaz
19 Apr 2019, 10:28
Forum: Ask for Help (v1)
Topic: Can an exclamation mark be used as hotkey?
Replies: 6
Views: 2341

Re: Can an exclamation mark be used as hotkey?

Excellent information, thank you!
by ndiaz
18 Apr 2019, 13:22
Forum: Ask for Help (v1)
Topic: Can an exclamation mark be used as hotkey?
Replies: 6
Views: 2341

Re: Can an exclamation mark be used as hotkey?

Thank you gregster, The intended action is to add a non-breaking space (achieved by pressing Ctrl+Alt+Space) before a colon, immediately when typing ":". But I didn't know how to use ":" as the abbreviation for a hotstring, so my workaround was to use the up state of ":" as a hotkey instead, which i...
by ndiaz
18 Apr 2019, 12:30
Forum: Ask for Help (v1)
Topic: Can an exclamation mark be used as hotkey?
Replies: 6
Views: 2341

Re: Can an exclamation mark be used as hotkey?

Thank you! I had just realized that before reading your reply. My intended hotstring wasn't working for other reasons, not because of a bad abbreviation. And thank you for the additional explanations regarding Alt, very helpful! Another head-scratcher was trying to use a colon as the abbreviation fo...
by ndiaz
18 Apr 2019, 11:39
Forum: Ask for Help (v1)
Topic: Can an exclamation mark be used as hotkey?
Replies: 6
Views: 2341

Can an exclamation mark be used as hotkey?

For an autocorrect string where the exclamation mark is replaced with non-breaking space + exclamation mark, how can the exclamation mark, being the modifier for Alt be used as a hotkey?
by ndiaz
16 Apr 2019, 16:41
Forum: Ask for Help (v1)
Topic: Help with script for Winrar
Replies: 2
Views: 1030

Re: Help with script for Winrar

Thank you so much! This was incredibly helpful as it both solved my problem and helped me learn a couple of new things.
by ndiaz
16 Apr 2019, 12:52
Forum: Ask for Help (v1)
Topic: Help with script for Winrar
Replies: 2
Views: 1030

Help with script for Winrar

I'm trying to create a script that will allow me to skip Winrar's initial windows and unzip my files directly, so, in other words, as soon as I double click on a zipped file, when WinRar opens, it will trigger the Extract to a specified folder option, and then will say OK to the window that opens to...
by ndiaz
24 Mar 2019, 23:31
Forum: Ask for Help (v1)
Topic: Perform action before original hotkey function
Replies: 5
Views: 1257

Re: Perform action before original hotkey function

Thank you! Both proposed solutions worked.
by ndiaz
22 Mar 2019, 12:40
Forum: Ask for Help (v1)
Topic: Perform action before original hotkey function
Replies: 5
Views: 1257

Re: Perform action before original hotkey function

That sounds like a good idea, but I don't know how to implement it. I tried this, but got an invalid hotkey error message:

^h Down::
Send MARKERHERE{SPACEBAR}
Return

^h Up::
Send ^h
Return
by ndiaz
22 Mar 2019, 12:04
Forum: Ask for Help (v1)
Topic: Perform action before original hotkey function
Replies: 5
Views: 1257

Perform action before original hotkey function

How can I perform an action before the original intended hotkey function? Specifically, what I'd like to do is send some placeholder text to a text field before launching a Find & Replace operation. Ctrl+H is used to launch the Find & Replace dialog, so when I press Ctrl+H, before the dialog opens, ...
by ndiaz
13 Mar 2019, 13:36
Forum: Ask for Help (v1)
Topic: Copy to clipboard after clicking OK
Replies: 2
Views: 698

Copy to clipboard after clicking OK

Hello,

I need some help to create an action that will send a copy to clipboard command after clicking an OK button that closes a window. The ClassNN is TButton2.

I was trying with Lbutton as the hotkey, but I can't figure out how to limit the left click to the OK button.

Thank you in advance!
by ndiaz
25 Feb 2019, 10:27
Forum: Ask for Help (v1)
Topic: Help keeping a script running
Replies: 8
Views: 2352

Re: Help keeping a script running

Thank you! That works very well. Thanks to your generosity I have been able not only to get the script running as needed, but I've also learned about SetTimer. I have another script that needs something similar and I believe now I'll be able to adapt it thanks to this.

Have a wonderful day!
by ndiaz
22 Feb 2019, 19:09
Forum: Ask for Help (v1)
Topic: Help keeping a script running
Replies: 8
Views: 2352

Re: Help keeping a script running

Aha! I now see what's happening, it turns out that the window named "Add Supported Language Pair" is not always part of the process. There are times when it shows at the end of the process (which I thought was happening all the time), times when it doesn't appear at all, and other times when it appe...
by ndiaz
22 Feb 2019, 14:52
Forum: Ask for Help (v1)
Topic: Help keeping a script running
Replies: 8
Views: 2352

Re: Help keeping a script running

Yes, I think you are correct. I'm not proficient enough in AHK to know what's going on, but I was just looking at the lines that were executed, and the very last one reads like this after attempting to trigger the script a second time: 027: WinWait,Add Supported Language Pairs (10.88) Is there any w...

Go to advanced search