Jump to content

Recommended Posts

Posted

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)

  • Developers
Posted

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:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Guest BL@(K-R34P3R
Posted

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?

Posted

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.

Guest BL@(K-R34P3R
Posted

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.

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]
Posted

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.

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

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...