Search found 66 matches

by eqv
12 Oct 2018, 03:03
Forum: Ask For Help
Topic: volume control question
Replies: 9
Views: 1712

Re: volume control question

open the volume mixer beforehand is a dealbreaker for me I am sorry, there has been a misunderstand :| , you don't have to manually open it at all. The reason to open it is to know which name for "spotify" is in the volume mixer (only once , the name should keep the same always). (for example, chro...
by eqv
12 Oct 2018, 01:20
Forum: Ask For Help
Topic: count a specific number in the second row. Topic is solved
Replies: 2
Views: 630

Re: count a specific number in the second row. Topic is solved

I have a text file containing numbers as below; aaa 1 2 3 bbb 0 2 5 ccc 2 3 9 ddd 1 3 12 eee 3 4 8 fff 2 3 8 ggg 0 3 9 ... ... ... zaa 1 3 13 I hope to know how many 0, 1, 2, 3 are in the second row. Result I expect is 0 is 2 times 1 is 3 times 2 is 2 times 3 is 1 time. ----------------------------...
by eqv
12 Oct 2018, 00:19
Forum: Ask For Help
Topic: Cessna Trim Wheel -> Key Press. But based on axis movement not current axis position.
Replies: 1
Views: 221

Re: Cessna Trim Wheel -> Key Press. But based on axis movement not current axis position.

When the wheel isn't being turned then nothing is pressed. When the wheel is rolled forward. PGDN is pressed. Until I stop rolling then nothing is pressed. When the wheel is rolled backwards. PGUP is pressed. Until I stop rolling then nothing is pressed. The wheel doesn't care about it's axis posit...
by eqv
11 Oct 2018, 19:38
Forum: Ask For Help
Topic: VS Code multiline editing
Replies: 9
Views: 1383

Re: VS Code multiline editing

Hope it helps, this tutorial shows how to create shortcuts without UAC prompt: https://www.tenforums.com/tutorials/57690-create-elevated-shortcut-without-uac-prompt-windows-10-a.html → So create a shortcut for your script that needs admin rights to work. Also, your "Send" command won't do anything; ...
by eqv
11 Oct 2018, 19:03
Forum: Ask For Help
Topic: AHK To Work IN-GAME Only
Replies: 24
Views: 6585

Re: AHK To Work IN-GAME Only

A small correction: • #1: "#If WinActive()", only affect the thread (hotkey) «execution». Once is running it won't affect the thread (notice the loop \ while). So it would go: * Activate(Wow) → Start(Hotkey\Thread) -- {do stuff outside} -- * Activate. Wow → End(Hotkey\Thread) On the rest "Ruevil" it...
by eqv
11 Oct 2018, 10:47
Forum: Ask For Help
Topic: AHK To Work IN-GAME Only
Replies: 24
Views: 6585

Re: AHK To Work IN-GAME Only

