Jump to content
Sign in to follow this  

Want to display a progress bar until message box appears

Recommended Posts


I’m using an add-on for ACT! that merges data from contact fields into an Excel File. The operation takes several seconds and when it’s complete a message box is displayed (title:” Excel Quote-Invoice Maker”) indicating that the operation is complete. I’ve written a small script that automates the process and it works, but I’d like to display a progress bar until the message box appears.

Sounds easy enough? Here’s my script:

;Make sure ACT! is on top
WinActivate("Sage ACT! Premium - LRE")

; Prompt the user to run the script - use a Yes/No prompt
$answer = MsgBox(4, "LRE Merge Pier Installation Log ", "Do you want to create a Pier Installation Log and attach it to this Contact Record?")

; Check the user's answer to the prompt If "No" was clicked (7) then exit the script
If $answer = 7 Then
    MsgBox(0, "Cancel LRE Merge", "No changes have been made to the contact record")

;Launch Exponenciel "Excel Quote-Invoice Maker" Addon

;I want to add a progress bar until this window appears:
WinActivate("Excel Quote-Invoice Maker")

Share this post

Link to post
Share on other sites

See ProgressOn, ProgressSet, ProgressOff Functions.

and increment progress to each step of your script ! Posted Image

AutoIt X86 - SciTE 3.6.0WIN 8.1 X64 - Other Example Scripts

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.