Set up Automator/ARD to open an application on 30 computers in sequence

I use ARD to open a program for a list of 30 computers--to start up our school's typing program for little kids. The program initially accesses a database of student records on our server. Unfortunately, the "database" can't be opened by multiple users at the same time, so the application successfully opens on the first computer, but most of the others get a "Database in Use" error.
I'd like to set up an Automator Workflow that would loop through, picking each computer in the list, opening the application, then pausing a few seconds. I haven't found an example to follow.
Thanks in advance for any help.

I'm not sure about using Automator, but you could write a shell script that tells each computer to open the application in a specific order. For example...
#!/bin/bash
name=`scutil --get ComputerName`
if [ $name = computer1 ]
then
open "/Path/to/application"
else
sleep 5
fi
if [ $name = computer2 ]
then
open "/Path/to/application"
else
sleep 5
fi
if [ $name = computer3 ]
then
open "/Path/to/application"
else
sleep 5
fi
This script assumes that you have given each computer a particular name (which you would insert instead of computer1, computer2, computer3, etc). What it does is it opens the application on a specific computer (i.e. computer1) and tells all other computers to "sleep" or wait for 5 seconds. If it takes longer than 5 seconds to open the typing application, you might want to change this to a higher number.
You can copy and paste this into the "Send UNIX Command" function in ARD in order to run it.
Message was edited by: Jason Agress

