Sign in to follow this  
Followers 0
bobthemob007

i was wondering if i could get some help

4 posts in this topic

hi im really new at this program and i was wondering if somebody would mind helping me out. i am wanting auto it to do the following script

loop 30000 times

{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}

{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{DOWN ARROW}{DOWN ARROW}{DOWN ARROW}{TAB}{ENTER}{DELAY 4000} = this 4 times then

{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}

{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{ENTER}{DELAY 4000} = this once

i had it made before but i deleted it from my account lol. if you need to know what this is for it is for multi clicking on my sons website for more clicks and advertising lol. im sorry to be a nuisence but all help will be greatly appreciated. oh the window is for internet explorer. thank you and great program. also if i was sent the notepad then i could look over it and work out my problems and also learn and make a exe file. thankyou.

ok i have this as my code but it is wrong

; AutoIt Version: 3.0
; Language:    English
; Platform:    Win9x/XP
; Author:        Jonathan Bennett (jon@hiddensoft.com)
;
; Script Function:
;   Does some shit.
;



run("C:\Program Files\Internet Explorer\iexplore.exe -k http://www.sivph.com/arena")

; Wait for the IE become active
WinWaitActive("PokémonPG Version 1.75 - internet explorer")


; Now that the IE window is active
Send(& #34;{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{


TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{DOWN}{DOWN}{DOWN}{TAB}{ENTER}")

Sleep(4000)

Send(& #34;{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{


TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{DOWN}{DOWN}{DOWN}{TAB}{ENTER}")

Sleep(4000)

Send(& #34;{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{


TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{DOWN}{DOWN}{DOWN}{TAB}{ENTER}")

Sleep(4000)

Send(& #34;{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{


TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{DOWN}{DOWN}{DOWN}{TAB}{ENTER}")

Sleep(4000)

Send(& #34;{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{


TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{TAB}{ENTER}")

sleep(4000)

; Now wait for iexplorer to close before continuing
WinWaitClose("Untitled - Notepad")


; Finished!

Share this post


Link to post
Share on other sites



If you are just wanting to loop that 30,000 times then here is how you do it...

For $i = 1 To 30000 Step 1
   ;your code here
Next

If you have any more questions let me know.

JS


AutoIt Links

File-String Hash Plugin Updated! 04-02-2008 Plugins have been discontinued. I just found out.

ComputerGetInfo UDF's Updated! 11-23-2006

External Links

Vortex Revolutions Engineer / Inventor (Web, Desktop, and Mobile Applications, Hardware Gizmos, Consulting, and more)

Share this post


Link to post
Share on other sites

For $x = 1 To 30000
; Now that the IE window is active
    For $y = 1 To 4
        Send("{Tab 26}{DOWN 3}{TAB}{ENTER}")
        Sleep(4000)
    Next
    
    Send("{TAB 27}{ENTER}")
    Sleep(4000)
Next


Visit the SciTE4AutoIt3 Download page for the latest versions  - Beta files                                How to post scriptsource        Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

wow thanks for the help all it works like a charm cheers for all this nice support and help.

Share this post


Link to post
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
Sign in to follow this  
Followers 0