Jump to content

AU3Record mixed with Autoit


Recommended Posts

Ok I am very new to this and know very little about scripts. I know that Au3Record just records screen locations.

I have set up Au3record to change a bunch of numbers on my web site.

I woulds like to have it setup to do this at a couple set times.

I would also like to access a folder in my documents.

I would like to have a Au3Record, start up at 10:00 am open My Documents, select/open a folder named Xyz, and run one of the 12 Au3Record files there.

My concern is in the Xyz folder the Au3 files are not always in the excact same place so the Au3 might auto click on the wrong file, is there a way to add (I don't know the proper name for this process) a script that selects the name of the file and not the location on the screen of the file.

Thanks for your time

C

Link to comment
Share on other sites

All you want to do can be done with AutoIt.

Run()

@Min

@Hour

to name a few things to start looking at in the help file :(

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Link to comment
Share on other sites

Thanks but not being a script guy a few more details would help alot, what goes in the Run (?), is the @hour the time of the day or a count down timer, can I set it up to run on certin days?

like how would I bet the Start menu to open every Tue ad Thu at 7:30 pm?

Link to comment
Share on other sites

Lookup Run in the help file. the syntax to open a file is

Run("Program File")

to just run a program

Run("Program")

@HOUR is the computers current hour in 24 hour time

@MIN is the current minutes

to get the day of the week use

@WDAY

this will return a number 1-7

so Tues and Thurs would be 3 and 5

if you did something like

If @WDAY=3 Or @WDAY=5 Then

;do stuff

EndIf

then it would only do stuff on Tues or Thurs.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

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