Udisks2, after-unmount script

Hello,
I have a problem with my external eSata Harddrive. If I just unmount it using udisks2 (e.g. in Dolphin), it will keep spinning, so I don't really want to turn off its power supply. I looked around a bit and I found that I can turn it off using 'hdparm -Y'. Is it possible to somehow tell udisks, to execute this command after the unmount for this specific device? Is there maybe an Udev rule, that can be used?
Or is there maybe a completely different way to solve the original problem (i.e. turning off the hard drive after the unmount)?
Thanks.

Hi-
Did you ever get a resolution to this issue? I am seeing the exact same error in IDM 8.0 patch 3
Error
com.waveset.util.WavesetException: An error occurred adding user 'testusr15' to resource 'idm_client'. com.waveset.util.WavesetException: Script failed waiting for "$" in response "_,)#+(:" com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "_,)#+(:".
My action script looks like this:
<?xml version='1.0' encoding='UTF-8'?>
<!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
<Waveset>
<ResourceAction name='after-create-nppasswd'>
<ResTypeAction restype='Solaris'>
<act>
#!/bin/sh
touch /tmp/idmtest
release=`uname -r`
if [ $release != "5.10" ]; then
     passwd -l $WSUSER_accountId
     sed "s/$WSUSER_accountId:\*LK\*/$WSUSER_accountId:NP/" /etc/shadow > /etc/shadow.new
     mv /etc/shadow.new /etc/shadow
else
     passwd -N $WSUSER_accountId
fi
exit 0
</act>
</ResTypeAction>
</ResourceAction>
</Waveset>

