The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Enter password automation on flash control
#1
I'm testing an interesting project. When I enter the quiz, I need to enter the password. It's not very convenient. I want to implement input password automation! Smile

After swf is loaded, enter the password, and then press Enter, but I don't know when the swf is loaded, so it can't always succeed. I hope someone can help me, thanks in advance

Password: 123 Y
_________________________________


int w2=wait(30 WA win("Dialog" "#32770"))
int w=act(w2)
int c=child("" "MacromediaFlashPlayerActiveX" w)
key 123 


Where are these codes added?
_________________________________

Macro swf pwd input
Code:
Copy      Help
str dd=
;BEGIN DIALOG
;0 "" 0x90C80AC8 0x0 0 0 686 376 "Dialog"
;3 ActiveX 0x54030000 0x0 0 0 686 376 "SHDocVw.WebBrowser {8856F961-340A-11D0-A96B-00C04FD705A2}"
;END DIALOG
;DIALOG EDITOR: "" 0x2040700 "*" "" "" ""

str controls = "3"
str ax3SHD="$desktop$\Quiz\Quiz.html"
if(!ShowDialog(dd &sub.DlgProc &controls)) ret


#sub DlgProc
function# hDlg message wParam lParam

sel message
,case WM_INITDIALOG
,
,case WM_DESTROY
,case WM_COMMAND goto messages2
ret
;messages2
sel wParam
,case IDOK
,case IDCANCEL
ret 1


Attached Files Image(s)
   

.zip   Quiz.zip (Size: 440.46 KB / Downloads: 380)


Messages In This Thread
Enter password automation on flash control - by win - 04-25-2018, 04:34 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)