Jump to content
Sign in to follow this  
sagdude

continue script after multiple reboots

Recommended Posts

sagdude

Hi

I am trying to automate a benchmark which reboots multiple times before it finishes. Could anybody tell me if they have used

AutoIt before for automating similar things?

Thanks,

Raj

Share this post


Link to post
Share on other sites
FireFox

@sagdude

what do you mean ? Start the script on start up and then know how if its the first time the script start or the second... ?

Cheers, FireFox.


 

OS : Win XP SP2 (32 bits) / Win 7 SP1 (64 bits) / Win 8 (64 bits) | Autoit version: latest stable / beta.
Hardware : Intel(R) Core(TM) i5-2400 CPU @ 3.10Ghz / 8 GiB RAM DDR3.

My UDFs : Skype UDF | TrayIconEx UDF | GUI Panel UDF | Excel XML UDF | Is_Pressed_UDF

My Projects : YouTube Multi-downloader | FTP Easy-UP | Lock'n | WinKill | AVICapture | Skype TM | Tap Maker | ShellNew | Scriptner | Const Replacer | FT_Pocket | Chrome theme maker

My Examples : Capture toolIP Camera | Crosshair | Draw Captured Region | Picture Screensaver | Jscreenfix | Drivetemp | Picture viewer

My Snippets : Basic TCP | Systray_GetIconIndex | Intercept End task | Winpcap various | Advanced HotKeySet | Transparent Edit control

 

Share this post


Link to post
Share on other sites
sagdude

@sagdude

what do you mean ? Start the script on start up and then know how if its the first time the script start or the second... ?

Cheers, FireFox.

Hi!

Yes. The benchmark I am talking about is worldbench. Once we start it, it basically reboots multiple times running a new test after every reboot. I want the AutoIt script to launch the benchmark and keep track of it until its done and close it once its done.

Thanks,

Raj

Share this post


Link to post
Share on other sites
Authenticity

Reading and writing from/to the registry or a file?

Share this post


Link to post
Share on other sites
sagdude

Reading and writing from/to the registry or a file?

Thanks. I will try this approach.

Raj

Share this post


Link to post
Share on other sites
bo8ster

You can either put a key in the CURRENT_USER or the LOCAL_MACHINE in the Software\Microsoft\CurrentVersion\Run folder. Else the startup folder in the Program files is another easy way to load programs on boot up.


Post your code because code says more then your words can. SciTe Debug mode - it's magic: #AutoIt3Wrapper_run_debug_mode=Y. Use Opt("MustDeclareVars", 1)[topic="84960"]Brett F's Learning To Script with AutoIt V3[/topic][topic="21048"]Valuater's AutoIt 1-2-3, Class... is now in Session[/topic]Contribution: [topic="87994"]Get SVN Rev Number[/topic], [topic="93527"]Control Handle under mouse[/topic], [topic="91966"]A Presentation using AutoIt[/topic], [topic="112756"]Log ConsoleWrite output in Scite[/topic]

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  

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.