Jump to content

Recommended Posts

Posted

is it possiable to make a batch file execute a autoit script. If so how would I do it.

oh and on last thing can you have a batch file execute a script on boot up. I know what your thinking I better have a good reason for this. well I have wireless and I want it so the batch file will turn on a script and the script turns on my wireless. also mean't for my learning knowledge :)

Thanks

Thanks in advance
Posted

I have heard that batch files aren't good anymore, that windows xp doesn't use it to run the system no more, only windows 95 98, well batch files can still run simple xp functions but not the kind of things I want to do :):mellow:

Thanks in advance
Posted

is it possiable to make a batch file execute a autoit script. If so how would I do it.

Yes. Use the line "C:\Program Files\AutoIt3\AutoIt3.exe (your script).au3" or "C:\Program Files\AutoIt3\Beta\AutoIt3.exe (your script).au3" for the beta

oh and on last thing can you have a batch file execute a script on boot up.

Put it in Run or RunOnce in the registry, or put it in one of the StartUp folders, or put it in an OnLogon event in Task Scheduler
Posted

Forget about the batch file.

Code what you need in Autoit and compile it to an EXE file. Take the EXE file and copy it to the "c:\Documents and Settings\All Users\Start Menu\Programs\Startup" Folder

This will cause the autoit script to run everytime you startup.

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
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...