Jump to content

Automatically send a series of keyboard keys


 Share

Recommended Posts

Hello. I have on liste and i want to add each line between two character.

Exemple my liste is

1

2

3

4

 

I want to add between each line A and B

 

A

1

B

A

2

B

A

3

B

A

4

B

 

If someone can help me, I think with auto it i can make one script for send the key ctr+v -> down -> end -> Enter -> ctr+v .....

And after use an other script for send ctr+v -> down -> down -> end -> Enter -> ctr+v .....

Link to comment
Share on other sites

Welcome back after almost 10 years.  You must have forgotten that we do not write scripts on command here.  We will be glad to help you when you come with a basic script and having issues.  Beside sending keys is the worst way to automate an application, you should consider using a more robust approach.

 

Edited by Nine
Link to comment
Share on other sites

I juste want to do what i say I dont want to make cheat or anything illégal, even if have an other solution with an other software i will be happy.

 

Now i show you what i make my self, but im very bad.

HotKeySet("{NUMPAD4}","cast")
    Func cast()
    Send("{ENTER}")
EndFunc

I Make 4 script, ctrl+v with numpad 1, down with numpad 2, end with numpad3 and enter with numpad4. If i can make this only with one key is better.

Link to comment
Share on other sites

  • Moderators

tazbox,

Quote

I dont want to make cheat or anything illégal

And a function named "cast" is not for a game? The forum rules have changed since you were last here - I suggest you read them before posting 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...