Jump to content

How to repeat script


Recommended Posts

 

I want to repeat this script. Please help me

#region --- Au3Recorder generated code Start (v3.3.9.5 KeyboardLayout=00000409)  ---

#region --- Internal functions Au3Recorder Start ---
Func _Au3RecordSetup()
Opt('WinWaitDelay',100)
Opt('WinDetectHiddenText',1)
Opt('MouseCoordMode',0)
Local $aResult = DllCall('User32.dll', 'int', 'GetKeyboardLayoutNameW', 'wstr', '')
If $aResult[1] <> '00000409' Then
  MsgBox(64, 'Warning', 'Recording has been done under a different Keyboard layout' & @CRLF & '(00000409->' & $aResult[1] & ')')
EndIf

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

_AU3RecordSetup()
#endregion --- Internal functions Au3Recorder End ---

_WinWaitActivate("Marvel - iNven ( LoginID - 1. Firm Name: Marvel software )","splitContainer1")
MouseClick("left",375,45,1)
MouseClick("left",416,115,1)
MouseClick("left",279,226,1)
MouseClick("left",255,257,1)
MouseClick("left",265,195,1)
MouseClick("left",318,195,1)
MouseClick("left",197,356,1)
MouseClick("left",1152,194,1)
MouseClick("left",860,330,1)
MouseClick("left",807,271,1)
Send("10")
MouseMove(798,294)
MouseDown("left")
MouseMove(798,295)
MouseUp("left")
Send("{BACKSPACE}150")
MouseClick("left",932,292,1)
Send("{BACKSPACE}180")
MouseClick("left",802,400,1)
MouseClick("left",107,469,1)
MouseClick("left",124,681,1)
_WinWaitActivate("Tax Invoice: 28","splitContainer1")
MouseClick("left",431,15,1)
MouseClick("left",1367,8,1)
MouseClick("left",470,7,1)
_WinWaitActivate("Program Manager","FolderView")
MouseClick("left",640,736,1)
MouseClick("left",641,754,1)
#endregion --- Au3Recorder generated code End ---
 

Link to comment
Share on other sites

  • Developers

@supriya,

I have split your post off from the topic you posted in as it was totally unrelated.
Having said that: Marvel - iNven  seems to be related to game automation or am I mistaken?

Jos

@EveryoneElse: please stay out until further notice.

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...