Search found 141 matches
- 16 Dec 2021, 19:44
- Forum: Pedir Ayuda
- Topic: Ayuda para iniciar el programa.
- Replies: 1
- Views: 737
Re: Ayuda para iniciar el programa.
El programa en sí no tiene interfaz gráfica, tienes que ejecutar un script. Guarda esto con el nombre test.ahk y dale doble clic. el icono te debe aparecer la "H" de Autohotkey Se debe quedar junto al reloj de windows. Al pulsar la Tecla de función F1 mostrará el mensaje y nada más. #NoEnv ; Recomme...
- 16 Dec 2021, 08:02
- Forum: Scripts and Functions (v1)
- Topic: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
- Replies: 345
- Views: 206688
Re: AutoHotInterception (AHI): Multi-Keyboard / Multi-Mouse support for AHK. Per-device blocking!
I've read whole thread and I already have problems running Monitor.ahk: --------------------------- Monitor.ahk --------------------------- Unable to find D:\lepes\Downloads\ahk\Interception\Lib\AutoHotInterception.ahk\..\x64\interception.dll, exiting... You should extract both x86 and x64 folders f...
- 13 Dec 2021, 07:38
- Forum: Ask for Help (v1)
- Topic: Copy input text to clipboard.
- Replies: 4
- Views: 2032
Re: Copy input text to clipboard.
#NoEnv #SingleInstance Force SetWorkingDir %A_ScriptDir% Enter:: Send, ^c ; copy selected text if any clipWait, 1 ; wait for clipboard tooltip, % clipboard ; show on tooltip what was copied (just to ensure it works) Return Esc:: tooltip, ; remove tooltip ExitApp ; exit script I don't like too much ...
- 07 Dec 2021, 07:45
- Forum: Ask for Help (v1)
- Topic: What could cause bugs in a script that should work fine?
- Replies: 2
- Views: 443
Re: What could cause bugs in a script that should work fine?
It happens to me everyday, I just read a command with their parameters and when I try, it doesn't work as I expect. Most times are documented on the "remark" section or maybe another command that influences the one I'm using. There are tons of "exceptions", "special cases" you need to keep in mind w...
- 05 Dec 2021, 04:22
- Forum: Automatización de Juegos
- Topic: Macro para automatizar
- Replies: 2
- Views: 2838
Re: Macro para automatizar
Tendrás que probarlo en el juego, hay algunos que impiden macros y tal. Puedes probarlo en el bloc de notas. #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. SendMode Input ; Recommended for new ...
- 02 Dec 2021, 14:09
- Forum: Gaming Help (v1)
- Topic: &j4YfslGIq[cVj+@M-1"}up<2x>N!*&[,](&&0]?1swy5vBegEl|Ss!;!:a>bL]wW[]zCXw+QWZ{0=*'n{\>jr'(C,~.@vB1|:=$Uoe;i)9GQ>k|_3HC$tRI Topic is solved
- Replies: 0
- Views: 470
Re: script help Topic is solved
Code: Select all
F2::
Loop
{
SendInput, {Enter}
Sleep, 5 ;change ms value
}
return
F1::Pause
- 01 Dec 2021, 02:02
- Forum: Ask for Help (v1)
- Topic: Function returning difference from 2 Variables Topic is solved
- Replies: 13
- Views: 1237
Re: Function returning difference from 2 Variables Topic is solved
Not sure why you need a function, but it is:
val2 val1
15 - 10 = 5
10 - 20 = -10
Maybe i misunderstand something else...
Code: Select all
difference(val1, val2)
{
return val2 - val1
}
15 - 10 = 5
10 - 20 = -10
Maybe i misunderstand something else...
- 30 Nov 2021, 14:42
- Forum: Ask for Help (v1)
- Topic: Auto bold certain words of pasted text in word processor
- Replies: 10
- Views: 1604
Re: Auto bold certain words of pasted text in word processor
In fact, I think it could be simplified as:
I don't know any word processor that doesn't work these code (changing bold shorcut).
I tested and it didn't work pasting test. It only work when I type manually.
Code: Select all
::Part 1:: Send, ^bPart 1^b
I tested and it didn't work pasting test. It only work when I type manually.
- 29 Nov 2021, 01:27
- Forum: General Discussion
- Topic: Prompting user for coords rather than using ImageSearch
- Replies: 3
- Views: 1117
Re: Prompting user for coords rather than using ImageSearch
Oh! don't worry, I'm sure I misunderstood your question. I would say that MouseGetPos is not a good approach on some situations, for example if the window has scrollbars. I think you can study AHkSpy for example, it is a complex piece of Ahk software, but you can detect the control under the cursor ...
- 29 Nov 2021, 01:12
- Forum: Ask for Help (v1)
- Topic: How to retrieve the full adress of a selected file form the Windows File Manager
- Replies: 45
- Views: 4714
Re: How to retrieve the full adress of a selected file form the Windows File Manager
Offtopic: ctrl + 1 to ctrl + 0 are assigned to show favorites programs on FreeCommander by default, although you have nothing on Favorites slots. Go to Extras Menu, Assign shortcuts menuitem ( the icon is a keyboard, I'm sorry I have spanish language on FreeCommander) and delete those shortcuts, the...
- 29 Nov 2021, 00:49
- Forum: General Discussion
- Topic: Prompting user for coords rather than using ImageSearch
- Replies: 3
- Views: 1117
- 28 Nov 2021, 23:42
- Forum: Pedir Ayuda
- Topic: Ejecutar un scrip destinado a un programa mientras tengo abierto otro Topic is solved
- Replies: 1
- Views: 931
Re: Ejecutar un scrip destinado a un programa mientras tengo abierto otro Topic is solved
Esto es sacado de la ayuda buscando por "automating winamp" ^!p:: if not WinExist("ahk_class Winamp v1.x") return ; Otherwise, the above has set the "last found" window for use below. ControlSend, ahk_parent, c ; Pause/Unpause return ControlSend puede enviar comandos a una ventana y a un control en ...
- 25 Nov 2021, 23:52
- Forum: Ask for Help (v1)
- Topic: Setting clipboard as variable twice
- Replies: 4
- Views: 932
Re: Setting clipboard as variable twice
this seems to work: !+1:: WinActivate, ahk_exe notepad++.exe ; open Notepad++ Sleep, 50 Send, ^{numpad3} ; navigate to relevant tab Sleep, 20 Send, {Down 100} ; ensure that cursor is at the bottom Sleep, 10 Clipboard := "" ; set clipboard to nothing, so clipwait will work Send, ^+x ; Notepad++ short...
- 23 Nov 2021, 00:51
- Forum: Gaming Help (v1)
- Topic: ctrl/alt/shift stuck in down position Topic is solved
- Replies: 23
- Views: 4689
- 22 Nov 2021, 18:08
- Forum: Gaming Help (v1)
- Topic: ctrl/alt/shift stuck in down position Topic is solved
- Replies: 23
- Views: 4689
Re: ctrl/alt/shift stuck in down position Topic is solved
I also live with it :D and I didn't know the cause. I didn't open a thread because my case is special. People are asking this on Spanihs and Portuguese forum too. I only can say that if a modifier is part of the hotkey, sometimes it keeps down. Sometimes is ALT key, sometimes Shift, sometimes is Ctr...
- 22 Nov 2021, 09:27
- Forum: Ask for Help (v1)
- Topic: How to set input focus on the address field in Firefox?
- Replies: 3
- Views: 650
Re: How to set input focus on the address field in Firefox?
Be careful. Sending a capital L will also send a Shift (making it Ctrl and Shift and l ). I believe this would cause a problem in this case, not activating the address field. Better use Send ^l (small L, like you would do manually) for this use case . Right. I only used uppercase to distinguiss the...
- 22 Nov 2021, 06:18
- Forum: Ask for Help (v1)
- Topic: How to set input focus on the address field in Firefox?
- Replies: 3
- Views: 650
Re: How to set input focus on the address field in Firefox?
Send ^L to firefox.
A side effect is that open the last url visited, but it works, it is exactly the same when you click on adress edit box.
A side effect is that open the last url visited, but it works, it is exactly the same when you click on adress edit box.
- 21 Nov 2021, 04:31
- Forum: Ask for Help (v2)
- Topic: Create macros for changing attributes
- Replies: 3
- Views: 1116
Re: Create macros for changing attributes
It is not "an attribute", it is to modify IDTag of a mp4 video.
I found a library to read that, but I didn't find one to write IDTags.
Anyways it is out of my habilities right now.
You posted on Autohotkey V2 help, I think most people uses Autohotkey V1, yet another reason.
I found a library to read that, but I didn't find one to write IDTags.
Anyways it is out of my habilities right now.
You posted on Autohotkey V2 help, I think most people uses Autohotkey V1, yet another reason.
- 20 Nov 2021, 03:03
- Forum: Ask for Help (v1)
- Topic: How do I archive this?
- Replies: 4
- Views: 772
Re: How do I archive this?
Programmer life is about get solutions when bugs jump on your face. You can avoid all your problems if your commnands are inside an Edit box instead hotkeys, because you can control everything: ; Generated by Auto-GUI 3.0.0 #SingleInstance Force SetBatchLines -1 functions := {"nn":"", "nf":""} Gui -...
- 18 Nov 2021, 23:22
- Forum: Ask for Help (v1)
- Topic: how to get a window of a app and make my pc announce that Topic is solved
- Replies: 23
- Views: 2874
Re: how to get a window of a app and make my pc announce that Topic is solved
Interesting..... voice := ComObjCreate("SAPI.SpVoice") voices := voice.GetVoices() for k,v in voices { msgbox, % k.GetDescription() voice.voice := k ; assign a new voice voice.Speak("hi turky, how are you today?") } voice.voice := voices.Item(2) voice.Speak("good bye") https://docs.microsoft.com/en-...