Jump to content

Recommended Posts

Posted

Hallo World!

I'm very novice to programming and AutiIt is my first language!

As a good scholar, I have studied "LEARNING_TO_SCRIPT_with_AutoIt_V3__Last_Updated_14_Apr_2009_" and bought and studied "AutoIt_v3_Your_Quick_Guide".

I have understood not much but...

I started to make a (working) script, using some advice from the forum too. It is not very elegant because it uses a big number of mouse movement and click (I would try to learn how to use the ID control of the window but I don't know where to start to learn something about this).

But now I'm working on my second script, that is the installation script of the other script, and I can't find something to add in a single command the instruction to RUN THE PROGRAM AT WINDOWS START UP. How can I do this (in a very simple way please!)?

:D

Many Thanks!

Posted

Add the script you want to start when windows starts to the start menu "startup" folder.

That is the easiest and fastest way to start when windows does.

010101000110100001101001011100110010000001101001011100110010000

001101101011110010010000001110011011010010110011100100001

My Android cat and mouse game
https://play.google.com/store/apps/details?id=com.KaosVisions.WhiskersNSqueek

We're gonna need another Timmy!

Posted (edited)

Lol, use the mouse to move it into the startup folder? That'd be a hassel. Look in the AutoIt help file, and look under File, Directory and Disk Managment, and look for stuff like FileCreateShortcut() to make a short cut in the @StartupCommonDir or @StartupDir.

FileCreateShortcut("Program.exe", @StartupDir & "\Program.ink")

I believe that's the right usage of that, never used it before. Try it

Edit: Syntax fix

Edited by mistersquirrle

We ought not to misbehave, but we should look as though we could.

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