1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

iMacros for FireFox Coding Question - Run Macro Every 15 Minutes?

Discussion in 'Other Languages' started by crazyflx, Sep 9, 2010.

  1. crazyflx

    crazyflx Elite Member

    Joined:
    Nov 9, 2009
    Messages:
    1,674
    Likes Received:
    4,825
    Location:
    http://CRAZYFLX.COM
    Home Page:
    I have a macro that does this:

    Code:
    TAB T=1
    ONDOWNLOAD FOLDER=C:\Users\Rob\Documents\FiletoDownload FILE=+_{{!NOW:yyyy******d_hhnnss}} WAIT=YES
    URL GOTO=https://somewebsite.com/file.rar
    WAIT SECONDS=3
    As you can see, the macro visits a URL that prompts a file download and then saves that file to the directory I've chosen.

    I'd like for this macro to run every 15 minutes. Does anybody know how I can make it do that?
     
    Last edited: Sep 9, 2010
  2. proseospecialists

    proseospecialists Junior Member

    Joined:
    Feb 18, 2009
    Messages:
    116
    Likes Received:
    27
    same here I would like Imacros to run a certain time everyday ( yeah I know I have to have my CPU ON)
     
  3. quadratic

    quadratic Registered Member

    Joined:
    Oct 26, 2009
    Messages:
    69
    Likes Received:
    46
    Finally Crazyflx I have found a topic where I appear to know more about a subject than you do. I have read your Scrapebox postings with great interest and now is my time to help you.

    You need to control the Imacros macro with windows task scheduler and it will call a batch file referencing your Imacros macro.

    Batch file would look like this
    ---------
    echo Example iMacros Batch File
    REM Tip: You may have to adjust the path names to YOUR installation directory of Internet Macros

    "C:\Program Files\iMacros\imacros.exe" -macro your-imacros-immfile

    echo Batch file completed
    pause
    ----------

    If you need more detail just speak up or pm me.
     
    • Thanks Thanks x 1
  4. matt1972

    matt1972 Regular Member

    Joined:
    Nov 19, 2009
    Messages:
    499
    Likes Received:
    206
    Occupation:
    To make money
    Location:
    192.168.0.1
    Here is some information that may help you set that up. Hope this helps.

    Code:
    http://www.iopus.com/guides/winscheduler.htm
    Code:
    http://wiki.imacros.net/Web_Scripting#How_to_run_iMacros_unattended
     
    • Thanks Thanks x 1
  5. Phil25

    Phil25 Newbie

    Joined:
    Dec 23, 2009
    Messages:
    29
    Likes Received:
    4
    If you need the same script to run throughout the day in 15 min intervals you can use this before the loop

    Code:
    WAIT SECONDS=900
    If you want it to be run once a week, I would rather automate the launch some other way.
     
  6. zelma143

    zelma143 Power Member

    Joined:
    Jun 25, 2010
    Messages:
    571
    Likes Received:
    37
    Occupation:
    PHP programmer,Bot maker,iMacro script maker
    hey just change your waiting time and play it in loop.. it's damn easy..

    "WAIT SECONDS=3" with "WAIT SECONDS=900"

    he he he...

    Enjoy it..!!!