Search found 70 matches

by ndiaz
06 Jan 2020, 13:21
Forum: Ask For Help
Topic: How to send TAB to background window
Replies: 0
Views: 491

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
Topic: Help refining a script to adjust leading and trailing spaces
Replies: 3
Views: 310

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
Topic: Output is different from input with Send and Sendinput
Replies: 2
Views: 308

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
Topic: Can an exclamation mark be used as hotkey?
Replies: 6
Views: 591

Re: Can an exclamation mark be used as hotkey?

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

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
Topic: Can an exclamation mark be used as hotkey?
Replies: 6
Views: 591

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
Topic: Can an exclamation mark be used as hotkey?
Replies: 6
Views: 591

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
Topic: Help with script for Winrar
Replies: 2
Views: 347

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
Topic: Help with script for Winrar
Replies: 2
Views: 347

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
Topic: Perform action before original hotkey function
Replies: 5
Views: 610

Re: Perform action before original hotkey function

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

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
Topic: Perform action before original hotkey function
Replies: 5
Views: 610

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
Topic: Copy to clipboard after clicking OK
Replies: 2
Views: 386

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
Topic: Help keeping a script running
Replies: 8
Views: 877

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
Topic: Help keeping a script running
Replies: 8
Views: 877

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
Topic: Help keeping a script running
Replies: 8
Views: 877

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...
by ndiaz
22 Feb 2019, 12:31
Forum: Ask For Help
Topic: Help keeping a script running
Replies: 8
Views: 877

Re: Help keeping a script running

Thank you, but the revised script still yields the same result: it runs only once, when I follow the steps so that the Information window will appear again, the script doesn't run a second time.
by ndiaz
22 Feb 2019, 10:44
Forum: Ask For Help
Topic: Help keeping a script running
Replies: 8
Views: 877

Help keeping a script running

Hello, I have a script without a hotkey that waits for a window and then performs a series of steps. The problem I'm having is that I can't get it to reset and wait for the window again, so it only runs once. How can I get it to keep running so the steps will be executed whenever the window appears?...
by ndiaz
29 Nov 2018, 22:08
Forum: Ask For Help
Topic: Help making a script section conditional
Replies: 1
Views: 339

Help making a script section conditional

Hello, I have the following script: Loop { WinWait,Add Supported Language Pairs Send {Esc 2} WinWait,Information WinGetText, text Send {Esc} RegExMatch(text,"(?<=').*(?=')",TMname) ;Sleep 100 Send !u ;Sleep 100 Send {Down 6}{Enter} ;Sleep 100 Send %TMname% ;Sleep 100 Send {Enter} ;Sleep 100 WinWait,...

Go to advanced search