neverlose Posted July 16, 2015 Share Posted July 16, 2015 AS my thread was closed: https://www.autoitscript.com/forum/topic/174011-sendmessage-wm_keydown-wm_keyup-do-not-work/I will rephrase my question.Source code: http://pastebin.com/dfsVpunuHow the code should be modified, to get it working in notepad?The goal is, when the notepad is opened, active and focused, you press F2 (start the script) and the space character writes to the notepad.The character must be written using DllCall SendMessage/PostMessage function.Alternative ways like Send/ControlSend do not offer - it is research work.I hope I do not break any forum rules, posting the question like this. Thanks in advance! Link to comment Share on other sites More sharing options...
RaiNote Posted July 16, 2015 Share Posted July 16, 2015 (edited) <Wrong Answer to Question> Edited July 16, 2015 by RaiNote C++/AutoIt/OpenGL Easy Coder I will be Kind to you and try to help you till what you want isn't against the Forum Rules~ Link to comment Share on other sites More sharing options...
Moderators Melba23 Posted July 16, 2015 Moderators Share Posted July 16, 2015 (edited) neverlose,I hope I do not break any forum rules, posting the question like this.As you are reposting a question which was previously locked, you most certainly are. We know that the code works except in your "special" window - the nature of which you will not divulge. My offer is still open - prove the "special" window is legal and I will reopen the original thread. Meanwhile, I suggest you do not open a third one.M23Edit: And the "special" window was indeed illegal. Edited July 16, 2015 by Melba23 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 columnsChooseFileFolder ---- Single and multiple selections from specified path treeview listingDate_Time_Convert -- Easily convert date/time formats, including the language usedExtMsgBox --------- A highly customisable replacement for MsgBoxGUIExtender -------- Extend and retract multiple sections within a GUIGUIFrame ---------- Subdivide GUIs into many adjustable framesGUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView itemsGUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeViewMarquee ----------- Scrolling tickertape GUIsNoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxesNotify ------------- Small notifications on the edge of the displayScrollbars ----------Automatically sized scrollbars with a single commandStringSize ---------- Automatically size controls to fit textToast -------------- Small GUIs which pop out of the notification area Link to comment Share on other sites More sharing options...
Recommended Posts