Jump to content

Recommended Posts

Posted

Do you guys know of any kind of script or recording software that will record which keys and for how long you press them?

For example, a racing game,

I press forward arrow key, and at the same time, press the left arrow key, then I let go of the left arrow key, and hold the forward arrow key. It records for how long I press these keys.

Any such script/software known? Ive tried AHK, but it is not what Im looking for.

Thanks!

Posted (edited)

Do you guys know of any kind of script or recording software that will record which keys and for how long you press them?

For example, a racing game,

I press forward arrow key, and at the same time, press the left arrow key, then I let go of the left arrow key, and hold the forward arrow key. It records for how long I press these keys.

Any such script/software known? Ive tried AHK, but it is not what Im looking for.

Thanks!

For what purpose?

If is what I think, here is an answer:

http://www.autoitscript.com/forum/index.ph...st&p=337809

Edited by Andreik
Posted (edited)

Sorry, just one more question to anyone reading this.

I am trying to use the following to send a keystroke to both the browser and notepad at the same time (using Autohotkey)

WinGet, firefoxid, List, Cubefield - Mozilla Firefox

WinGet, notepadid, List, Untitled - Notepad

~a::

KeyWait a

IfWinActive, Untitled - Notepad

{

ControlSend,, a, ahk_id %firefoxid1%

ControlSend,, a, ahk_id %notepad1%

return

}

Is there something wrong with this code? Thank you.

Or is there another way to send keystrokes from the browser to notepad?

Edited by Ham123
  • Developers
Posted

Sorry, just one more question to anyone reading this.

I am trying to use the following to send a keystroke to both the browser and notepad at the same time (using Autohotkey)

WinGet, firefoxid, List, Cubefield - Mozilla Firefox

WinGet, notepadid, List, Untitled - Notepad

~a::

KeyWait a

IfWinActive, Untitled - Notepad

{

ControlSend,, a, ahk_id %firefoxid1%

ControlSend,, a, ahk_id %notepad1%

return

}

Is there something wrong with this code? Thank you.

Or is there another way to send keystrokes from the browser to notepad?

Yes the is a lot wrong with that code is its not proper AutoIt3 syntax.

Your source tells you what syntax it is.... :)

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

Yes the is a lot wrong with that code is its not proper AutoIt3 syntax.

Your source tells you what syntax it is.... :)

i understand that its for autohotkey, but i figured that since they're somewhat similar, someone would have experience with it :party:

  • Developers
Posted

i understand that its for autohotkey, but i figured that since they're somewhat similar, someone would have experience with it :)

I won't hold it against you but you have no idea which can of worms you are opening.

Jos

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Posted

I won't hold it against you but you have no idea which can of worms you are opening.

Jos

I interpreted them as somewhat similar, sorry.

Im looking at control send atm, trying to figure out how to do it

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...