On boot Script

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

  1. xxarmoxx macrumors newbie

    Joined:
    Jun 8, 2007
    #1
    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

    CanadaRAM

    Joined:
    Oct 11, 2004
    Location:
    On the Left Coast - Victoria BC Canada
    #2
    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

    HiRez

    Joined:
    Jan 6, 2004
    Location:
    Western US
    #3
    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

    Lixivial

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

    The syntax is something like this:

    http://www.google.com|http://www.yahoo.com|http://www.ebay.com

    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

    Joined:
    Feb 23, 2006
    #5
    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