Search found 114 matches

by Elermino
15 Mar 2023, 08:34
Forum: Ask for Help (v2)
Topic: On-screen keyboard with macros
Replies: 2
Views: 483

On-screen keyboard with macros

Hello everyone,
I would like to know if is there an autohotkey on-screen keyboard that has programmable actions on its keys depending on the application, like a Macro Pad but directly in the screen.
Thanks! :wave:
by Elermino
26 Nov 2022, 12:10
Forum: Ask for Help (v1)
Topic: Fn Key as Modifier
Replies: 3
Views: 1728

Re: Fn Key as Modifier

Hi thedewd. I recently started using a corsair keyboard, they come with the 'icue' software and in that software you can remap any key to any other key. But here's the catch, the fn key is very tricky, I've remapped it to shift+alt and it works, but as soon as i press that, I cannot press any other...
by Elermino
23 Sep 2022, 10:04
Forum: Ask for Help (v1)
Topic: Maximize or restore and center a window Topic is solved
Replies: 4
Views: 589

Re: Maximize or restore and center a window Topic is solved

Including a :arrow: WinTitle may help. ^m:: WinGet, WinState, MinMax, A If (WinState = 0) WinMaximize, A Return Why do you want to maximize a window and then move it? If not, use a block . Thanks for your reply. What I want to do is restore it if it is maximized, once restored move it to the center...
by Elermino
22 Sep 2022, 13:42
Forum: Ask for Help (v1)
Topic: Maximize or restore and center a window Topic is solved
Replies: 4
Views: 589

Maximize or restore and center a window Topic is solved

Good morning everyone!! This script should restore and center a window if it is maximized and maximize it if it is restored. The problem at the moment is that it only restores and centers, but does not maximize. :wtf: Note: It only works in chrome and file explorer. ;Maximize or restore ^m:: WinGetT...
by Elermino
21 Sep 2022, 10:47
Forum: Ask for Help (v1)
Topic: Autocomplete text
Replies: 2
Views: 1138

Re: Autocomplete text

pizzapizze wrote:
20 Sep 2022, 18:02
It is not possible to do this dynamicly for all editors, atleast not without a catch. Because the the script cant know at what location of the text you are, and what ist already written.
Thanks for the reply. Do you have any software recommendations that allow this?
by Elermino
19 Sep 2022, 16:29
Forum: Ask for Help (v1)
Topic: Autocomplete text
Replies: 2
Views: 1138

Autocomplete text

Here's a doubt, there is a tool that has the autocomplete function (such as https://www.autohotkey.com/board/topic/60998-autocomplete-12/ ) with the addition that if I start to write another word and I return to a previous word, it recognizes the whole word for me if I start adding letters to it. In...
by Elermino
31 Aug 2022, 15:35
Forum: Ask for Help (v1)
Topic: Detect which monitor window is and center there
Replies: 12
Views: 5984

Re: Detect which monitor window is and center there

@Elermino - if you could be more specific about what exactly you want to do and show what you have tried, it will be easier for someone to help you. Russ RussF I already solved it by adding two more parameters at the end the line 18, what are width and height. WinMove, A,, workLeft + (workRight - w...
by Elermino
31 Aug 2022, 10:06
Forum: Ask for Help (v1)
Topic: Detect which monitor window is and center there
Replies: 12
Views: 5984

Re: Detect which monitor window is and center there

Any way to scale the window to a specific size? I tried adding parameters in WinMove but it is damaged when placing the window in the center
by Elermino
31 Aug 2022, 09:28
Forum: Ask for Help (v1)
Topic: Send accent on vowel depending on caps lock status Topic is solved
Replies: 4
Views: 398

Re: Send accent on vowel depending on caps lock status Topic is solved

RussF wrote:
31 Aug 2022, 09:20
Actually, you could shorten each remapping to a single line and have several before your "return", such as:

Code: Select all

numpad2 & a::Send, % GetKeyState("CapsLock", "T") ? "Á" : "á"
numpad2 & e::Send, % GetKeyState("CapsLock", "T") ? "É" : "é"

return
Russ
Updated :salute:
by Elermino
31 Aug 2022, 09:06
Forum: Ask for Help (v1)
Topic: Send accent on vowel depending on caps lock status Topic is solved
Replies: 4
Views: 398

Re: Send accent on vowel depending on caps lock status Topic is solved

RussF wrote:
31 Aug 2022, 08:38
Try:

Code: Select all

numpad2 & a::
	Send, % GetKeyState("CapsLock", "T") ? "Á" : "á"
return
Note that your request states that you want to press NumPad1 and a, but your code was written for NumPad2. I left the code as is.

Russ
Thank you very much, actually if it is numpad2, I got confused. Good day!
by Elermino
31 Aug 2022, 08:06
Forum: Ask for Help (v1)
Topic: Send accent on vowel depending on caps lock status Topic is solved
Replies: 4
Views: 398

Send accent on vowel depending on caps lock status Topic is solved

Good morning, I hope everyone is well :) Please, I need that when pressing numpad2 and a vowel when the capslock is on, it sends this in capital letters and with the accent (Á for example). I've been trying like this but it doesn't work. Thanks in advance :thumbup: numpad2 & a:: #If, GetKeyState("Ca...
by Elermino
07 Aug 2022, 10:17
Forum: Ask for Help (v1)
Topic: Move window from anywere Topic is solved
Replies: 5
Views: 482