Similar Messages

  • After action script for Solaris

    Hi,
    I'm having trouble with an after action script for the solaris box.
    my script reads..
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Waveset>
    <ResourceAction name='after-create'>
    <ResTypeAction restype='Solaris' timeout='60000'>
    <act>
    #!/bin/ksh
    echo "$WSUSER_accountId says Hello World!"
    PATH=/usr/lib/nis:$PATH; export PATH
    nisaddcred -p [email protected] -P keerthi2.example.com. des
    exit 0
    </act>
    </ResTypeAction>
    </ResourceAction>
    </Waveset>
    I have edited the tabbed user form to include the following field:
    <Field name='global.create after action'>
    <Expansion>
    <s>after-create</s>
    </Expansion>
    </Field>
    Now when i am trying to create a user in my IDM n assigning the Solaris resource i'm getting the following error..
    com.waveset.util.WavesetException: An error occurred adding user 'client1' to resource 'Solaris Client'. com.waveset.util.WavesetException: Script failed waiting for "_,)#+(:" in response "" com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "".
    the account is created in IDM.
    please help me out!
    Regards
    Sanjeev

    Hi-
    Did you ever get a resolution to this issue? I am seeing the exact same error in IDM 8.0 patch 3
    Error
    com.waveset.util.WavesetException: An error occurred adding user 'testusr15' to resource 'idm_client'. com.waveset.util.WavesetException: Script failed waiting for "$" in response "_,)#+(:" com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "_,)#+(:".
    My action script looks like this:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Waveset>
    <ResourceAction name='after-create-nppasswd'>
    <ResTypeAction restype='Solaris'>
    <act>
    #!/bin/sh
    touch /tmp/idmtest
    release=`uname -r`
    if [ $release != "5.10" ]; then
         passwd -l $WSUSER_accountId
         sed "s/$WSUSER_accountId:\*LK\*/$WSUSER_accountId:NP/" /etc/shadow > /etc/shadow.new
         mv /etc/shadow.new /etc/shadow
    else
         passwd -N $WSUSER_accountId
    fi
    exit 0
    </act>
    </ResTypeAction>
    </ResourceAction>
    </Waveset>

  • [Solved] systemd creates autofs after unmounting /boot

    After logging in, i unmount /boot, so that i can unplug the usb drive where it resides, then systemd creates this mount:
    # mount | grep /boot
    systemd-1 on /boot type autofs (rw,relatime,fd=26,pgrp=1,timeout=300,minproto=5,maxproto=5,direct)
    Typing this hangs forever:
    ls /boot
    /etc/fstab
    UUID=2D75-67FC /boot vfat rw,relatime,fmask=0022,dmask=0022,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro,nodev,nosuid,noexec 0 2
    I don't really know what to make of this. Seems like a bug, given that ls hangs forever instead of showing nothing.
    Last edited by teateawhy (2014-09-12 10:48:38)

    My bad, i really masked the mount unit. Will try again tomorrow.
    EDIT:
    After masking the automount unit, it looks like this:
    * /boot is mounted correctly at startup
    * after unmounting /boot manually, no autofs mount shows up anymore
    * ls does not hang and immediatly shows nothing, as expected
    # systemctl status boot.automount
    ● boot.automount
    Loaded: masked (/dev/null)
    Active: inactive (dead)
    # mount | grep /boot
    (No output)
    Last edited by teateawhy (2014-09-12 10:16:50)

  • After Effects scripting: Serial port access?

    Hi,
    Does any one know if it's possible to access the computer's serial port using an After Effectsc script?
    I'm building a motion control script and I'm wondering if I can use a script to read the values of a keyframed parameter(e.g. a slider effect on a solid layer) to send serial port commands to move my rig.
    Regards,
    Ihab Ali

    I don't think that ExtendScript for AE ships with a way to do that out of the box, but in the Javascript Tools Guide for CS5, there is a section titled "Integrated External Libraries" which reads:
    You can extend the JavaScript DOM for an application by writing a C or C++ shared library, compiling it for the platform you are using, and loading it into JavaScript as an ExternalObject object. A shared library is implemented by a DLL in Windows, a bundle or framework in Mac OS, or a SharedObject in UNIX.
    You can access the library functions directly through the ExternalObject instance, or you can define an interface that allows your C/C++ code to create and access JavaScript classes and objects.
    All Adobe Creative Suite 4 applications support this feature.
    So you can probably write an app in C or C++ which communicates directly to the machine's port, and then call functions you declare in that code via ExtendScript.  Sorry I couldn't be of much help here, but that's where I would start.
    --Arie

  • User sites unreachable after weekly script run

    Server 10.3.9 on both my webserver and on my Xserve with RAID where my user sites are hosted.
    I have sites hosted directly on my webserver and my user sites are served through the webserver but site on the Xserve, shared through Open Directory.
    Everything works awesome except every Saturday morning, after the weekly script runs on both machines at 4:30 a.m., my users sites are no longer available through the webserver. If I reboot the webserver they come back just fine.
    I've looked through the weekly script and nothing was obvious to me that would break this connection.
    Has anyone else seen this?
    Thanks
    Eric

    Thanks for these tips. I've tried them and a few other things...
    It sounds, and I may be wrong, like you're proxying
    through your webserver to your file server for the
    user sites. The first thing will be to find out
    which machine is getting goofed up.
    Tomorrow, see if your regular websites are accessible
    after the script runs.
    The user sites are not available this morning through my webserver, as has been the case since installing the server in January. The regular (local) sites on the webserver are just fine.
    Try the user's sites directly
    from the file server, eliminating the webserver
    proxying.
    I don't usually run the webserver on my file server but I did fire it up this morning and was able to reach the user sites through it.
    If both of those are okay, then setup a
    terminal window on each machine, and on both machines
    do:
    tail -f /var/log/httpd/error_log
    and try hitting the user's sites through the
    webserver and see what messages come up on each
    machine, and post them.
    I don't get any error messages when accessing the user sites through the fileserver. I do get errors on the webserver when accessing user sites, saying "File does not exist:" then the path to the Network directory where the users site is. ( /Network/Servers/fileserver.address/Volumes/Home/username/Sites )
    This prompted me to try accessing user sites from one of my desktop machines (running OS X client 10.4.5) that is also connected to the fileserver with OD, and is running a webserver. That worked fine!
    I then tried to traverse the filesystem at the command line on my webserver to reach the users home sites and couldn't do it. I could do it on my desktop machine.
    So it appears that something on Server is breaking the AFP communication between the webserver and the fileserver when the periodic weekly scripts are run. I did try restarting AFP on the webserver just in case but that made no difference. I can't really restart AFP on the fileserver as I have users actively connected, but my guess is that is working just fine since I can access those shared volumes from my desktop machines.
    Instead of restarting whichever machine you've been
    restarting, try stopping and starting just the
    webserver to see if that takes care of the problem.
    I did try this and everything was the same as above.
    Strange that Server has this problem losing connection to AFP shares, but my clients don't. There isn't anything obvious to me in the weekly scripts that could cause this but I'll look again in case I missed this.
    Seems like others would have run across this??
    Note: a reboot of the webserver again this morning (after this testing) returned the users sites to my webserver. Doing an automatic reboot each week would be a kludge solution, but one that I really want to avoid if possible.
    Thanks for the troubleshooting tips. I hope you or someone else has some further advice...
    Eric
    iBook G4, iMac G5, Dual 2.5 GHz G5   Mac OS X (10.4.4)  
    Dual G4 and single Xserve with RAID   Mac OS X (10.3.9)  

  • Script after unmount with autofs

    I have a small embedded home server running arch linux, now it should manage many (~10) external hd's. i mount them with autofs and share the /mnt folder with samba and nfs. after 10 minutes inactivity, i unmount each hard drive. is it possible to start a script when a hard drive unmounts, and to start another script when autofs mounts it again? the script talks to the serial port and a microcontroller turns off each hard drive.

    The AE scripting host only works with AE running. It doesn't even work with just hooking up to ESTK. You realyl need to run the AE process one way or another. Of course scripts can be invoked by triggering teh respective menu commands or providing them as commandline parameters then, but that very much is the long and short of it. Generally one would rather run a plug-in or script panel from within AE and connect to the external processes...
    Mylenium

  • R61 R&R won't start after "unmountable boot volume" error

    Hello all,
    New user, first post - after problem, of course.
    I have an R61 Thinkpad with Windows XP on it.  (SP2 or SP3, not sure).  Has worked flawlessly for years, then the other day I got the dreaded "unmountable boot volume" error and it would not start.
    No problem - I re-start, hit the ThinkVantage button, then hit F11 to use the R&R hidden on a separate partition of the hard drive........I get the black screen with the big progress bar, ok, then a blue screen......then nothing.  Hangs up and sits there.  I have repeated this about 5 times now.
    No problem! - I was smart enough to make an R&R CD set a while ago!  Put the primary R&R disk in the CD drive, start the machine, ThinkPad button, F12 this time to choose boot from CD.....much CD activity ensues and I once again get the black screen with the big progress bar.  It takes much longer, and I get teh blue screen - BUT - then it goes one extra step to display the "ThinkVantage Rescue & Recovery 4" screen with the life preserver image.
    Excellent, I thing - except it then hangs there.  Just sits there.  No disk activity.  No keys will do anything.
    I can find no threads here or on any other forum with this particular issue.
    Am I fubar?  Or is there something else I can do?
    Thanks a bunch.
    Solved!
    Go to Solution.

    Hi jim, welcome to the forums,
    Is the hard drive recognised in BIOS, was there an entry in the boot list against HDD0?
    Regardless of it being shown in BIOS / boot list or not, the first thing I would do is to reseat the hard drive and see if that helps, maybe over time it's lost contact to the mainboard socket. If you don't know how to do this you can find out at the R61 movies site.
    The next thing I would do is run a hard drive diagnosis check from a bootable cd, these can be downloaded from all HDD manufacturer's websites e.g. Hitachi's Drive Fitness Test.  It may be that the drive has simply gone bad after all those years of work.
    Let us know how you get on
    Andy  ______________________________________
    Please remember to come back and mark the post that you feel solved your question as the solution, it earns the member + points
    Did you find a post helpfull? You can thank the member by clicking on the star to the left awarding them Kudos Please add your type, model number and OS to your signature, it helps to help you. Forum Search Option T430 2347-G7U W8 x64, Yoga 10 HD+, Tablet 1838-2BG, T61p 6460-67G W7 x64, T43p 2668-G2G XP, T23 2647-9LG XP, plus a few more. FYI Unsolicited Personal Messages will be ignored.
      Deutsche Community     Comunidad en Español    English Community Русскоязычное Сообщество
    PepperonI blog 

  • Kernel panic when I power down my Thunderbolt 1 drive AFTER unmounting it

    I've been using a "LaCie d2 USB 3.0/Thunderbolt 4TB" external drive since April 2014, which is connected to my late-2012 iMac via the Thunderbolt 1 port.
    When I'm not using the drive, I first unmount it, and then power it down at the mains.
    This worked fine until 1 Feb 2015, when I started getting a kernel panic every time I power down the drive - after it's been unmounted.
    The issue is 100% reproducible, and it doesn't matter how long I wait between unmounting the drive and powering it down - I've tried waiting several minutes. Powering down the drive ALWAYS causes an instantaneous kernel panic.
    I do not get a kernel panic if I turn off the drive as follows: unmount the drive, disconnect the Thunderbolt cable, power down the drive, and then reconnect the Thunderbolt cable (while the drive is turned off).
    The panic report text is virtually identical each time this occurs. Below is the most recent example.
    Wed Mar 18 23:15:05 2015
    *** Panic Report ***
    panic(cpu 0 caller 0xffffff800a41a46e): Kernel trap at 0xffffff800a8e9774, type 14=page fault, registers:
    CR0: 0x000000008001003b, CR2: 0x0000000000000000, CR3: 0x000000000d7ff000, CR4: 0x00000000001626e0
    RAX: 0x0000000000070001, RBX: 0xffffff8029f0d800, RCX: 0x666b395f8805008e, RDX: 0xffffff81c9b43088
    RSP: 0xffffff81f7753e90, RBP: 0xffffff81f7753e90, RSI: 0xffffff81c9b43068, RDI: 0x0000000000000000
    R8:  0x0000000000987455, R9:  0xffffff800aa95740, R10: 0x00000416191ecb44, R11: 0x00000416188656ef
    R12: 0xffffff81f7753f50, R13: 0xffffff7f8cfdf044, R14: 0xffffff7f8cff5978, R15: 0xffffff800aad66c0
    RFL: 0x0000000000010202, RIP: 0xffffff800a8e9774, CS:  0x0000000000000008, SS:  0x0000000000000010
    Fault CR2: 0x0000000000000000, Error code: 0x0000000000000000, Fault CPU: 0x0
    Backtrace (CPU 0), Frame : Return Address
    0xffffff81f7753b40 : 0xffffff800a32fe41
    0xffffff81f7753bc0 : 0xffffff800a41a46e
    0xffffff81f7753d80 : 0xffffff800a436683
    0xffffff81f7753da0 : 0xffffff800a8e9774
    0xffffff81f7753e90 : 0xffffff7f8cfdf267
    0xffffff81f7753eb0 : 0xffffff7f8cfe2ad7
    0xffffff81f7753ee0 : 0xffffff7f8cfdf1ed
    0xffffff81f7753f00 : 0xffffff800a3624f9
    0xffffff81f7753fb0 : 0xffffff800a414dd7
          Kernel Extensions in backtrace:
             com.apple.driver.AppleAHCIPort(3.1)[93E1D2EC-50EE-3340-9676-0EA1E0B1AD45]@0xffffff7f8cfdb000->0xffffff7f8cff5fff
                dependency: com.apple.iokit.IOAHCIFamily(2.7.5)[DAF0353B-16D5-385A-A0F3-FD5CF3BA07F2]@0xffffff7f8bc17000
                dependency: com.apple.iokit.IOPCIFamily(2.9)[56AD16B5-4F29-3F74-93E7-D492B3966DE2]@0xffffff7f8ab9b000
    BSD process name corresponding to current thread: kernel_task
    Mac OS version:
    14C1510
    Kernel version:
    Darwin Kernel Version 14.1.0: Thu Feb 26 19:26:47 PST 2015; root:xnu-2782.10.73~1/RELEASE_X86_64
    Kernel UUID: [snip]
    Kernel slide:     0x000000000a000000
    Kernel text base: 0xffffff800a200000
    __HIB  text base: 0xffffff800a100000
    System model name: iMac13,2 (Mac-FC02E91DDD3FA6A4)
    System uptime in nanoseconds: 4492947384197
    last loaded kext at 1200852616389: com.apple.filesystems.smbfs     3.0.0 (addr 0xffffff7f8d0f5000, size 389120)
    last unloaded kext at 368737361800: com.apple.filesystems.msdosfs     1.10 (addr 0xffffff7f8d0f5000, size 61440)
    loaded kexts:
    com.globaldelight.driver.VoilaDevice     1.1
    com.paceap.kext.pacesupport.snowleopard     5.9.1
    de.rme-audio.driver.RMEFirefaceUSB     2.04
    at.obdev.nke.LittleSnitch     4234
    [snip]
    Model: iMac13,2, BootROM IM131.010A.B05, 4 processors, Intel Core i7, 3.4 GHz, 16 GB, SMC 2.11f14
    Graphics: NVIDIA GeForce GTX 680MX, NVIDIA GeForce GTX 680MX, PCIe, 2048 MB
    Memory Module: BANK 0/DIMM0, 8 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3831554738424255352D474E2D4620
    Memory Module: BANK 1/DIMM0, 8 GB, DDR3, 1600 MHz, 0x02FE, 0x45424A3831554738424255352D474E2D4620
    AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0xF4), Broadcom BCM43xx 1.0 (7.15.159.13.12)
    Bluetooth: Version 4.3.2f6 15235, 3 services, 19 devices, 1 incoming serial ports
    Network Service: Ethernet, Ethernet, en0
    Serial ATA Device: APPLE SSD SM768E, 751.28 GB
    USB Device: Rugged Mini USB 3.0
    USB Device: XD-0608-U
    USB Device: Hub
    USB Device: Babyface (23189963)
    USB Device: Keyboard Hub
    USB Device: Apple Keyboard
    USB Device: FaceTime HD Camera (Built-in)
    USB Device: Hub
    USB Device: Hub
    USB Device: BRCM20702 Hub
    USB Device: Bluetooth USB Host Controller
    Thunderbolt Bus: iMac, Apple Inc., 23.4

    Thanks Linc, that's good to know.
    I'll carry on using my workaround (disconnecting the Thunderbolt cable before I power down the drive), until the next version of Yosemite is released; then I'll test again.

  • Maxl doesn't logout after Calc Script execution

    Hi All,
    I have a batch script which runs to load data and then aggregate data using calc script. Maxl completes the load and then starts the calculation execution but this never ends. I tried looking into the logs and it shows that Calc Script executed but it won't log off the user and so the next process of the batch doesn't kick-in.
    Application Logs:
    Thu~May~20~12:40:36~2009~Local~****~****~hadmin~Info~(1012579)~Total Calc Elapsed Time for ~Agg.csc~ : ~1008.66~ seconds
    Thu~May~20~12:40:36~2009~Local~****~****~hadmin~Info~(1013274)~Calculation executed
    Thu~May~20~12:40:36~2009~Local~****~****~hadmin~Info~(1019018)~Writing Parameters For Database ~[****]
    Can anyone suggest me how to resolve the issue. Thanks...

    Hi Cameron,
    The script which you had given was running just great in Dev with very less data, as the aggregation was just taking 10mins but when I moved the scripts to QA where it loads data from Prod, the aggregation takes almost 2 hours to run and just as the calc script finishes it throws an Network error and Maxl doesn't end the agg script and hangs there and is forced to log off from console after 60mins of inactivity. The hang doesn't let the batch to start the next process.
    Network error for app logs:
    Tue Jun 2 06:31:51 2009 Local TinP TinP hadmin Info (1012579) Total Calc Elapsed Time for Agg.csc : 7210.71 seconds
    Tue Jun 2 06:31:51 2009 Local TinP TinP hadmin Info (1013274) Calculation executed
    Tue Jun 2 06:31:51 2009 Local TinP TinP hadmin Info (1019018) Writing Parameters For Database TinP
    Tue Jun 2 06:31:51 2009 Local TinP TinP hadmin Error (1042013) Network error 104 : Cannot Receive Data
    Tue Jun 2 07:34:23 2009 Local TinP Info (1013220) Supervisor CONSOLE has forced user hadmin to logout
    Can you suggest something. Thanks...

  • AD after action script parsing

    Hello.
    We are about to use the after create action Resource Action feature of the AD Resource Adapter. We wish to create the physical Home Directories on the Fileserver as an after create action.
    I am wondering how error handling can be incorporated.
    Does the IDM ResourceAction allow DOS if () else () constructs?
    Can we branch e.g. "if xxxxx goto Label"
    Ideally I would like to echo errors to standard error as well.
    Is the following feasible?
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Waveset>
    <ResourceAction name='ADAfterCreate'>
    <ResTypeAction restype='Windows Active Directory' timeout='10000'>
    <act>
    rem creating the home directory
    set fileserver1=IDMTESTW1
    set filedrive1=D
    set >> d:\IDMLogs\ADAfterAction.log
    if exist \\%fileserver1%\%filedrive1%$\data\%WSUSER_sAMAccountName%
    echo ERROR. directory already present. Exiting. >> d:\IDMLogs\ADAfterActionERROR.log
    ) else (
    md \\%fileserver1%\%filedrive1%$\data\%WSUSER_sAMAccountName%
    rem do the rmtshare cacls stuff...
    exit
    </act>
    </ResTypeAction>
    </ResourceAction>
    </Waveset>

    Hi-
    Did you ever get a resolution to this issue? I am seeing the exact same error in IDM 8.0 patch 3
    Error
    com.waveset.util.WavesetException: An error occurred adding user 'testusr15' to resource 'idm_client'. com.waveset.util.WavesetException: Script failed waiting for "$" in response "_,)#+(:" com.waveset.util.WavesetException: Script processor timed out with nothing to read and the following unprocessed text: "_,)#+(:".
    My action script looks like this:
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Waveset>
    <ResourceAction name='after-create-nppasswd'>
    <ResTypeAction restype='Solaris'>
    <act>
    #!/bin/sh
    touch /tmp/idmtest
    release=`uname -r`
    if [ $release != "5.10" ]; then
         passwd -l $WSUSER_accountId
         sed "s/$WSUSER_accountId:\*LK\*/$WSUSER_accountId:NP/" /etc/shadow > /etc/shadow.new
         mv /etc/shadow.new /etc/shadow
    else
         passwd -N $WSUSER_accountId
    fi
    exit 0
    </act>
    </ResTypeAction>
    </ResourceAction>
    </Waveset>

  • Bug-Report: Hyper-V - VM shutdown process hangs after unmount ISO file on host computer

    Hello Microsoft team,
    my HYPER-V VM hangs after I did follow things:
    First I mount an ISO file into my Windows 8.1 Enterprise host (e.g. drive letter X:)
    Now I mount X: into my VM (gen. 1)
    Then I lost connection to X: on my host (e.g. unmount X: on my host computer)
    Now when I shutdown my VM, it will be hangs.
    I reproduced this on three computers with windows 8.1.
    Thanks for help and feedback,
    Gunnar

    Hello Gunnar,
    What do you mean about the sentence ‘mount X: into my VM (gen. 1)’?
    If I mount the Windows 8.1 ISO to drive H:, and then try to install the VM gen 1, it has no issues.
    If I just install the VM gen1 by using the Windows 8.1 ISO that have been mounted to drive H:, I still can’t find the issue.
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

  • After upgrade Script No Longer Works

    After I upgraded CS4 to .605 my script no longer works. I get:
    Error Number:45
    Error String: Object is Invalid
    Line 12
    Source: myParStyle.baselineshift = -1;
    Here are my first 12 lines:
    var doc = app.documents[0]
    var color = doc.colors.item("C=100 M=65 Y=0 K=0");
    var inlines = doc.stories.everyItem().textFrames.everyItem().getElements();
    for(var i=0;i<inlines.length;i++){
        if (inlines[i] instanceof Group){continue}
        if(inlines[i].fillColor != color){continue}
        if(inlines[i].contents == ""){continue}
        inlines[i].convertShape(ConvertShapeOptions.CONVERT_TO_RECTANGLE);
        myChangeCorners(inlines[i], 0, .3, "fourth point");
    var myParStyle = doc.paragraphStyles.item("Tab_HeadB_KO");
    myParStyle.baselineShift = -1;
    What do I need to change to get this to work again?
    Thanks,
    Rob

    So it's still somewhat a mystery, because that particular command didn't change from CS4 to CS5.
    Can you try the 'fix' mentioned here? CS5 issues

  • Unmounting Script

    I was wondering if someone could help me create an AppleScript, Automater Action, or Shell Script that I can use to unmount four volumes upon boot.

    That will work but then the volumes are all ejected and I can't open Disk Utility and remount them if need be.
    I just tried an app called Platypus and created a tiny app with the following entry. I had Login Items open it but it took a little more than 30 seconds to run the wrapped script and then eject all four volumes:
    #!/bin/sh
    sleep 1
    diskutil unmount /Volumes/volume1
    diskutil unmount /Volumes/volume2
    diskutil unmount /Volumes/volume3
    diskutil unmount /Volumes/volume4
    exit
    any ideas on a better way?

  • How can you set Dos date as YYYYMMDD in After Action script?

    Hellos...
    I have been trying the standard method to get the DOS date as a format string YYYYMMDD
    It seems to cause the AfterAction script to bomb.
    I am trying this script ...
    <?xml version='1.0' encoding='UTF-8'?>
    <!DOCTYPE Waveset PUBLIC 'waveset.dtd' 'waveset.dtd'>
    <Waveset>
    <ResourceAction name='ISSHP-enable-email'>
    <ResTypeAction restype='Windows Active Directory' timeout='60000'>
    <act>
    rem Action for MSE2007 test/development to Enable-Mailbox a new AD User created by IDM.
    rem Set up environment as necessary (copy of idmadm account's environment)
    rem Local script environment settings
         SET LogFileDrive=C
    SET LogFileDir=%LogFileDrive%:\Sun\ADAfterActionsLog\
    SET DBtoUse=idmex.sks.local\Mailbox Database
    rem set TODAYDATE as yyyyddmm and TIMENOW as hhmmssdd to be used in the Log file name
         set TIMENOW=%time:~0,2%%time:~3,2%%time:~6,2%%time:~9,2%
         for /F "tokens=2-4 delims=. " %i in ('date /t') do set TODAYDATE=%k%j%i
    set >> %LogFileDir%AfterActionLog.txt
    rem PS Commands from here...
    exit
    </act>
    </ResTypeAction>
    </ResourceAction>
    </Waveset>
    But the line
    for /F "tokens=2-4 delims=. " %i in ('date /T') do set TODAYDATE=%k%j%i
    is causing problems..
    How have others managed to turn date /T into YYYYMMDD within an after action ??
    I know in our Gateway date /T will output (today): pe 29.01.2010
    GF

    The output from the for command when run in the cmd shell is as expected.
    I have tried both batch and command line variable settings in my action script i.e.
    for /F "tokens=2,3,4 delims=. " %i in ('date /T') do echo %k%j%i
    and
    for /F "tokens=2,3,4 delims=. " %%i in ('date /T') do echo %%k%%j%%i
    with no joy. I suspect that its the Gateway launched shell executor that is having problems with the for do command.
    Anyways, using
    set todaysdate=%date:~9,4%%date:~6,2%%date:~3,2%
    solves my problem. Just curious why the for construct bombs in the resource action.
    Thanks. GF

  • WANTED After Effects Script Programer ...

    Hello,
    I'm looking to hire someone who is capable of programing a script that will enable Adobe After Effects to generate completed product demonstration videos given a collection of video clips, product photos, voice over audio and product data from a spread sheet.
    Basically, i would like to be able to layout the video frame with various fields that would be filled with data (text data and file paths) from the corresponding columns in the spread sheet.
    This script would function very much like "catalog software" for Adobe InDesign but for video instead of printed material.
    If you're capable of this task, please email me at [email protected] so that we can discuss the details.
    Thanks,
    George Tasick

    To my knowledge scripts cannot change projects without the program actually running. Scripts merely call reflections of the internal commands which only are available when the program runs in full. Perhaps some of that has changed in AE CC, but I'm not aware of it.
    Mylenium

Maybe you are looking for

  • Logic pro 9.1.7 crashes all the time with OSX 10.7.3

    Dear all Since more or less 7 days my logic pro 9.1.7 crashes all the time. Is there a known bug with logic and the latest OSX? According to the fact that I have Exception Type:  EXC_BAD_ACCESS (SIGBUS) Exception Codes: KERN_PROTECTION_FAILURE at 0x0

  • BW Pharma Reports

    Hi, I have to create BW reports in pharma sector.Please let me know if there are any Business content pharma reports. Thanks in Advance Kishore Reddy

  • Setting up the trusted mode in CMC with SDK (BO XI 3.1 with1.3 FixPack)

    Hello, I would like to enable the trusted mode in the CMC and insert the Shared Secret password with a java command line. That suppose that we have already modify the web.xml file and copy the trustedprincipal.conf file in the good folder. We are cre

  • Migration Assistant and Final Cut Express

    So I just purchased a new MBP today. I was wondering whether or not Final Cut Express will be deactivated on my old computer, then activated on my new one as the transfer completes. I will be using Migration Assistant Do I absolutely have to use the

  • Setting Up air-ap1141n-a-k9?

    I recently acquired a air-ap1141n-a-k9 but I do not know how to set it up. I know this is probably really simple but I looked through the manual and couldn't figure it out. It says "Assign a static IP addresss by conencting to its console port and ac