Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need help with OBS interaction #64

Closed
ghost opened this issue Oct 4, 2018 · 7 comments
Closed

need help with OBS interaction #64

ghost opened this issue Oct 4, 2018 · 7 comments

Comments

@ghost
Copy link

ghost commented Oct 4, 2018

PLEASE HELP!!!!!!!!!!!!!

This is my issue; my script works with OBS studio when it has focus, but as soon as I click another application, it stops working. here is my keyremap.ini and my AHK.ahk

FYI everything is running as admin.

(yes I know there are some keys in the AHK that are not in keyremap.ini.)

files.zip

@TaranVH
Copy link
Owner

TaranVH commented Oct 4, 2018

someone else had the same problem.
#57

@ghost
Copy link
Author

ghost commented Oct 4, 2018

Thank you very much taran! However, I was interested in using AHK due to the flexibility. Do you know how to add delay between keystrokes??? my code is in files.zip

Also, is " sendinput, ^!p " better than " send, {ctrl down}{alt down}a{alt up}{ctrl up} "???

@TaranVH
Copy link
Owner

TaranVH commented Oct 4, 2018

I'm not going to do your homework for you, as it were. You've got to put in the work.
Did you take the linked AHK beginner tutorial?
You'd know that
sleep, 50
adds a delay of 50 milliseconds.

usually you want to use
sendinput, ^!p
but sometimes you want to be absolutely certain, which is when i might use
sendinput, {ctrl down}{alt down}a{alt up}{ctrl up}
and sometimes you'd have to parse that out and add little delays
send, {ctrl down}
sleep 10
send, a
sleep 10
send, {ctrl up}
something like that. i think. i didn't check to see if it works.

@TaranVH TaranVH closed this as completed Oct 4, 2018
@ghost
Copy link
Author

ghost commented Oct 5, 2018

thank you for your help. I am putting in as much work as I can. I did take the AHK basic tutorial, but I'm 12 and there was a lot I didn't understand. I figured I could ask someone who knows AHK better and understands it for some help. Based on what I did understand from the tutorial, that code looks like it should work. Thanks.

@ghost
Copy link
Author

ghost commented Oct 5, 2018

The delay is added (I can see the delay difference of 50 ms between each keystroke) but OBS still isn't catching it.

@ghost ghost changed the title need help with OBS interacting w/ this. need help with OBS interaction Oct 5, 2018
@TaranVH
Copy link
Owner

TaranVH commented Oct 5, 2018 via email

@ghost
Copy link
Author

ghost commented Oct 5, 2018

I figured it out with the help of someone else over on discord. I created another project to share my code on.
https://github.com/joshinshaker-vidz/streamboard
(I linked to you in the readme)
I plan to update that code over time do do other stuff.
Thank you for your help/inspiring me to do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant