We’d like to remind Forumites to please avoid political debate on the Forum.

This is to keep it a safe and useful space for MoneySaving discussions. Threads that are – or become – political in nature may be removed in line with the Forum’s rules. Thank you for your understanding.

📨 Have you signed up to the Forum's new Email Digest yet? Get a selection of trending threads sent straight to your inbox daily, weekly or monthly!
The Forum now has a brand new text editor, adding a bunch of handy features to use when creating posts. Read more in our how-to guide

Setting an application to autorun on startup?

Hey everyone...

Following on from your excellent advice about making my PC startup and shut down at times of my choosing using a timer switch, I now need to work on getting the PC to do the things I need it to automatically once it switches itself on.

I've tried using the Task Scheduler to run programmes at a given time but for some reason this doesn't want to work.

Also, one of the programmes I want to run on startup will automatically do what I want it to as soon as it runs, but the other one needs a couple of key presses to make it start doing exactly what I need it to.

So, can anyone advise:

-How to make programmes run automatically on startup (step by step please if this involves DOS prompts or Registry editing!)

-How to make my PC enter some commands into one of these programmes in order to get it to start working properly without me being there?! I guess I'd need to run some kind of Macro but I don't know anything about these...

Any helpful posts will get a thanks!!

Cheers

James

EDIT: Should add that I'm running Windows XP SP 2.
Total Debt: Owe about £19,000 on credit cards plus £24,000 which is my half of joint loans.
«13

Comments

  • Chippy_Minton
    Chippy_Minton Posts: 3,339 Forumite
    Put a shortcut to the program in the Startup folder. You can open the Startup folder by clicking Start - All Programs - right-click Startup and click Open All Users.

    For the 2nd problem, which program is it exactly? Does it accept command line arguments?
  • Cantdance_2
    Cantdance_2 Posts: 200 Forumite
    LOL... it's that easy is it? Don't I look like a novice now!!

    Thanks for that...

    As for the second thing - the programme is called Filezilla and it's an FTP client. What I need it to do on startup is start processing my FTP download queue which it doesn't do automatically, you have to go into one of the menus and select 'Process Queue'.

    There are also a couple of other settings around multiple connections that seem to need to be manually changed from one of the menus every time the programme starts up, ideally I'd want these to get changed as well.

    Any ideas?!

    Cheers!

    James
    Total Debt: Owe about £19,000 on credit cards plus £24,000 which is my half of joint loans.
  • Chippy_Minton
    Chippy_Minton Posts: 3,339 Forumite
    For Filezilla command line options see:

    http://sourceforge.net/docman/display_doc.php?docid=24746&group_id=21558 and http://filezilla.sourceforge.net/cmdline.htm

    No idea if any of the options will process your download queue though.
  • albertross_2
    albertross_2 Posts: 8,932 Forumite
    If the command line options don't work, you could use a vbs script..

    http://www.microsoft.com/technet/scriptcenter/guide/sas_wsh_hilv.mspx?mfr=true

    e.g.

    Save this as sendkeys.vbs

    Set objShell = WScript.CreateObject("WScript.Shell")
    objShell.Run "Notepad.exe"
    Do Until Success = True
    Success = objShell.AppActivate("Notepad")
    Wscript.Sleep 1000
    Loop
    objShell.SendKeys "This is a test."


    and run it.
    Ever get the feeling you are wasting your time? :rolleyes:
  • Cantdance_2
    Cantdance_2 Posts: 200 Forumite
    Thanks again guys!

    So if I could figure out keyboard shortcuts for all my menu options then I could write a VBS script to make Filezilla do what I want it to...

    How would I make the VBS Script run on startup - can I add it to the Startup menu like a programme?

    James
    Total Debt: Owe about £19,000 on credit cards plus £24,000 which is my half of joint loans.
  • albertross_2
    albertross_2 Posts: 8,932 Forumite
    yes just add it to startup.
    Ever get the feeling you are wasting your time? :rolleyes:
  • Chippy_Minton
    Chippy_Minton Posts: 3,339 Forumite
    Cantdance wrote:
    So if I could figure out keyboard shortcuts for all my menu options then I could write a VBS script to make Filezilla do what I want it to
    As with any Windows application you use the Alt key to access menus using the keyboard. E.g. to process the queue in FileZilla, press Alt followed by Q followed by P. The character underlined in the menu options shows which key to press to get to that option.
  • Cantdance_2
    Cantdance_2 Posts: 200 Forumite
    Great, thanks... just been having a quick look at the link you provided and it seems pretty self explanatory, except I'm not entirely clear where I should be typing in this VBS script... into a Windows tool of some kind?
    Total Debt: Owe about £19,000 on credit cards plus £24,000 which is my half of joint loans.
  • Chippy_Minton
    Chippy_Minton Posts: 3,339 Forumite
    Open Notepad and type/paste it in.
  • albertross_2
    albertross_2 Posts: 8,932 Forumite
    Type it into notepad, and save it as filezilla.vbs (make sure it doesn't append .txt to the end of the filename), and just click on the resulting file to run.
    Ever get the feeling you are wasting your time? :rolleyes:
This discussion has been closed.
Meet your Ambassadors

🚀 Getting Started

Hi new member!

Our Getting Started Guide will help you get the most out of the Forum

Categories

  • All Categories
  • 354.1K Banking & Borrowing
  • 254.3K Reduce Debt & Boost Income
  • 455.3K Spending & Discounts
  • 247.1K Work, Benefits & Business
  • 603.7K Mortgages, Homes & Bills
  • 178.3K Life & Family
  • 261.2K Travel & Transport
  • 1.5M Hobbies & Leisure
  • 16.1K Discuss & Feedback
  • 37.7K Read-Only Boards

Is this how you want to be seen?

We see you are using a default avatar. It takes only a few seconds to pick a picture.