Armando817

Task scheduler - "How do you want to open this .au3 file?"

3 posts in this topic

I am running Windows 10. I have an AutoIt script (all it does is display a msgbox) that I want to start at a certain time of the day using the windows task scheduler. When the task scheduler starts the script I get the "How do you want to open this .au3 file?" dialog (see attachment). I have the default program already set for .au3 scripts but I get the dialog no matter what. Any suggestions? Thanks.

autoit.jpg

Share this post


Link to post
Share on other sites



#2 ·  Posted (edited)

Compile the script as an exe?  Or use the full path to autoit3.exe i.e.: C:\Program Files (x86)\AutoIt3\autoit3.exe "C:\Filename.au3"

Edited by Subz

Share this post


Link to post
Share on other sites

Thank you, Subz. I compiled the script to an .exe and the task scheduler works fine.

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