Similar Messages

  • Opening application at set time – Automator

    Hi Guys,
    Our IT guys have set up 'SkyDrive' on my Mac and I have to open the application in the evening when everyone leaves the office as it takes too much of the bandwith. At the moment, I login from home, using 'Logmein' to activate SkyDrive on my office machine - is there an Automator scrpit or anything that will launch the application for me at a set time, as I leave my machine on all night?
    Thank you
    Bini

    iCal. Create a repeating event with an Open File alert. Set the file to be your application.

  • Evertime i open a secondary window in an application it opens on my laptop and I working on the application on my thunderbolt. what setting do i use to open the secondary window on the thunderbolt?

    evertime i open a secondary window in an application it opens on my laptop and I working on the application on my thunderbolt. what setting do i use to open the secondary window on the thunderbolt?

    ''Problem:'' For whatever reason, NoScript is stopping Runescape Community Toolbar from working properly which freezes your first Firefox window.
    ''Fix:'' Uninstall the toolbar. Disable NoScript. Install the toolbar. Add your RS account to it and make sure it works, then Enable NoScript again.
    EDIT: Posted a fix earlier that was wrong. Corrected to the right one, sorry ^_^ Answer was on Runescape Forums.

  • How do I set-up Automator to open Mail when I start up Mac OS X?

    How do I set-up Automator to open Mail when I start up Mac OS X? Provided that this is how I would do it.

    You don't need Automator.
    Just add Mail to the login items in SystemPreferences>Accounts
    or
    If Mail is on the Dock, Ctrl-click the icon and select 'Open at Login'

  • Open with Application... setting does not seem to be working

    Mac OS X 10.6.6, FF 4.0 (RC1), Microsoft Excel 2011 14.0.2. I needed to download several files with .xls suffix.
    Firefox asked what I wanted to do with the file, I indicated Open with Excel, and retain this setting. I then tried the next download, and the "Open With..." button showed no settings. I check the Preferences>Applications area, and Excel is there as the application of choice, but it does not appear as the "Open With" application in the download dialog box. If I just go ahead and download, the file does not open. If I *do* re-select Excel, then the file downloads and opens properly, but the setting is not retained for the next download, even though the "always do this" box is checked. It's a minor issue.

    Has nobody experienced this issue before?

  • Can not open hfm application in Workspace

    When try to open HFM application from Workspace, application failed to open, errors pop up as below fyr, pls help:
    --------------01----------------------------------------------
    An error occurred processing the result from the server. Description: Invalid or could not find module configuration 'hfmadf.application'.
    --------------02----------------------------------------------
    Required application module hfmadf.application is not configured.
    --------------03----------------------------------------------
    URI: https://epm-dev.connect.te.com/hfmadf/GlobalWorkspaceNav/bpm/conf/hfmConfig.jsp Status: 503 - Service Temporarily Unavailable Content: text/html
    Failure of server APACHE bridge:
    No backend server available for connection: timed out after 10 seconds or idempotent set to OFF or method not idempotent.

    solved after HFM service restarted.

  • Hi when i open my application folder, all the application is shown in trash folder. when i click the application it says this app is in trash first move it out. and when i try to open through finder go it says this file doesn't exist. can some1 plz help?

    hi when i open my application folder, all the application is shown in trash folder. when i click the application it says this app is in trash first move it out. and when i try to open through finder> go it says this file doesn't exist. can some1 plz help? how can i put all my application through application folder?

    Something really odd is going on. In your first screen shot, I noticed that the Applications folder does not have the proper icon displayed in the side bar. Also, in the title bar it lists it as Applications 08-59-29-909.
    Not sure where it's picking up that odd name, unless it's because it's still truly within the Trash folder.
    Try this. In the Finder > Preferences > General > turn on "Always open folders in a new window". (I have a feeling you have the default setting with this off).
    Now, in Finder > Go > move down and open the Applications Folder from there. Now open the folder where you see all your applications that you show in your screen shot, select all, and move them to this true appliactions folder.
    This is what you should properly seeing (but with different apps listed):
    See how the Applications folder has the icon of the letter A shaped with a pencil, ruler & pen.

  • WUO-709: Unable to get Property: Open == Forms application using Webutil

    Hi everyone,
    I have configured Webutil and tested a demo application for loading excel data into a forms application. The application works just fine. Here is the code:
    DECLARE
    application Client_OLE2.Obj_Type;
    workbooks Client_OLE2.Obj_Type;
    workbook Client_OLE2.Obj_Type;
    worksheets Client_OLE2.Obj_Type;
    worksheet Client_OLE2.Obj_Type;
    filename                varchar2(2000);
    cell Client_OLE2.OBJ_TYPE;
    args Client_OLE2.OBJ_TYPE;
    cell_value varchar2(100);
    eod boolean:=false;
    j integer:=1;
    BEGIN
         -- The following set up communication with the excel spreadsheet
    application := Client_OLE2.create_obj('Excel.Application');
    Client_OLE2.set_property(application,'Visible','false');
    workbooks := Client_OLE2.Get_Obj_Property(application, 'Workbooks');
    args := Client_OLE2.CREATE_ARGLIST;
    Client_OLE2.add_arg(args, 'c:\test\test.xls');
    workbook := Client_OLE2.GET_OBJ_PROPERTY(workbooks,'Open',args);
    Client_OLE2.destroy_arglist(args);
    worksheets := Client_OLE2.GET_OBJ_PROPERTY(workbook, 'Worksheets');
    worksheet := Client_OLE2.GET_OBJ_PROPERTY(application,'activesheet');
    --Go to the first record
    go_block('planets');
    first_record;
    loop
              If :system.record_status <> 'NEW' then
    create_record;
              end if;
    exit when eod;
         for k in 1..3 loop --3 fields per record
         args:= Client_OLE2.create_arglist;
    Client_OLE2.add_arg(args, j);
    Client_OLE2.add_arg(args, k);
    cell:= Client_OLE2.get_obj_property(worksheet, 'Cells', args);
    Client_OLE2.destroy_arglist(args);
    cell_value :=Client_OLE2.get_char_property(cell, 'Value');
    if upper(cell_value) = 'EOD' then
         eod:=true;
         Message('End of Data');
         exit;
    end if;
    --Could be done this way also ->
    /*if k =1 then
         :dept.deptno:=cell_value;
    end if;
    if k =2 then
         :dept.dname:=cell_value;
    end if;
    if k =3 then
         :dept.loc:=cell_value;
    end if;
    --Less code this way ->
    copy(cell_value,name_in('system.cursor_item'));
    next_item;
         end loop; --for
         j:=j+1;
    end loop;--main loop
    -- Release the Client_OLE2 object handles
    Client_OLE2.release_obj(cell);
    Client_OLE2.release_obj(worksheet);
    Client_OLE2.release_obj(worksheets);
    Client_OLE2.release_obj(workbook);
    Client_OLE2.release_obj(workbooks);
    Client_OLE2.invoke(application,'Quit');
    Client_OLE2.release_obj(application);
    END;
    -- cell_value :=Client_OLE2.get_num_property(cell, 'Value');
    The issue comes when I try to supply filename and path (here, c:\test\test.xls) through a file open dialog. I tried each of these:
    1.
    filename := client_get_file_name
    (directory_name => 'C:\'
    ,file_name => 'test'|| '.xls'
    ,file_filter => 'Excel (*.xls)|*.xls|'
    ,message => 'Select client side filename where App Server file will be saved'
    ,dialog_type => OPEN_FILE
    ,select_file => TRUE
    2.
    filename := Client_Get_File_Name(directory_name => 'C:\'
    ,file_name => null
    ,file_filter => null
    ,message => null
    ,dialog_type => null
    ,select_file => null
    3.
    filename := client_get_file_name ('','','','Select a file to Upload ',null,TRUE);
    On using the above, I DO get a file open box. However, after browsing and selecting a file, I am getting the error message:
    WUO-709 [OleFunctions.get_obj_property_args()] Unable to get Property: Open; Exception com.jacob.com.ComFailException: Can't map name to dispid: Open
    I have checked the documentation on 'WUO-709' but cannot seem to figure out why it's not working.
    Sorry for the lengthy description. Would greatly appreciate help on this.
    - Amit

    I forgot to mention that in the modified code, I am supplying 'filename' as:
    filename := client_get_file_name ('','','','Select a file to Upload ',null,TRUE);
    args := Client_OLE2.CREATE_ARGLIST;
    Client_OLE2.add_arg(args, filename);
    Thanks,
    Amit

  • When opening an application

    Morning, I have just purchase an Imac 20 and have just started to have a problem when I open an application like mail or safari and when typing addresses in the bar or typing a message like I am now and the cursor moves from the area as though another process is starting or I have selected another area of the screen to do something else and I have to reposition my cursor in the address bar or message section to start typing again, can anyone through any light on this for me?

    Hello and welcome to Apple Discussions...
    Congrats on your new iMac
    Open System Preferences (Applications folder) and select "Mouse". Your tracking, double cick, and scrolling options are available there.
    In the same window click Show All, then select "Keyboard" and select the Keyboard tab.
    Set the key repeat and delay until repeat sliders to your liking.
    Click, "Show All" again.. then select the "Universal Access". Make sure Voice Over is not selected.
    Select the Keyboard tab and make sure Sticky Keys is "Off" and also for Slow Keys "Off"
    Where you see the Acceptance Delay, set that in the middle of the slider.
    Make sure the Mouse cable isn't interferring. Keep it away from the mouse pad.
    Carolyn

  • You can't open the application "Adobe InDesign CC 2014" because it is not responding.

    For some reason InDesign has decided to stop responding. Acts like it wants to launch but then does nothing. When I try to launch it from the Finder rather than the Dock, I receive this message:
    You can’t open the application “Adobe InDesign CC 2014” because it is not responding.
    Please advise.

    Wild guess here, but the installers are known to fail to set the correct permissions on the preference folders. See Cant launch new inDesign CC | Adobe Community  and substitute Version 10 where you see Version 9.

  • HT1222 My mouse pointer in finder is not working by double clicking on the application.I have to double click and select open for opening the application.Can you suggest me some settings to fix this problem?

    My mouse pointer in finder is not working by double clicking on the application.I have to double click and select open for opening the application.Can you suggest me some settings to fix this problem?

    Hi,
    Try this ... reboot your Mac and see if double clicking works again.
    Also, you can just select the Application you like to open and hold down the Command+O to open.
    Also, did you check your setting for the mouse in system preferences.
    Dimaxum

  • I attempted to open iPhoto and got this message: you can't open the application because it may be damaged or incomplete. Now the iPhoto icon has a little line through it. Nice.

    I attempted to open iPhoto and got this message: you can't open the application because it may be damaged or incomplete. Now the iPhoto icon has a little line through it.
    Nice. Shall I say goodbye to my treasured iPhoto library? What happened?
    I did just upgrade my iPhone to OS 5. Could that be related somehow?
    Help!

    1. Back up your iPhoto Library - you should always have a back up anyway.
    Most Simple Back Up
    Drag the iPhoto Library from your Pictures Folder to another Disk. This will make a copy on that disk.
    Slightly more complex:
    Use an app that will do incremental back ups. This is a very good way to work. The first time you run the back up the app will make a complete copy of the Library. Thereafter it will update the back up with the changes you have made. That makes subsequent back ups much faster. Many of these apps also have scheduling capabilities: So set it up and it will do the back up automatically. Examples of such apps: Chronosync or DejaVu . But are many others. Search on MacUpdate
    2. Reinstall
    To re-install iPhoto
    1. Put the iPhoto.app in the trash (Drag it from your Applications Folder to the trash)
    2a: On 10.5:  Go to HD/Library/Receipts and remove any pkg file there with iPhoto in the name.
    2b: On 10.6: Those receipts may be found as follows:  In the Finder use the Go menu and select Go To Folder. In the resulting window type
    /var/db/receipts/
    2c: on 10.7 they're at
    /private/var/db/receipts
    A Finder Window will open at that location and you can remove the iPhoto pkg files.
    3. Re-install.
    If you purchased an iLife Disk, then iPhoto is on it.
    If iPhoto was installed on your Mac when you go it then it’s on the System Restore disks that came with your Mac. Insert the first one and opt to ‘Install Bundled Applications Only.
    If you purchased it on the App Store you can find it in your Purchases List.

  • Can I open the application without automatically loading a blank page?

    More often than not, I do not want a mere blank page. I want to access previously drafted documents. I find I am always having to close out the voluntary "opening page" of the default blank document. Thanks in advance......

    A Smart Folder is a Finder Window that is defined according to your wishes as to what is displayed in it, such as recent Pages files.
    Here's an example:
    I made a notation as to where the Sidebar is. The link in the previous post gives you the step by step procedure for making a Smart Folder.
    Apple tends to reuse features and expects that if it gives you a capability in the OS it doesn't necessarily have to repeat it in each application, although as noted in the second post above, the Template Chooser always includes an option to open recent files rather than a blank new template.
    I wonder if you have set a Preference to always open a blank template rather than to use the Template Chooser.
    Take a look in Pages Preferences, General, and see what you have selected.
    Jerry

  • Are you sure you want to open the application

    I get asked "+Are you sure you want to open the application+" when I open htm files e-mailed to me.
    Does anyone know to stop this?
    It never used to happen with older versions of Safari and Mail.

    baltwo,
    thanks again for your response.
    I have changed that setting a few times with various other changes in different combinations. I rebooted but have not tried repairing permissions yet, will do so in next few days and will let you know result.
    Thanks again for your assistance.

  • Trouble opening downloaded applications

    Well the problem that I am having is that whenever I download an application and try to get it to open it doesn't work. I know that it has to do with the fact that the recommended application that it is supposed to open with has been changed to iTunes. Does anyone know what the recommended application to open downloaded file is? I can just change it back if I know which one it is.

    I recently installed a new hard drive. I've been having the same problem, when i try and download an application it says that no default application has been set. Then when i go to applications and utilities I cannot find anything called "DiskMountImage".....do i need to download this from somewhere..? Before i replaced the hard drive it would work perfectly every time....
    * When I click command + i on the .exe file I see "open with" and 'none' is selected...if i go to applications and then utilities folder the only things that i am able to click on are bluetooth, disk utility, java, printer setup, and system profiler....when i search for disk image mounter in the search bubble nothing comes up....what do i need to do..?
    **I know .exe files are for windows, but my mac had no problem finding something to open it with before i replaced the hard drive....what was it?
    Message was edited by: t-bag
    Message was edited by: t-bag

Maybe you are looking for