Sign in to follow this  
Followers 0
phatzilla

A few Questions

6 posts in this topic

Hey everyone, thanks for taking the time to read this; I have a few questions:

#1 How do i make it so that for people to run my program (Just a script i made in AUTOIT 3) they dont need to have any files whatsoever? Except my .exe file that i give them? (I heard that having ANY #include in your script forces people to download autoit or something, is that true?)

#2 How do i make it so that my program runs on startup?

Thanks.

Share this post


Link to post
Share on other sites



Hey everyone, thanks for taking the time to read this; I have a few questions:

#1 How do i make it so that for people to run my program (Just a script i made in AUTOIT 3) they dont need to have any files whatsoever? Except my .exe file that i give them? (I heard that having ANY #include in your script forces people to download autoit or something, is that true?)

#2 How do i make it so that my program runs on startup?

Thanks.

The other person should only need the .exe file. A good way to do it, if you are using an .au3 file that is not part of the standard autoit install is to place the .au3 file inside the include folder found in the autoit install folder.

As for the run on start up, place a shortcut to the .exe in the startup folder, add the program to a startup registry key?? there are many ways

Share this post


Link to post
Share on other sites

#1 AutoIt is a standalone when compiled into an executable. Compiled a3x files have includes and FileInstalls included but need an external interpreter to make them execute. Au3 files that have includes added are dependant on the includes and an interpreter to execute.

#2 Add a shortcut to the startup folder. Use FileCreateShortcut() with the @StartupDir macro.

:)

Share this post


Link to post
Share on other sites

Thank you for the quick replies guys.

Share this post


Link to post
Share on other sites

Hm...What if i dont know where they placed the file, how would i know where to shortcut it from?

Share this post


Link to post
Share on other sites

Hm...What if i dont know where they placed the file, how would i know where to shortcut it from?

look up @scriptDir

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  
Followers 0