Re: Move window from anywere Topic is solved

The difference is probably the key repeat of a keyboard key. Try this version: ; Click Anywhere on a Window to Drag and Reposition [Script Demo #23] - https://juho-lee.com/archive SetWinDelay, -1 CoordMode, Mouse, Screen F22:: MouseGetPos, Mouse_Start_X, Mouse_Start_Y, Selected_Window WinGet, Windo...
by Elermino
07 Aug 2022, 09:54
Forum: Ask for Help (v1)
Topic: Move window from anywere Topic is solved
Replies: 5
Views: 482

Move window from anywere Topic is solved

I have this script that moves a window from anywhere. I would like someone to do me the favor of doing the same thing but only pressing a button (F22), I have already tried changing the code in GetKeyState and in the trigger, but it doesn't work like the original. Thanks in advance. :salute: ; Click...
by Elermino
28 Jun 2022, 11:04
Forum: Ask for Help (v1)
Topic: Problem with SciTE Topic is solved
Replies: 2
Views: 313

Re: Problem with SciTE Topic is solved

gregster wrote:
28 Jun 2022, 10:51
From the Run docs:
https://www.autohotkey.com/docs/commands/Run.htm#Parameters wrote:If the program/document name or a parameter contains spaces, it is safest to enclose it in double quotes (even though it may work without them in some cases). For example, Run, MyProgram.exe "param with spaces".
Thanks :thumbup:
by Elermino
28 Jun 2022, 10:47
Forum: Ask for Help (v1)
Topic: Problem with SciTE Topic is solved
Replies: 2
Views: 313

Problem with SciTE Topic is solved

Hello everyone! When executing this line of the run command, which starts a script with SciTE, for some reason if the ahk file name has spaces ( Counter keys ) it splits the name and opens two files ( 1. Counter , 2. keys ) run, C:\Program Files\AutoHotkey\SciTE\SciTE.exe C:\Users\Usuario\Desktop\Co...
by Elermino
25 Jun 2022, 07:39
Forum: Ask for Help (v1)
Topic: Select whole words when mouse hovers over
Replies: 2
Views: 562

Re: Select whole words when mouse hovers over

Not so sure what you want. If i need to select a word only, point the mouse to that word and double click on it . If it is a sentence triple click. I know it is a complicated issue, so I would like to know if there is a way. I half achieved it by sending 2 clicks when the cursor is IBeam (or text) ...
by Elermino
24 Jun 2022, 17:30
Forum: Ask for Help (v1)
Topic: Select whole words when mouse hovers over
Replies: 2
Views: 562

Select whole words when mouse hovers over

If the cursor is of the IBeam type and the F20 key is pressed, the text is selected with the shortcut Ctrl + Shift + right (or in the direction to which it is moved). Is there any way of doing this? https://imgur.com/a/Rqrfwjk I have this code but it is based on the number of pixels moved and not on...
by Elermino
19 Jun 2022, 14:03
Forum: Ask for Help (v1)
Topic: Quick Selection Topic is solved
Replies: 11
Views: 1254

Re: Quick Selection Topic is solved

mikeyww wrote:
19 Jun 2022, 11:12
It worked in my testing. You can replace the send sequence with whatever works at your end.
Ok I think there must be a way to do it. Thanks, I will learn a lot from the code

Go to advanced search