Jump to content

Has anyone 5min for me ?


Recommended Posts

Hello!

I hope i find help in this forum.

i need a skript waht does follow thinks:

Run Skript:

-Press F6

-Press F2

-Press 1 (wait 10sec)

-Press 2 (wait 10sec)

-Press 3 (wait 10sec)

-Press 4 (wait 10sec)

-Press 5 (wait 10sec)

-Press F3

-Press F5

End Skript.

And this in a loop with 650sec delay. thats all i hope anyone has a little bit time for it :)

Link to comment
Share on other sites

  • Moderators

Kotai,

First, welcome to the AutoIt forums.

When you post here it always helps if you have had a go at solving your problems beforehand. Having some code to work on is a great help - and no-one here is too keen to help the "code it for me" brigade.

So perhaps if you were to look at While...WEnd, Send, TimerInit and TimerDiff in the Help file, you could start to code something for yourself - you know where we are when you run into problems. ;-)

M23

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png 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 columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

i´m sorry ,but i have a hard week. i work 12h 6day of the week . i dont have the time to learn it and all what i need is this skipt . I would have more time but in Sommer Time we have to much work. have a heart for me.

Link to comment
Share on other sites

Hello!

Run Skript:

-Press F6

-Press F2

-Press 1 (wait 10sec)

-Press 2 (wait 10sec)

-Press 3 (wait 10sec)

-Press 4 (wait 10sec)

-Press 5 (wait 10sec)

-Press F3

-Press F5

End Skript.

Send("{F6}")
Send("{F2}")
Send("1")
Sleep(10000)
Send("2")
Sleep(10000)
Send("3")
Sleep(10000)
Send("4")
Sleep(10000)
Send("5")
Sleep(10000)
Send("{F3}")
Send("{F5}")

With loop:

While 1
    Send("{F6}")
    Send("{F2}")
    Send("1")
    Sleep(10000)
    Send("2")
    Sleep(10000)
    Send("3")
    Sleep(10000)
    Send("4")
    Sleep(10000)
    Send("5")
    Sleep(10000)
    Send("{F3}")
    Send("{F5}")
    
    Sleep(650000); Sleep for 650 seconds
WEnd
Edited by JamesBrooks
Link to comment
Share on other sites

While 1
    Send("{F6}")
    Send("{F2}")
    Send("1")
    Sleep(10000)
    Send("2")
    Sleep(10000)
    Send("3")
    Sleep(10000)
    Send("4")
    Sleep(10000)
    Send("5")
    Sleep(10000)
    Send("{F3}")
    Send("{F5}")
    
    Sleep(650000); Sleep for 650 seconds
WEnd
thank you very much! but the last prob is , that only works in desktop and i need it for a game
Link to comment
Share on other sites

i´m sorry ,but i have a hard week. i work 12h 6day of the week . i dont have the time to learn it and all what i need is this skipt . I would have more time but in Sommer Time we have to much work. have a heart for me.

thank you very much! but the last prob is , that only works in desktop and i need it for a game

Oh, good grief!

:)

Valuater's AutoIt 1-2-3, Class... Is now in Session!For those who want somebody to write the script for them: RentACoder"Any technology distinguishable from magic is insufficiently advanced." -- Geek's corollary to Clarke's law
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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