Queener Posted December 12, 2012 Posted December 12, 2012 I used auto record and it gives me the code shown below: expandcollapse popup#region ---Au3Recorder generated code Start (v3.3.7.0) --- #region --- Internal functions Au3Recorder Start --- Func _Au3RecordSetup() Opt('WinWaitDelay',100) Opt('WinDetectHiddenText',1) Opt('MouseCoordMode',0) EndFunc Func _WinWaitActivate($title,$text,$timeout=0) WinWait($title,$text,$timeout) If Not WinActive($title,$text) Then WinActivate($title,$text) WinWaitActive($title,$text,$timeout) EndFunc _WinWaitActivate("Program Manager","FolderView") MouseMove(143,884) MouseDown("left") MouseMove(144,884) MouseClick("left",398,80,2) MouseClick("left",398,80,1) MouseUp("left") _WinWaitActivate("MyWebsite :: MyWebsite - Windows Internet Explorer","Address Combo Contro") MouseClick("left",402,88,1) _WinWaitActivate("Self Service Portal - Windows Internet Explorer","Address Combo Contro") MouseMove(110,307) MouseDown("left") MouseMove(112,309) MouseClick("left",112,309,2) MouseDown("left") MouseMove(115,314) MouseUp("left") MouseClick("left",540,320,1) _WinWaitActivate("Windows Security","Remember my credenti") Send("{SHIFTDOWN}a{SHIFTUP}sianqueen{SHIFTDOWN}2{SHIFTUP}test{TAB}{SHIFTDOWN}a{SHIFTUP}ka5{ENTER}") _WinWaitActivate("Portal Integration - Windows Internet Explorer","Address Combo Contro") MouseClick("left",163,192,1) MouseClick("left",134,215,1) When I executed, the mouse move around real fast and double click on areas that I don't needed. Also once you executed and it move/click elsewhere; everytime when you open internet explorer; it acts up. Can someone give me a hand here? My goal is Note: This test website is build in flash so everything here is flash like the menu, the login. 1. Open Internet Explorer (IE9). 2. Negivate to my favorite toolbar and click on favorite site called "Self Service Portal". 3. Click User Login Button. There's a pop-up window asking for user/pass. 4. Enter user name / password 5. Negivate to a drop down menu called "Test Page" 6. Click on the button called "Test" thanks Msgbox(0, "Hate", "Just hate it when I post a question and find my own answer after a couple tries. But if I don't post the question, I can't seem to resolve it at all.")
JohnOne Posted December 12, 2012 Posted December 12, 2012 Unfortunately, I believe this falls under "no auto login scripts discussion" rule. http://www.autoitscript.com/forum/forum-2/announcement-15-forum-rules-7-nov-2012/ AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Moderators Melba23 Posted December 12, 2012 Moderators Posted December 12, 2012 asianqueen,JohnOne is quite right - please read the Forum Rules - particularly the bit about not discussing log in scripts - before you post again. Thread locked. But anyway, welcome to the AutoIt forum - I hope we can help you with a legitimate question soon. M23 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
Recommended Posts