OS X Login Script Help Needed

I think I'm posting this in the correct location.
Here's what I have. I'm trying to get past the issue with Adobe Reader not working under network accounts. The problem is that when a network user logs in and tries to launch Reader it crashes almost immediately. I've found that if I move the 9.0_ppc directory to the /Users/Shared directory of the local Mac and then create a symbolic link to it in the ~/Library/Application Support/Adobe/Acrobat directory that it works just fine under the network accounts. Problem is there are too many accounts to do this to feasibly.
So what I'm trying to figure out how to do is create a login script that will apply to all users. This script should automatically delete the /Library/Application Support/Adobe/Acrobat/9.0_ppc directory and replace it with a symbolic link to the /Users/Shared/9.0_ppc directory.
Seems like this should be a relatively easy task but has proven to be quite challenging.
My server is running OS X Server 10.5.8 and my workstations are running 10.4.11

The magic word you need:
loginhook
This is a place where you can attach a script as the user logs in. You are still the root user for the duration of the script, but immediately after the script ends you become the logging-in user.
HT2420- Mac OS X: Creating a login hook
One "famous" loginhook for moving user caches off the Server and onto the workstation's Hard drive is described in this mailing list item. If you lift it, note that there is a space missing in one line of code, but i think a later reader comments on that.
Re: Network home folders slow-down (redirecting cache?)

