Jump to content

Ctrl/Shift/Alt key Stuck after Script NOT WORKING


 Share

Recommended Posts

I've read the FAQ - AutoIt Wiki (Why does the Ctrl key get stuck down after I run my script?) and the 2 solutions given didn't work at all and it's getting hella annoying. Everytime I run the script, the shift button, most noticeably as I type alot, is held down randomly. And I have to spam my shift buttons to reset it to normal. It also happens also if i press the shift button when the script is running. does anyone have a proper solution to this extremely annoying problem? i appreciate if there's any help. thanks alot!

Link to comment
Share on other sites

I've read the FAQ - AutoIt Wiki (Why does the Ctrl key get stuck down after I run my script?) and the 2 solutions given didn't work at all and it's getting hella annoying. Everytime I run the script, the shift button, most noticeably as I type alot, is held down randomly. And I have to spam my shift buttons to reset it to normal. It also happens also if i press the shift button when the script is running. does anyone have a proper solution to this extremely annoying problem? i appreciate if there's any help. thanks alot!

Welcome to the forum !

your script should be helpfull ! Posted Image

AutoIt 3.3.14.2 X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

Link to comment
Share on other sites

Hi, welcome to the forum.

How do you expect people to help you without seeing the code that gives you problems ?

Crystal balls have gone out of fashion ...

whim

edit: oops, sorry wakillon, always forget this forum doesn't warn of new posts while editing

Edited by whim
Link to comment
Share on other sites

my bad, forget to provide my source of the problem. thought the FAQ would have provide the problem itself, just that it's solutions didn't work at all.

i'll just post the part that causes problem, primarily the ControlSend() part.

Func attack()
    ControlSend("Client","","","{a up}",0)
        sleep(500)
ControlSend("Client","","","{1}",0)
sleep(500)
ControlSend("Client","","","{4}",0)
sleep(500)
ControlSend("Client","","","{3}",0)
EndFunc
Edited by cephyz
Link to comment
Share on other sites

  • Moderators

wakillon,

Ouh la la !

I have only ever heard one or two people say that and I have certainly never seen written before! :)

I must say that it loses a little of its Gallic charm in cold print. ;)

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

  • Moderators

cephyz,

sigh. so no solution for the bugged shift/ctrl/alt held down?

Did you read the announcement that wakillon linked to? ;)

If you did you should now understand that we do not support the automation of games - so no-one here is working on your problem. :)

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

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
 Share

  • Recently Browsing   0 members

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