On boot Script

Discussion in 'Mac Programming' started by xxarmoxx, Jun 8, 2007.

  1. xxarmoxx macrumors newbie

    Jun 8, 2007
    How can I do the following ...

    When my beautiful macbook pro boots up I want it to automatically open firefox and then open 3 different tabs which open 3 different URL's. Can anyone help me make this happen?
  2. CanadaRAM macrumors G5


    Oct 11, 2004
    On the Left Coast - Victoria BC Canada
    Firefox and one tab/URL is easy with no script - in System Preferences choose your User in Users, then under Login items drag Firefox. THen, make Firefox's default home page your desired URL.. I think for 2 or 3 you'll have to have a script.
  3. HiRez macrumors 603


    Jan 6, 2004
    Western US
    What you can do is drag addresses from the Firefox address bar into a Finder folder, which will create .webloc files for each of them. Then open System Preferences > Accounts > [your account] > Login Items and drag the .webloc files into the list. Technically these will open on login, not bootup, but if you only use the one account it should work fine. Also, you'll probably need to have Firefox set as your default web browser.
  4. Lixivial macrumors 6502a


    Jan 13, 2005
    Between cats, dogs and wanderlust.
    Actually, Firefox has built-in support for multiple tabs as homepage.

    The syntax is something like this:


    And every time Firefox is opened, these three tabs are opened. So technically all you need to do is, as you said, put Firefox in the login items and wah-la. :)
  5. SC68Cal macrumors 68000

    Feb 23, 2006
    You can set firefox to open multiple tabs for your homepage(s)

    Just open all the ones you want in tabs, open the Preference pane, and click the "Use current pages" button

Share This Page