Jump to content

Noobie, please help me out if possible


chrisgreece
 Share

Recommended Posts

Greetings 

I ve downloaded auto it and with AU3 Recorder i ve completed a script.

During the script i type a number which is the protocol of the client i am examining.

 
 
#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("Program Manager","FolderView")
MouseClick("left",273,443,2)
_WinWaitActivate("Open ""a""","&Account Name and Pa")
MouseMove(257,117)
MouseDown("left")
MouseMove(-195,80)
MouseUp("left")
Send("005188{TAB}005188{ENTER}")
_WinWaitActivate("FileMaker Pro","FileMaker cannot sha")
Send("{ENTER}")
_WinWaitActivate("FileMaker Pro - [a]","Text Formatting")
MouseClick("left",708,291,1)
MouseMove(494,675)
MouseDown("left")
MouseMove(495,674)
MouseUp("left")
MouseClick("left",274,177,1)
Send("1210{ENTER}")
MouseClick("left",839,245,1)
MouseClick("left",1373,8,1)
#endregion --- Au3Recorder generated code End ---
 
On bold letters is the protocol of the client that i am examining.
So is there a way to put in a list like 1000 protocols and do it at once without me copying and pasting every time?thanks in advance for your help
Actually how can i make an interface with a field where i can add as many protocols as i want and make the program run automatically untill the numbers finish
Please i would appreciate your help.I am searching for so many hours and cant find nothing!
Link to comment
Share on other sites

Welcome to AutoIt snd the forum!

To get more and helpful answers to your future problems, please

  • Give a meaningful title to your thread. Because everyone on this forum is looking for help ;)
  • Wrap your script code in AutoIt code tags. That's the blue A icon in the editor. Greatly enhances readability.

My UDFs and Tutorials:

Spoiler

UDFs:
Active Directory (NEW 2022-02-19 - Version 1.6.1.0) - Download - General Help & Support - Example Scripts - Wiki
ExcelChart (2017-07-21 - Version 0.4.0.1) - Download - General Help & Support - Example Scripts
OutlookEX (2021-11-16 - Version 1.7.0.0) - Download - General Help & Support - Example Scripts - Wiki
OutlookEX_GUI (2021-04-13 - Version 1.4.0.0) - Download
Outlook Tools (2019-07-22 - Version 0.6.0.0) - Download - General Help & Support - Wiki
PowerPoint (2021-08-31 - Version 1.5.0.0) - Download - General Help & Support - Example Scripts - Wiki
Task Scheduler (NEW 2022-07-28 - Version 1.6.0.1) - Download - General Help & Support - Wiki

Standard UDFs:
Excel - Example Scripts - Wiki
Word - Wiki

Tutorials:
ADO - Wiki
WebDriver - Wiki

 

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...