sirbeast45

Wait for timer to end

10 posts in this topic

I want to make a program that waits for  a timer to finish then once it finishes it will click a button but I'm not exactly sure how to code it I'm fairly new

Share this post


Link to post
Share on other sites



sirbeast45,

TimerInit/Diff should let you get the timer part working - although if you need a specific time then the @HOUR/@MIN/@SEC macros may be more suitable.

As to clicking a button - what button where?

M23


Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind._______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

 

Share this post


Link to post
Share on other sites

But the timer is on a site I don't set it

 

Share this post


Link to post
Share on other sites

Which site ?

Share this post


Link to post
Share on other sites

Something like nike.com or footlocker.com

Share this post


Link to post
Share on other sites

Something like nike.com or footlocker.com

If you really want support you better start stating the exact challenge or else it is will be a waste of time.

So start giving exact detail on what you are trying to automate and what you have tried already.

Jos


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

Share this post


Link to post
Share on other sites

Ok so what i want to do is have the program open the Nike link then wait for the countdown to finish then press size then click the size I tell it to the. Click add to cart i have it so it adds to cart but I can't find out exactly how to wait for the timer to end and how to select the size because it can't recognize it using _iegetobjbyname or _iegetobjbyid because it doesn't have those

Share this post


Link to post
Share on other sites

Getting closer but still not there yet . There is no link to work with and no code you have tried, so how would you expect us to be able to assist?

Jos


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

Share this post


Link to post
Share on other sites

Okay sorry I haven't responded in a while but now I'm thinking I can just have it wait till the size option appears then start the process but the only problem is that I can't get it to select the size and recognize it the site is Nike.com

 

 

 

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