Sign in to follow this  
Followers 0
SweatyOgre

Run script on startup?

10 posts in this topic

I'd like to write a simple script to run a few programs as soon as I start up my computer. How can I add a program/script that I wrote in autoit to the startup list?

Share this post


Link to post
Share on other sites



I'd like to write a simple script to run a few programs as soon as I start up my computer. How can I add a program/script that I wrote in autoit to the startup list?

<{POST_SNAPBACK}>

by putting a shortcut to it in startup?

"I'm not even supposed to be here today!" -Dante (Hicks)

Share this post


Link to post
Share on other sites

I'd like to write a simple script to run a few programs as soon as I start up my computer. How can I add a program/script that I wrote in autoit to the startup list?

<{POST_SNAPBACK}>

Registry: add an entry to RUN..

Startup: add shortcut to stratup group.

lots of posts made on both items.. just search... :ph34r:


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

You wanna make a scrip that starts programs when windows starts... I made a script that disables programs when windows starts =). Hey, does AutoIt work with linux JdeB?

Share this post


Link to post
Share on other sites

AutoIt v3 is a BASIC-like scripting language designed for automating the Windows GUI.

Read that sentence and tell me what you think the answer to your question is.

Share this post


Link to post
Share on other sites

Too bad =(. I know that AutoIt was meant for Windows, but I just thought that it might be possible for it to work on another OS. Damnet. I'm getting Linux on one of my backup computers, for C++ java and Python scripting. I was hoping I could use it for AutoIt also.

Share this post


Link to post
Share on other sites

Are you intending to do Linux or cross-platform programming? Otherwise, you don't need Linux for that.

Share this post


Link to post
Share on other sites

#8 ·  Posted (edited)

Too bad =(. I know that AutoIt was meant for Windows, but I just thought that it might be possible for it to work on another OS. Damnet. I'm getting Linux on one of my backup computers, for C++ java and Python scripting. I was hoping I could use it for AutoIt also.

<{POST_SNAPBACK}>

why would u need linux for that?

Edit

Are you intending to do Linux or cross-platform programming? Otherwise, you don't need Linux for that.

why would u need linux for that too? Edited by the_lord_mephy

My site for HTML Help :)[quote name='Valik' date='Oct 15 2004, 12:29 PM']Maybe nobody is an "elite uber-coder" like me because thinking is a capital offense in today's online-world?[right][snapback]36427[/snapback][/right][/quote]

Share this post


Link to post
Share on other sites

If doing cross-platform programming, it would be good to try to have a copy of all platforms you intend to support to test on to ensure that it truly is cross-platform.

Share this post


Link to post
Share on other sites

#10 ·  Posted (edited)

hey SweatyOgre, i've done this b4, heres a really easy example.

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run"...,

^^^^This part is the path to the registry run folder.

"Program X",...

^^^ this is the name of your registry entry

"REG_SZ",...

^^^This is your registry type(leave as is)

"C:\Program X\ProgramX.exe")

^^^and finally this is the path to the file you want to run at start-up

in the end it should look like it does below:

RegWrite("HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Run", "Program X", "REG_SZ", "C:\Program X\ProgramX.exe")

Also look in the help file under writing registry keys

hope that helps you out.

Edited by CyberFunk Productions

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