Results 1 to 3 of 3
  1. #1

    Member Since
    Oct 19, 2006
    Script to Open all Programs
    At work, we have a number of Macs for student use, requiring us to make sure everything opens and runs properly every time we do an update, prior to distributing the new images to all the other macs around.

    What my boss has asked me to do is make something, he doesn't care how, to open every program in the Applications folder one by one. So, basically, you might have iDVD open, the script, automator program, whatever, would then wait until it is closed, then go onto iMovie, wait, then go to iPhoto when iMovie is closed, etc. It would keep on doing this until every application has been opened.

    Thus far, I have been able to make an Automator program that looks in the folder, gets all the programs contained therein, and open them. Unfortunately, it opens everything at once, which can quickly crash the machine.

    Does anybody here know if this is doable? The only limitation is that it has to run without a terminal, which would probably rule out a bash script (Although I haven't tried this, so I cannot entirely rule it out). I'm not looking for an exact script to do this, but a starting point to figure this out. I've had suggested AppleScript, but I don't know this language at all, so I don't know what is possible with it, and what's not.
    PC: Intel Core 2 Duo 2.66 GHz, 2 GM RAM, Total 750 GB HDD, Windows Vista Business (For gaming), Ubuntu 8.04 Hardy Heron (64-bit), Slackware 12 (For GTK# coding)
    Mac: 1.66GHz, 1GB RAM, 60GB HDD, Mini

  2. #2

    Member Since
    Mar 11, 2004
    I'm no expert AppleScripter (as the following proves), but it would be easier to write if each Applications folder is absolutely identical to every other. You might then write something with Script Editor like this that would cover every app in each machine:

    Tell application "Asteroids"
    end tell
    tell application "Bozo Breath"
    end tell

    etc. etc. through the entire list in the apps folder, then the Utilities folder apps, I suppose.

    I'm sure there's an easier, faster way of writing it, involving repeats, aliases and stuff. But this one, unwieldy as it might get, should work I think.

    If you try it, save the AppleScript as an application. If the script stalls, insert delays between each application and/or between each activation and quit:

    tell application "Asteroids"
    delay 1
    end tell
    delay 2
    tell application "Bozo Breath"

    etc. etc. You can lengthen the delays by using higher numbers. If you store the script in the Apps folder, don't include it in the list.

  3. #3

    Willgecko's Avatar
    Member Since
    Nov 11, 2007
    MacBook Intel Core 2 2.16 GHz 2 GB iPod video(30GB) and a Shuffle(new)
    yeah that should work

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. App or script to open & predefine window sizes and locations?
    By RiDE in forum macOS - Apps and Games
    Replies: 0
    Last Post: 01-18-2011, 08:22 PM
  2. Can't open any programs
    By jmeeter in forum macOS - Operating System
    Replies: 3
    Last Post: 09-11-2010, 05:34 PM
  3. Geektool script forces mail to stay open
    By jmullenberg in forum macOS - Apps and Games
    Replies: 1
    Last Post: 09-27-2009, 10:01 AM
  4. Programs wont open?
    By Draft in forum Switcher Hangout
    Replies: 7
    Last Post: 09-18-2008, 02:22 AM
  5. Safari Wont Open Java Script Items
    By slates89 in forum macOS - Apps and Games
    Replies: 5
    Last Post: 04-10-2005, 09:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts