Sign in to follow this  
Followers 0
tpirog

Recording keystrokes

14 posts in this topic

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

Share this post


Link to post
Share on other sites



#3 ·  Posted (edited)

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

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

The thing I am hoping for is to just record my keystrokes and mouse actions. Can it be done without having to start a program? That's what I want ideally.

Share this post


Link to post
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!

Share this post


Link to post
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?

Share this post


Link to post
Share on other sites

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

That's correct. Send("{LWIN}") works on Windows 7 also.

Share this post


Link to post
Share on other sites

That's correct. Send("{LWIN}") works on Windows 7 also.

It does, but once GPEDIT.MSC comes up, the mouse goes haywire. Oh well. ;)

Share this post


Link to post
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!

Share this post


Link to post
Share on other sites

Keyboard navigation is more accurate for that kind of input recording.

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

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

Share this post


Link to post
Share on other sites

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

1 person likes this

Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______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

 

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  
Followers 0