Similar Messages

  • Windows 8.1 crashing before login. Help needed.

    I just installed Boot Camp from a Windows 8.1 .iso on a USB drive. I ran all Windows updates, installed AVG free and Google Chrome. Nothing else. Everything was running smoothly during all the restarts and updates. Now, when I reboot from OS X and hold option, I select Windows. The Windows spinning dots start happening, and then it crashes, restarting the machine. Sometimes, it will get all the way to the login screen. If, however, I'm in OS X and shut down the computer, wait a few seconds, hold option, and select Windows, Windows boots up fine. It's a workaround, but before I install everything else (Steam library, Minecraft files, etc.) and use Winclone to back it up, I want rather have it working as it should. 
    Things I've tried:
    1) Starting from scratch: removing the Boot Camp partition and doing a fresh install of everything.
    2) Running CHKDSK from within Windows; everything seems okay.
    3) Reinstalling Boot Camp Utility from within Windows. No change. 
    4) Frowning, grunting, and swearing. 
    It's a mid-2014 MBPr, 2.8 Ghz Intel Core i7 with 16 GB of Ram, a 1 TB hd, and the NVIDIA GeForce GT 750M (2 GB of video RAM), if that helps. 
    I've read more forums and articles than I can count, and the only thing I found was the suggestion to shut it down and reboot that way. Any ideas from folks who know more than I do? Thanks in advance!

    We do need the actual DMP file as it contains the only record of the sequence of events leading up to the crash, what drivers were loaded, and what was responsible.  
    We prefer at least 2 DMP files to spot trends and confirm the cause.
    Please follow our instructions for finding and uploading the files we need to help you fix your computer. They can be found here
    If you have any questions about the procedure please ask
    Wanikiya and Dyami--Team Zigzag

  • Report Script Help Needed - Data Extract

    Hi,
    I have a cube with 11 dims: Account, Period, Resource, Facility, SSSS, CCCC, Activity, Years, Version, Scenario, Charges
    I need a report script that will extract data for a certain year and scenario only. I have not written a report script in a long time and have the following thus far. However it's not extracting data that I know exists. Can anyone help? Thanks is advance. This runs but I just get a blank screen or file....
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    // This report script extracts data from cube
    "FY11"
    {DECIMAL 4}
    {NAMEWIDTH 25}
    {SUPCOMMAS}
    {SUPBRACKETS}
    {SUPPAGEHEADING}
    {NOINDENTGEN}
    {SUPMISSINGROWS}
    {SUPZEROROWS}
    {TABDELIMIT}
    {SUPFEED}
    {ROWREPEAT}
    "JAN"
    "FEB"
    "MAR"
    //"APR"
    //"MAY"
    //"JUN"
    //"JUL"
    //"AUG"
    //"SEP"
    //"OCT"
    //"NOV"
    //"DEC"
    "BUDGET"
    // This is the members of the CCCC dimension to extract
    // This is the members or the ACCOUNT dimension to extract
    !

    Hello -
    You can try/modify the code below and see if this works -
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    { SUPMISSINGROWS }
    { SUPZEROROWS }
    { SUPFEED, SUPBRACKETS, SUPCOMMAS }
    { NOINDENTGEN }
    { DECIMAL 4}
    { NAMEWIDTH 30 }
    { ROWREPEAT }
    { TABDELIMIT }
    {MISSINGTEXT "-" }
    <PAGE ("Scenario", "Resource", "Facility" ,"SSSS", "Activity", "Version", "Charges")
    "Budget"
    "Resource"
    "Facility"
    "SSSS"
    "Activity"
    "Version"
    "Charges"
    <COLUMN ("Year","Period")
    "FY11"
    "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"
    <ROW ("Account", "CCCC")
    <LINK (<DESCENDANTS ("ACCOUNT") AND <LEV("ACCOUNT",0))
    <LINK (<DESCENDANTS ("RT9_CCCC") AND <LEV("CCCC",0))
    Here you may want to change teh combination in the Page dimensions for eg -
    I know for Scenario you want Budget
    But for Version should it be "Version" or may be "Working" Or "Final" or any other version dimension member ...?
    Same way modify the dimension memebres for other dimensions.
    Regards
    Edited by: Rosi on Aug 24, 2009 10:01 AM
    Edited by: Rosi on Aug 24, 2009 10:02 AM

  • TCL script help needed on Nexus7000 !

    Does anyone know how to create a TCL script on Nexus7000 switch for following scenario ? Need urgent help here.. :-
    Here is what I am trying to do :-
    1. Whenever following log on "show log log" prints out :-
    testnexus7000 %PIXM-2-PIXM_SYSLOG_MESSAGE_TYPE_CRIT:
    2. Print out the output of show system internal pixm errors
    And look for following line :-
    [102] pixm_send_msg_mcast(1208): MTS Send to LC X failed >> where X is 0 based
    and this error can occur multiple times for different LCs too.
    4. Reload line card (s) X and syslog " task done"
    Regards
    Vijaya

    Hi,
    Vijaya I found same post on support cisco forums So people helped someone in same question !!!!!!
    Please read it ....
    https://supportforums.cisco.com/thread/2128886
    Yes plus if u can help me in ......Cisco ASA same security problem than that will be good for me .....I will contact u and will be great help for me if u help
    Hope that link help u .....
    Bye,

  • UCCX Conferencing in third call? Scripting help needed

    All,
    I've got a customer requirement where they want to be able to place a call into the contact centre, give the contact centre the digits to dial and have the contact centre place the call on their behalf.  I've got no trouble with that bit.
    The next requirement is that the call placed is recorded, even if the calls in are not from cisco phones (i.e. mobiles).  We have a redbox recorder that does the recording and in order for it to commence a recording session, it needs to see a setup message through CM to check that it's an extension that is to be recorded.
    For example, I use an IP phone that IS being monitored to make a call.  The Redbox sees the setup and will record the call flow.
    I use an IP phone that is NOT being monitored to make a call.  The Redbox sees the setup and will not record the call.
    In order to get calls recorded from the contact centre, I'm thinking of conferencing in a third phone that Redbox is set to record and have it auto answer on silent, but I can't figure out how to get the three calls conferenced together to keep the call flow recorded.
    Any thoughts on how to achieve this?  Or has anyone else out there used another method?
    All help greatly appreciated!
    LH
    #15331

    There is no mechanism within CCX that allows you to initiate a conference or join two contacts together. Your only options will be to transfer the triggerin
    g contact to another destination with a Call Redirect or Call Consult Transfer.  If you create a second contact and use a Place Call step, you can interact with both contacts in the script but never join them together.

  • 9i Developer suite login problem. help needed ASAP

    i installed oracle 9i developer suite, my problem is i can't login. this is the error ora12560: TNS: oracle adapter error.
    or
    if i put the hostname it displays a no listener error and closes. i tried to create a listener in net configuration assistant, but i can't see it in services.
    i'm using windows XP. and not conneted to any machine.
    do i need any changes on my window settings?
    please help...
    thanks
    here is my listener.ora
    ABC =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc)(PORT = 1521))
    LISTENER =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc)(PORT = 1521))
    SID_LIST_LISTENER =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = C:\OraHome)
    (PROGRAM = extproc)
    tnsnames.ora
    TEST.ABC =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = ABC)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = test.ABC)
    ORACLE =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = abc)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = oracle)

    check your operating system network protocole is TCP/IP is installed if so check is there any problem with these protocoles. this error is encounter generally due operating system network protocoles it is not an oracle error. here is discription.
    TNS-12560 TNS:protocol adapter error
    Cause: A generic protocol adapter error occurred.
    Action: Check addresses used for proper protocol specification. Before reporting this error, look at the error stack and check for lower level transport errors.For further details, turn on tracing and re-execute the operation. Turn off tracing when the operation is complete.

  • Report Script Help Needed

    Hi,
    I have not written one in years and am having trouble with a fairly simple one (I think). Was wondering if you could take a look. Anyways we have 11 dimensions which may make this impossible due to performance. I basically need a report script to perform a data extract. Data requirements for each dimension would be:
    Scenario: Budget
    Version: Final
    CCCC: Tot_CCCC (Rollup)
    SCCC: Tot_SCCC (Rollup)
    Charge_Type: Charge_Type_Total (Rollup)
    Resource: NU_RESC (Rollup)
    SAU_CAU_Facility: Zero level members of "NU_Consolidated"
    Account: Zero level members of "TOTCO_FERC"
    Activity: Zero level members of "NU_Actv"
    Years: Children of "YEARS"
    Periods: Jan to Dec only
    Report format would suppress the PAGE thus Budget and Final would not appear.
    Was also hoping to somehow suppress CCCC, SCCC, Charge_Type and Resource(Not sure if possible).
    Thus format would look something like this tab delimited:
    Jan Feb Mar Apr May Jun Jul Aug Sep Oct Nov Dec
    SAU_CAU_Facility Account Activity Year 100 200 100 100 010 100 200 300 100 100 100 100
    Here is what I have so far. I have not been able to get it to return any results even though I have loaded one row of fake data. Does anything jump out at you as to what I'm doing wrong? Appreciate any help you may have as I'm really stuck as it's been years since I have tried this.
    //ESS_LOCALE English_UnitedStates.Latin1@Binary
    // This report script extracts data from NUMaster
    <SUPSHARE
    {DECIMAL 4}
    {NAMEWIDTH 25}
    {SUPCOMMAS}
    {SUPBRACKETS}
    {SUPPAGEHEADING}
    {NOINDENTGEN}
    {SUPMISSINGROWS}
    {SUPZEROROWS}
    {TABDELIMIT}
    {SUPFEED}
    {ROWREPEAT}
    <PAGE ("SCENARIO", "VERSION")
    "BUDGET" "FINAL"
    <COLUMN ("PERIOD")
    "JAN"
    "FEB"
    "MAR"
    "APR"
    "MAY"
    "JUN"
    "JUL"
    "AUG"
    "SEP"
    "OCT"
    "NOV"
    "DEC"
    <ROW ("RESOURCE_LOCATION", "SCCC", "CCCC", "VERSION", "CHARGE_TYPE", "SCENARIO", "SAU_CAU_FACILITY", "ACCOUNT", "ACTIVITY", "YEARS")
    <DIMBOTTOM "SAU_CAU_Facility"
    <DIMBOTTOM "ACCOUNT"
    <DIMBOTTOM "ACTIVITY"
    <DIMBOTTOM "YEARS"
    "TOT_CCCC"
    "TOT_SCCC"
    "CHARGE_TYPE_TOTAL"
    "NU_RESC"
    // Limits the members within the specified dimensions to the correct zero level members of the specified rollup
    <LINK (<DESCENDANTS ("NU_CONSOLIDATED") AND <LEV("SAU_CAU_Facility",0))
    <LINK (<DESCENDANTS ("TOTCO_FERC") AND <LEV("ACCOUNT",0))
    <LINK (<DESCENDANTS ("NU_Actv") AND <LEV("ACTIVITY",0))
    Thanks,
    SAm

    One thing that may help - it looks like you're using both <DIMBOTTOM and <LINK for three of your dimensions.
    <DIMBOTTOM "SAU_CAU_Facility"
    <DIMBOTTOM "ACCOUNT"
    <DIMBOTTOM "ACTIVITY"
    You should just need the <LINK and not the <DIMBOTTOM. <DIMBOTTOM's can really kill report script performance.
    Whenever I do these, I try to start small, and then open the report script up to more and more members to see what's affecting performance. I'd start with one year, one facility, one activity, one account, etc. Then slowly add in the full member specifications you want.
    Hope this helps,
    - Jake

  • Serious, Pro level Illustrator Scripting help needed

    I need a pretty robust script and I am willing to pay for it. I am sorry if soliciting like that is a against forum rules, I will find out if my post gets, deleted/locked. I am just serious about this need for a script.
    I am not sure if this is possible in Illustrator, but I really hope so. I need a script that will read the information from the x,y position and width x height in the Transform Palette of any selected object (or objects would be even better), including all the the different reference point values, and then write discrete user selected info; based on a easy to use panel of check marks, radio buttons or whatever, to a text field a set number of pixel offset from the upper left corner of the object bounds.
    I would be happy to explain further if this is the correct place for this type of discussion.
    If this is not the right place, my humblest apologies but perhaps someone could turn me on to a better place?
    Thanks in advance for any help!

    This does not sound like a big task.
    Here is a script I use every day.
    displays the Width and Height below each selected Item or group.
    have a go and let me know if this is kinda what you are thinking.
    from there we can work out how you want everything displayed
    var doc = app.activeDocument;
    var sel = doc.selection;
    var TOmm = 2.83466796875;
    Dim(sel);
    function Dim(objs) {
        for (var i=objs.length-1;i>=0;i--) { // loop through your collection of objects
            var bounds = objs[i].visibleBounds; // Get visibal bounds, which are only visable bounds in some cases...
            var b1 = bounds[0] /TOmm;
            var b2 = bounds[1] /TOmm;
            var b3 = bounds[2] /TOmm;
            var b4 = bounds[3] /TOmm;
            var W = Math.abs(b3-b1).toFixed(1);
            var H = Math.abs(b4-b2).toFixed(1);
            var txt = doc.textFrames.add(); // Create the text frame
            txt.contents = "Size:  "+ H + " x " +W + " mm W";  // Adds contents to frame
            txt.position = [objs[i].left,objs[i].top - objs[i].height - 20]; // Positions the frame
    This example ignores clipping paths and measures everything, including what is clipped.

  • Custom Calculation Script Help Needed

    I need to make a script that Sums a column of fields based on whether or not information found in another column of fields is the same or specific text. Please see below screenshot of what I would like it to do.
    I would like a Sum of all Amounts that have the Code A...

    You can use this script as the custom calculation script of "SumOfA":
    var total = 0;
    for (var i=0; i<=2; i++) {
        if (this.getField("p1TC."+i).value=="Code A")
            total+=Number(this.getField("p1RecIn."+i).value);
    event.value = total;
    You can easily adjust it for the other field as well.

  • Scripting help needed... please

    Help,
    I know this is a fairly basic scripting question, but for some stupid reason I just can't seem to get it.
    I am creating a DVD that has 2 different menus.
    There are only one set of tracks, but 2 different menus. What I want is something that tells the track to return to menu 1 if it played from menu 1 or to go to menu 2 if it played from menu 2
    Help please.
    Thanks

    Hi
    I think this is what you are looking for: * Multiple Menus with GPRM based button jumps * (Thanks Hal!)
    Hope that helps !
      Alberto

  • Scripting Help Needed

    Hi,
    I have a requirement in SAP E-Sourcing as follows to achieve the functionality of hiding/displaying a field based on another field value selection.
    Based on my field value FIELDA, I need to display or hide FIELDB/FIELDC.
    1. FIELDA -- Value List (ValueA, ValueB, ValueC)
    2. FIELDB -- Text Field
    3. FIELDC -- Text Field
    So,my requirement is
    if (FIELDA = "ValueA")
    FIELDB = Hide
    FIELDC = Display
    else
    FIELDB = Display
    FIELDC = Hide
    Kindly direct me how to achieve this functionality using "Script Definition"
    Thanks,
    Prabhu

    Hi Prabhu,
    To achieve your requirement, you cannot write a script, as there is no API for dynamic UI.
    Your requirement is very much possible by Page Customization.
    Create page customization if already not existing for the object where you want to do this.
    In that add the field as below
    Field ID : technical name of the field which needs to be hidden (FieldB)
    Property : Hidden
    Value: Yes
    Dimension on parent : NO
    Dimension Field: Conditional Field (FieldA)
    Dimension Type : Value list Value (in ur case)
    Dimension Value: ValueA
    In this way you have to configure all possible combinations required.
    Hope you get this.
    Thanks,
    Vaibhav Modi

  • SAP script help needed ..... urgent !!!

    Hi friends,
    I`ve assigned the script name and driver program in NACE tcode for ME21N transaction.
    When I print preview from ME21N tcode and keep script debugging active it goes into debugging mode ...Here it shows script name same as what has been assigned in NACE but the contents which are being debugged are different than the actual script contents .. means the code which we can see while debugging the script are not matching with the code of the same named script in SE71.
    Can anybody help me out regarding this issue .. ?
    thanks .

    If your assignment is correct in NACE, and still if you face the problem.
    1. As we know that scripts are language dependents, so please check while debugging in header of the screen ie., beside to layout set name you will find the language.
    2. So, based on the language check your content.
    Thanks

  • Login Script Help

    I have written a script to map peoples H: drives and would like to get it to work when someone enters there username at login. Any way I can do this? Do I have to put it some where?

    In Login Items for the account's preferences.

  • QuickTime - Save Export Settings -  script help needed

    Currently I am using Panther 10.3.9 - with QT PRO 7.02 - ( I do not want to
    upgrade to Tiger at this time unfortunately)...
    * MY GOAL: to be able to save export preferences in QuickTime pro.
    Since QuickTime does not seem to be able to save export presets... I
    downloaded the the script collection from
    From: Scriptable Applications: Quicktime Player
    Location: http://www.apple.com/applescript/quicktime/
    and created export settings and tried ....
    Save Export Settings.scpt
    ... but the file that got saved will not open in QT PRO - OSX and wants to
    open something from old os9....
    what do I do?

    = = = (see scripts below)
    * here is my basic workflow ...
    - load a QuickTime movie
    - adjust the QuickTime movie export settings
    - save a test copy ( validating the settings)
    - run the "save export settings.scpt" with name "set1test"
    Then
    - open and run the "Export QuickTime movie.scpt" with the name " test movie"
    - run the new test movie - and when I check info - it does NOT reflect the desired settings...
    = = =
    One issue is - this line...
    export movie 1 to new_file as QuickTime movie using settings "set1test"
    ... It doesn't seem to care what the settings file name is - and if I change that name to a nonexistent name - it still exports the movie without an error.... Therefore it leads me to believe that it's not using it to begin with....
    - another issue is that the settings file "set1test" says it is the kind = "QuickTime settings document" - however it has a blank icon in the Finder - and there does not seem to be any way to open the file with QuickTime 7.02 - and it can to open something classic mode when I double click on it.
    = = = the Save settings script...
    tell application "QuickTime Player"
    activate
    try
    if not (exists movie 1) then error "No movies are open."
    stop every movie
    set the target_file to choose file name with prompt "name & location for the QT settings file:"
    save export settings movie 1 for QuickTime movie to target_file with replacing
    end try
    end tell
    === the Export QuickTime movie.scpt
    tell application "QuickTime Player"
    activate
    try
    if not (exists movie 1) then error "No movies are open."
    stop every movie
    set the movie_name to "mytest.mov"
    if (can export movie 1 as QuickTime movie) is true then
    set the new_file to ¬
    choose file name with prompt "Enter a name:" default name movie_name
    export movie 1 to new_file as QuickTime movie using settings "set1test"
    end if
    end try
    end tell

  • Lightbox script help needed?

    edit: I couldn't get it to work right in FF, so I decided to
    go back to just having the images open in their own windows

    I deleted some of the images and tables and that helped bring
    the image a little closer to the top, but still it's not right. For
    some reason Firefox doesn't want to display it like IE7 will.
    interesting, anyone know why or have some suggestions on how to
    correct this?

Maybe you are looking for