Jump to content

Recording keystrokes


 Share

Recommended Posts

Does Autoit have an option for recording keystrokes? I assume not, but am asking just in case. I want to open GPEDIT.MSC and drill down to certain options and turn them on automatically. I don't know of any command line commands to do it, so I need to record and playback my keystrokes.

Thanks.

Tony

Link to comment
Share on other sites

Under tools in the menu bar for autoit, look for AU3Recorder

That is a great start, thank you.

1. On my 64 bit Windows 7 I get a pop-up that says "DLL Load Failed" and the app crashes. Any suggestions please?

2. On 32 bit it runs, but when I try to run GPEDIT.MSC, it doesn't seem to do anything. Why would it only for for ".exe" files? Or am I doing something wrong?

Edited by tpirog
Link to comment
Share on other sites

I never use the recorder, but the dll error sounds familiar. I'm pretty sure I saw it on the forums somewhere.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

Literally taken, that is impossible for any computer. There has to be a program to tell the computer to record. What AU3Record will do is record your actions, then create a script from it that you can run at any time to perform those exact actions. after that you will not need recorder for that operation anymore.

With a forum search on your errors starting the recorder, you should be able to find a solution.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

Literally taken, that is impossible for any computer. There has to be a program to tell the computer to record. What AU3Record will do is record your actions, then create a script from it that you can run at any time to perform those exact actions. after that you will not need recorder for that operation anymore.

With a forum search on your errors starting the recorder, you should be able to find a solution.

Actually, I have discovered that Autorecord DOES do it! ;) (FREAKING AWESOME!)

NOW ... the only issue I have is that the first command it generates is "WinWaitActive("Start Menu","")" but it says that "Start Menu" is not valid.

Does anyone know how to activate the windows 7 Start Menu in a script?

Link to comment
Share on other sites

Send("{LWIN}") should bring up the start menu. Not tested as I am on my work pc using xp.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

It's probably easier and more accurate to code manually than rely on pre determined pauses, timing and locations...

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

  • 2 years later...

Auto Clicker AvtoK is designed to record and replay mouse movements, mouse clicks, and keyboard keystrokes in any applications.

Auto Clicker AvtoK can analyze the image on the screen. Auto clicker tutorial: <snip>

Edited by Melba23
Link removed
Link to comment
Share on other sites

  • Moderators

Stratego,

Welcome to the AutoIt forum. :)

Unfortunately you appear to have missed the Forum Rules on your way in. Please read them now - particularly the bit about not discussing keyloggersand game automation - and then you will understand why this thread will now be locked. :naughty:

Auto Clicker AvtoK is designed to record and replay mouse movements, mouse clicks, and keyboard keystrokes in any applications. Can be used as auto clicker in game. Auto Clicker online games

Please do not post links to this again. ;)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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