Deye Posted April 20, 2017 Share Posted April 20, 2017 (edited) Hi, I need a small confirmation on the matter Running this Example, My clipboard shows: 0xFFF0BDC5 0xFFF0BDC4 0xFFF0BDC3 0xFFF0BDC2 0xFFF0BDC1 Do you have the same outcome ? Also : In my main script i get padded returns like : 0x00000000FFF0BDC1 - don't know the reason why as yet And what can make a conversion back to the original posted number ? Thanks #include <WinApi.au3> Global Const $WM_MYMSG = _WinAPI_RegisterWindowMessage('WM_MYMSG') Global Const $HWND_BROADCAST = 0xFFFF $hGUI = GUICreate('') GUIRegisterMsg($WM_MYMSG, 'WM_MYMSG') _Example() GUIDelete($hGUI) Exit Func _Example() ClipPut('') _WinAPI_PostMessage($HWND_BROADCAST, $WM_MYMSG, -999995, $hGUI) _WinAPI_PostMessage($HWND_BROADCAST, $WM_MYMSG, -999996, $hGUI) _WinAPI_PostMessage($HWND_BROADCAST, $WM_MYMSG, -999997, $hGUI) _WinAPI_PostMessage($HWND_BROADCAST, $WM_MYMSG, -999998, $hGUI) _WinAPI_PostMessage($HWND_BROADCAST, $WM_MYMSG, -999999, $hGUI) EndFunc Func WM_MYMSG($hWnd, $iMsg, $wParam, $lParam) ClipPut(ClipGet() & @CRLF & $wParam) EndFunc ;==>WM_MYMSG Edited April 20, 2017 by Deye Link to comment Share on other sites More sharing options...
Moderators JLogan3o13 Posted April 20, 2017 Moderators Share Posted April 20, 2017 @Deye I get the same result from the script you have posted. If you are seeing different results produced from your "main script", we will need to see that to help you determine the difference. Deye 1 "Profanity is the last vestige of the feeble mind. For the man who cannot express himself forcibly through intellect must do so through shock and awe" - Spencer W. Kimball How to get your question answered on this forum! Link to comment Share on other sites More sharing options...
TheDcoder Posted April 20, 2017 Share Posted April 20, 2017 My clipboard: 0xFFF0BDC5 0xFFF0BDC4 0xFFF0BDC3 0xFFF0BDC2 0xFFF0BDC1 Deye 1 EasyCodeIt - A cross-platform AutoIt implementation - Fund the development! (GitHub will double your donations for a limited time) DcodingTheWeb Forum - Follow for updates and Join for discussion Link to comment Share on other sites More sharing options...
Deye Posted April 20, 2017 Author Share Posted April 20, 2017 Hey guys, thanks for the confirmation@JLogan3o13 yea, as long as it is functional and does what i need, will give this a rest for now .. thanks again Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now