Asked by duncanb7
at 2024-10-18 11:30:58
Point:500 Replies:3 POST_ID:828384USER_ID:11059
Topic:
Miscellaneous Programming;;
I would like to know how to send key of ATl-S to webpage , I try to us ASCILL combine code of ALT-S as 1F but
it doesn't work, I also try WM_SYSKEYDOWN for Alt but it also not response. THe purpise is using for save botton
of Alt-S in download diaglog and (I don't want to use sendigitemmessage hwnd, &H1,BM_CLIC,0 because the function
will hang up if the file is existed until you reply overwrite or not )
PostMessage hdlg, WM_KEYDOWN, &H1F&, 0 'Alt-S
PostMessage hdlg, WM_KEYUP, &H1F&, 0
Please help to point out my mistake for postmessage VBA code
Duncan
it doesn't work, I also try WM_SYSKEYDOWN for Alt but it also not response. THe purpise is using for save botton
of Alt-S in download diaglog and (I don't want to use sendigitemmessage hwnd, &H1,BM_CLIC,0 because the function
will hang up if the file is existed until you reply overwrite or not )
PostMessage hdlg, WM_KEYDOWN, &H1F&, 0 'Alt-S
PostMessage hdlg, WM_KEYUP, &H1F&, 0
Please help to point out my mistake for postmessage VBA code
Duncan