Try adding this at the over "ControlClick" as specified in the documentation: (https://autohotkey.com/docs/commands/ControlClick.htm) SetControlDelay -1 I am sorry; I don't have multiple monitors, nor the game to test it :( . Keep looking for "ControlClick" and multiple monitors, I guess the problem...
by eqv
11 Oct 2018, 09:56
Forum: Ask For Help
Topic: volume control question
Replies: 9
Views: 1712

Re: volume control question

Quite tricky, but it's possible. · First run the volume mixer (right click on the volume icon), or run this command: Run, "%A_WinDir%\System32\SndVol.exe" · Then check the name of the desire volume. You do not need the full name, just a part. · In the script below, I show you using as example "Syste...
by eqv
11 Oct 2018, 07:54
Forum: Ask For Help
Topic: AHK To Work IN-GAME Only
Replies: 24
Views: 6585

Re: AHK To Work IN-GAME Only

Hello, • Actually "ControlClick" shouldn't move your mouse, just simulate the clicks in the position. • If you want stop the loop, then you can use a variable for it. I change the "loop" for a "while", is the same, but "while" can have conditions. • In theory you could use any character as hotkey, b...
by eqv
11 Oct 2018, 07:25
Forum: Ask For Help
Topic: Focus an open IE window
Replies: 1
Views: 233

Re: Focus an open IE window

I'd like to put in a focus IE before each of the send commands so it gets focused before each time it tries to hit it To focus a window, use the command "WinActivate": • https://autohotkey.com/docs/commands/WinActivate.htm You need to learn about "WinTitles": • https://autohotkey.com/docs/misc/WinT...
by eqv
11 Oct 2018, 07:08
Forum: Ask For Help
Topic: How to send SPACEBAR with a button in GUI
Replies: 4
Views: 521

Re: How to send SPACEBAR with a button in GUI

Hello, I hope this works: SetTitleMatchMode 2 Gui Add, Button,x10 y10 w100 h50, ^b ;; GIVE NAME [^b] Gui Add, Button,x10 y60 w100 h50, Space ;; GIVE NAME [Space] Gui Show, x1920 y50 w150 h500, control Return Button^b: ;; LOOK NAME = [Button][^b] WinActivate, Bar Settings Send, ^a Return ButtonSpace:...
by eqv
11 Oct 2018, 06:46
Forum: Ask For Help
Topic: some help
Replies: 2
Views: 322

Re: some help

I'm not sure if I understood what you wanted, but here's my contribution: • sec=seconds to reset (now is 10) • delay=milliseconds for each {F1} {F2} (now 250 = 1\4 Second) #MaxThreadsPerHotkey 2 toggle := False ^LButton:: toggle := !toggle, delay:=250, sec:=10, sec:=(sec*1000)/delay MouseGetPos, x, ...
by eqv
11 Oct 2018, 06:14
Forum: Ask For Help
Topic: AHK To Work IN-GAME Only
Replies: 24
Views: 6585

Re: AHK To Work IN-GAME Only

Yes, use this hotkey to get the relative position in the game of what you want to press (IMPORTANT: first activate\focus WoW, then run the hotkey): F1:: Coordmode, Mouse, Relative MouseGetPos, X, Y Msgbox % "x"X . "`n" . "y"Y Return Record the coordinates and replace them in the command: F1:: SetCon...
by eqv
11 Oct 2018, 04:17
Forum: Ask For Help
Topic: AHK To Work IN-GAME Only
Replies: 24
Views: 6585

Re: AHK To Work IN-GAME Only

Oooh, okay now I get it. Let's do multiple test (step-by-step). Then you need to know control; but let's try this first: F1:: ControlSend,, E, ahk_exe Wow.exe ;; This should always send "E" to wow, each time you press F1 Return If that work, now let's try plus "LButton" (if there is an keyboard alte...
by eqv
11 Oct 2018, 03:43
Forum: Ask For Help
Topic: AHK To Work IN-GAME Only
Replies: 24
Views: 6585

Re: AHK To Work IN-GAME Only

I don't get it, you have programmed "E" and "LButton" to do nothing when "Wow.exe" is active. So, if you press while focusing the game; it won't do anything but outside of it should work normally. · "#If" DON'T send the key "E" or "LButton" to the game; for that you need "ControlSend" or "ControlCli...
by eqv
11 Oct 2018, 03:04
Forum: Pedir Ayuda
Topic: Mostrador de teclas pulsadas
Replies: 17
Views: 4623

Re: Mostrador de teclas pulsadas

Bertini, las palabras están en inglés; porque son los comandos aceptados por autohotkey (osea salen en el keylist: https://autohotkey.com/docs/KeyList.htm) · Para cambiarlo solo debes reemplazar el nombre justo antes de ser mostrado. No se como será tu script, así que te explico en base al código or...
by eqv
11 Oct 2018, 02:40
Forum: Ask For Help
Topic: AHK To Work IN-GAME Only
Replies: 24
Views: 6585

Re: AHK To Work IN-GAME Only

I actually don't have multiple monitor, sorry; but in theory it should work with no problem. · The "Control" commands (2° example); works on minimized windows (even hide windows), and in the "background" (don't affect the current window, nor does it remove the focus from the current window). · I hig...
by eqv
10 Oct 2018, 20:18
Forum: Ask For Help
Topic: AHK To Work IN-GAME Only
Replies: 24
Views: 6585

Re: AHK To Work IN-GAME Only

Here an example of the «directive» "#If" using notepad: ;; Below hotkeys will only work IN notepad (note "#If WinActive..."), #If WinActive("ahk_exe notepad.exe") F2:: Msgbox, You press "F2" in Notepad. Return E:: Msgbox, You press "E" in Notepad. Return RButton:: Msgbox, You press "Right Click" in ...
by eqv
09 Oct 2018, 18:54
Forum: Ask For Help
Topic: AHK To Work IN-GAME Only
Replies: 24
Views: 6585

Re: AHK To Work IN-GAME Only

You could use the directive "#If" (https://autohotkey.com/docs/commands/_If.htm). Example: #If WinActive("ahk_exe GAME_NAME_HERE.EXE") ;; your game exe here ;; >> Your hotkey\script here << #If Thus; your hotkey\script only works if the game window is active (ps: it can be any win title >> https://a...
by eqv
09 Oct 2018, 18:45
Forum: Ask For Help
Topic: Differentiate between "empty" variable, and non-variable? Topic is solved
Replies: 7
Views: 1148

Re: Differentiate between "empty" variable, and non-variable? Topic is solved

Thank you for your answers; if it is not possible, it's okay. Just keep working with workarounds ^^:
Example; (a=""?"":wierdFunc(a,b,...))

Cheers,

Go to advanced search