Search found 13 matches
- 20 Jun 2018, 01:31
- Forum: Ask for Help (v1)
- Topic: Trigger 3 OBS scenes with 1 button
- Replies: 3
- Views: 1072
Re: Trigger 3 OBS scenes with 1 button
This code worked every time for me but it takes the focus off the active/foreground window to make sure the hotkeys are fired. If you're interested in a work around.. You can use ControlClick . It will click "through" the other windows and click the scenes without putting focus on the OBS window. #S...
- 19 Jun 2018, 17:22
- Forum: Ask for Help (v1)
- Topic: Trigger 3 OBS scenes with 1 button
- Replies: 3
- Views: 1072
Re: Trigger 3 OBS scenes with 1 button
The code below works for me (Windows 10 - x64 bit, OBS 21.1.2 x64 bit). An issue I found with my code was OBS had to be the window in the foreground. I've used OBS before and I highly recommend the plugin "advanced scene switcher" which also has the option for hotkey start/stop --> https://obsprojec...
- 17 Dec 2017, 06:41
- Forum: Ask for Help (v1)
- Topic: A certain program blocks AHK hotkeys Topic is solved
- Replies: 3
- Views: 1034
Re: A certain program blocks AHK hotkeys Topic is solved
I ran into that problem with the Task Manager on Windows 10. I used the hotkey Win+D to lower everything (show desktop) then brought back what I wanted. Usually any Windows system key combo will override the "override".
EDIT:
I was wrong. Sorry about that. Win+D doesn't work anymore.
EDIT:
I was wrong. Sorry about that. Win+D doesn't work anymore.
- 17 Dec 2017, 06:33
- Forum: Ask for Help (v1)
- Topic: alt does not work
- Replies: 11
- Views: 1851
Re: alt does not work
Are any of those keys used in adobe premiere pro for hotkeys? Like Ctrl+N = Create new project. Does NumpadIns or Numpad1 have a function in premiere?
- 17 Dec 2017, 06:19
- Forum: Ask for Help (v1)
- Topic: OSD display trick!!!
- Replies: 6
- Views: 3392
Re: OSD display trick!!!
He's looping through a text file that has the keys he uses in Premiere. . Here's what I came up with.. (Iteration and Arrays aren't my strong suite) FileRead, commands, %A_ScriptDir%\Command.txt ; store the commands from the file into a variable Loop, Parse, commands, `n ; splits the variable into e...
- 16 Dec 2017, 08:15
- Forum: Ask for Help (v1)
- Topic: String replace ’ with '
- Replies: 1
- Views: 575
Re: String replace ’ with '
If I understand your question correctly, your code works on my end.
It replaces the ’ with a '. Is that what you're looking for? I'm running AHK version 1.1.26.01 Unicode 32bit.
Code: Select all
StringReplace, Filename, Filename, ’, ', All
It replaces the ’ with a '. Is that what you're looking for? I'm running AHK version 1.1.26.01 Unicode 32bit.
- 16 Dec 2017, 07:59
- Forum: Ask for Help (v1)
- Topic: OSD display trick!!!
- Replies: 6
- Views: 3392
Re: OSD display trick!!!
[This is not my code] Here's a working example I found on the same GitHub link. It does't show the actual task being done though like the video. ; KeypressOSD.ahk ; Written by VarunJhajharia, then heavily modified by Victor Uribe! (Not scripted by Taran at all!) ;THIS IS A SIMPLER ALTERNATIVE TO KEY...
- 16 Dec 2017, 07:34
- Forum: Ask for Help (v1)
- Topic: PixelGetcolor, and if few condition are true then click. Topic is solved
- Replies: 2
- Views: 2672
Re: PixelGetcolor, and if few condition are true then click. Topic is solved
Hello Dumitas.. You can try something like this.. Color1 = Red ;<-- put the color1 value here to check it later Color2 = Blue ;<-- put the color2 value here to check it later ;step 1 Loop ; this will loop and check for the colors. If no match it waits 1 second then starts again { PixelGetColor, Pix1...
- 15 Dec 2017, 13:28
- Forum: Ask for Help (v1)
- Topic: Variable not keeping value between hotkeys
- Replies: 1
- Views: 559
Re: Variable not keeping value between hotkeys
I'm not sure why this works but it seems the Spress variable needs to be Global in the Dkey() function. This worked for me... s::SKey() d::DKey() SKey(){ Global SPress += 1 MsgBox, %SPress% MouseGetPos, xpos, ypos FileAppend, ( %xpos% ), Xcords.txt FileAppend, ( %ypos% ), Ycords.txt } DKey(){ Global...
- 15 Dec 2017, 12:58
- Forum: Ask for Help (v1)
- Topic: Key Stroke Delay Syntax
- Replies: 3
- Views: 821
Re: Key Stroke Delay Syntax
This will delay keystrokes being sent using the Send command.
Code: Select all
Setkeydelay, 1000 ; delay keystrokes by 1 second
Send, abcdefg
- 15 Dec 2017, 12:37
- Forum: Ask for Help (v1)
- Topic: Total scrub looking for help, script for background window
- Replies: 1
- Views: 573
Re: Total scrub looking for help, script for background window
You can try this... SetTitleMatchMode, 2 ; Match the window title easier WinGet, winID, PID, Notepad ; PID: Retrieves the Process ID (PID) of a window. MsgBox, %winID% ; Show the ID of the Notepad window Loop { Send, a ; send keystrokes (letter a) Sleep, 1000 ; wait 1 second Send, b Sleep, 1000 } Wi...
- 15 Dec 2017, 12:20
- Forum: Ask for Help (v1)
- Topic: Help with a simple loop example?
- Replies: 1
- Views: 1615
Re: Help with a simple loop example?
Loop, 3 ; Loop 3 times for corn { Mousemove, 100, 500 MouseClick, left Send, C Mousemove, 100, 700 MouseClick, left Send, 25 Mousemove, 100, 900 MouseClick, left Send, 50 Mousemove, 100, 1200 MouseClick, left Send, Corn Acreage File.txt Mousemove, 100, 1500 MouseClick, left } Loop, 3 { ;add wheat m...
- 15 Dec 2017, 11:54
- Forum: Ask for Help (v1)
- Topic: Tunnel hotkeys without VNC to remote computer
- Replies: 2
- Views: 863
Re: Tunnel hotkeys without VNC to remote computer
Hello, 2 suggestions.. 1) You could make a "send" and "receive" ahk script that talks/listens over an ssh connection. I just tested this with Putty and Freesshd and it works. Put the "send" script on the PC that needs to send/start the whole process. Then put the "receive" script on the PC that need...