Repeating a script for an advanced action

I've created and advanced action for a click button. The properties are if the textbox is empty (v_null) to display a failure messge, if not display a correct message. The advanced action is working perfectly but it won't repeat it's self. So for example, if the user doesn't type something in text box  and clicks the button, the script runs and gives the correct message, but if the user  attempts to write someting after the first message pops in the text box and clicks on the button again, nothing displays. It's like the scipt will only run once.
Is there a way to have an advanced action repeat it's self?
Here is the script:

Captivate's Advanced Actions are event-driven.  So you can only trigger them via some kind of on-screen event.
All of the events available to you are listed here:
http://www.infosemantics.com.au/adobe-captivate-advanced-actions/run-time-events
Once you've triggered the advanced action as a result of clicking a button, then you need another button click or event of some kind to run the action again.  Captivate does not currently allow you to call an advanced action from another action.

Similar Messages

  • Scripting for Conditional Advanced Actions disappears after saving - title remains

    Hi, for the third time in a 24 hour period, after painstakingly entering 14 lines of variables and actions, the contents of the conditional AA script that I saved disappeared.  Yes, I saved all of them!  The name I gave it remains on the list of Advanced Actions, but clicking on it yields a virginal scripting window. At this point I've wasted a couple of hours re-writing the script only to have it go blank on me again.  Any ideas?

    It's actually a lot more complex than that.
    Here is a list of words that should NOT be used when naming objects, slides, variables or actions in Captivate because they can conflict with existing code or names in the app:
    abstract
    accessibilityProperties
    alpha
    as
    blendMode
    boolean
    break
    buttonMode
    byte
    cacheAsBitmap
    case
    cast
    catch
    char
    class
    const
    constructor
    contextMenu
    continue
    currentFrame
    currentframe
    currentLabel
    currentLabels
    currentScene
    debugger
    default
    delete
    do
    double
    doubleClickEnabled
    dropTarget
    droptarget
    dynamic
    each
    else
    enabled
    enum
    export
    extends
    false
    filters
    final
    finally
    float
    focusEnabled
    focusRect
    focusrect
    for
    forceSmoothing
    framesLoaded
    framesloaded
    function
    get
    goto
    graphics
    height
    height
    highquality
    hitArea
    if
    implements
    import
    in
    include
    instanceof
    interface
    internal
    intrinsic
    is
    loaderInfo
    lockroot
    long
    mask
    menu
    mouseChildren
    mouseEnabled
    mouseX
    mouseY
    name
    name
    namespace
    native
    new
    null
    numChildren
    opaqueBackground
    override
    package
    parent
    parent
    private
    protected
    prototype
    public
    quality
    return
    root
    rotation
    rotation
    scale9Grid
    scaleX
    scaleY
    scenes
    scrollRect
    set
    short
    soundbuftime
    soundTransform
    stage
    static
    stop
    super
    switch
    synchronized
    tabChildren
    tabEnabled
    tabIndex
    target
    textSnapshot
    this
    throw
    throws
    to
    totalFrames
    totalframes
    trackAsMenu
    transform
    transient
    true
    try
    type
    typeof
    url
    use
    useHandCursor
    var
    virtual
    visible
    visible
    void
    volatile
    while
    width
    x
    xmouse
    xscale
    y
    ymouse
    yscale

  • Weird issue. Captivate 6 not letting me select a script for an Advanced Action

    Hi, So i'm facing this really weird issue on a captivate 6 project that i built. I need to add an Advance Action on a slide Exit action. This was previously set as "Continue" and now I want to set this to "Execute Advanced Action" (an Advanced Action script that I just wrote). The thing is that when I change the On Exit property to "Execute Advanced Actions", I am not able to select a script from the "Script" dropdown. I've tried everything from:
    changing machines and doing this on different computers with Captivate 6
    Making copies of the file and trying those
    Closing Captivate and Restarting my computer
    Ensuring that the slides are not locked
    but can't seem to figure this out. Also funnily, if I try to set the On Exit property of let's say slide 67 as "Execute Advanced Actions" (when it was previously just "Continue"), all other slides are also changing to this, meaning the On Exit property for all other slides has also been changed from "Continue" to "Execute Advanced Actions".
    I've been stuck with this for the last 6 hours and can't figue this out.
    Please Help!!!
    -Sean    

    If this is the same file you were having issues with before where we suspected corruption, then I'd have to say this probably confirms it.
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/recover-corrupt-project
    Usually the fix is to copy all slides into a new blank shell project of the same size to try and strip out the corruption issue.
    See item #4 here:
    http://www.infosemantics.com.au/adobe-captivate-troubleshooting/basic-troubleshooting-tech niques
    However, since you are on a Cp version earlier than 7.0.1, please note that this will also strip out all of your current advanced actions as well (which also might be where the corruption is anyway).
    Your issue is actually quite rare.  I cannot guarantee you that Cp 7 would never do the same thing, but one advantage of Cp7 is that you can try copying and pasting slides into a new shell project and it WILL bring along the advanced actions and variables as well.  So I definitely think it's worth downloading the trial version of Cp7, upgrading with the Cp 7.0.1 patch and giving it a go to see if that fixes your issue.
    Alternatively, if you haven't got lots of time-consuming Advanced Actions to recreate, just paste all slides into a new shell project and recreate them.  It's probably not going to take that long if it's only one project file.

  • Can't go to next slide after adding advanced action to answer and other

    Hi,
    I'm creating a quizz and there are some problems I can't
    solve.
    I have a flash project with login page, where user should
    fill name, company and e-mail. To this e-mail I have to send the
    results of the quizz. After you correctly fill the gaps and click
    OK, my flash aplication starts within the Adobe Captive 4 project
    (swf file). And now problems:
    1. In my captivate project: I have a question, 3 answers, 3
    possible attemps and one correct answer. If user answer wrong,
    there is a grey hightlight box, which should apears over my chosen
    wrong answer and stay there to mark already chosen answer and there
    is also a text animation "Sorry, your answer is not correct." under
    the quizz (on the same slide), which appears instead of error
    message. No problem, it works, I made a script for it, which is
    joined to every wrong answer (in Edit Question > (Answers)
    Advanced > Execute Advanced Action). But the problem is with
    correct answer (it shows text animation "Congratulations!" and
    green hightlight box). If I specify the event on correct answer and
    then submit the right answer, it shows the hightlight box, the text
    animation, but it doesn't continue to next slide! It stucks despite
    of the
    settings Edit Question > Options > (If correct answer)
    Action: Go to next slide). If I add new statement to my
    script, which is "Go to next slide" and then click on the right
    answer, it immediately jump to next page and doesn't show the
    hightlight box and the text animation. How can I wait until the
    duration of the animation ends and after that go to next slide?
    Script for the advanced action on my correct answer is:
    -> show rightHighlightBox
    -> show congratulationsText
    2. I need another pass fail option, for example - I have 30
    questions - 3 answers, one correct, 3 attemps. User submits wrong
    answer, but then he choose the right one, but he choose the wrong
    one at first ---> 0 points. It's e-learning and I need to allow
    users to correct them.
    3. How can I export the value of correctAnswers to my flash?
    Is it possible?
    Thank you very much for reply!

    Hi,
    You need to add a "Continue" statement at the end of your
    script otherwise you will have to click on Skip to go to next
    slide.
    And all the Quzzing information can be accessed from Flash
    using the Quizn variables.
    thanks
    ravi

  • Switching between scripts in Advanced actions very slow on Mac OS X

    Hi,
    I've been experiencing a problem with Captivate taking an inordinate amount of time (approx 30-40 seconds) to switch between scripts in the Advanced Actions window. This happens incrementally as create/duplicate scripts and switch from one to the other. After switching about 4 to 5 times, the wait extends to 30-40 seconds. The rest of Captivate is unaffected, i.e. no delay issues when adding statements to a script, or working with other features in Captivate. I called Adobe Support but they said it is the first time they heard about this issue, although they seemed to suggest that Captivate is "slower" on the Mac. For comparison's sake, and to check if there was anything wrong with the project file itself, I tried using a trial version on a PC running Windows XP (using the same project file) and I experienced no issues, and switching between scripts remained constantly quick even after several hours working on a project.
    This particular project requires a lot of scripting and this issue has ground my productivity down to a halt having to wait 30-40seconds just to switch between scripts. Adobe suggesting "removing programs" from the Mac to speed up affairs, but I don't think there is anything wrong with the machine as it runs other Adobe software, like InDesign, Photoshop and Acrobat without any issues. In addition, while the switching is being processed, OS X doesn't hang. I am perfectly able to switch to other applications, or load new ones, which indicates that Captivate is not hogging all the resources.
    I was wondering if anyone else has experienced this issue before, and if so if a solution/workaround has been identified?
    Thanks!

    Hi,
    I've been experiencing a problem with Captivate taking an inordinate amount of time (approx 30-40 seconds) to switch between scripts in the Advanced Actions window. This happens incrementally as create/duplicate scripts and switch from one to the other. After switching about 4 to 5 times, the wait extends to 30-40 seconds. The rest of Captivate is unaffected, i.e. no delay issues when adding statements to a script, or working with other features in Captivate. I called Adobe Support but they said it is the first time they heard about this issue, although they seemed to suggest that Captivate is "slower" on the Mac. For comparison's sake, and to check if there was anything wrong with the project file itself, I tried using a trial version on a PC running Windows XP (using the same project file) and I experienced no issues, and switching between scripts remained constantly quick even after several hours working on a project.
    This particular project requires a lot of scripting and this issue has ground my productivity down to a halt having to wait 30-40seconds just to switch between scripts. Adobe suggesting "removing programs" from the Mac to speed up affairs, but I don't think there is anything wrong with the machine as it runs other Adobe software, like InDesign, Photoshop and Acrobat without any issues. In addition, while the switching is being processed, OS X doesn't hang. I am perfectly able to switch to other applications, or load new ones, which indicates that Captivate is not hogging all the resources.
    I was wondering if anyone else has experienced this issue before, and if so if a solution/workaround has been identified?
    Thanks!

  • Repeat advanced action over 3 slides

    Hi there,
    I have an advanced action that shows an image and some text when entering a slide depending on the users selection in a drop down box earlier in the program. This works fine, however I would like this same result to show on 3 different slides.
    I though setting the image and text to "show for rest of project" and using the same advanced action on the slides would work - but no!
    Can anyone help? It is going to take so long to copy all the images and text, rename them and then copy and edit the advanced action to suit!
    Thanks

    This is an old post, and not everything is valid anymore:
    http://blog.lilybiri.com/playing-hide-and-seek-with-captivate-objects    Now you can hide/show an object timed for the rest of the project anywhere.
    You have 7.0.1.237, which means you can have shared actions. And this will be worthwhile since you have to use it on multiple courses.
    For reasons of file size, and also because it keeps the same ID, I would plead to show/hide the same group (hope you grouped the text + image).
    You create an conditional advanced action (one decision for each choice from the dropdown interaction), as you have already done. After testing on one slide (to see if it is OK), turn it into a shared action, and use that On Enter for each slide where you want to see the group. I know, you'll have to choose parameters each time, but a shared action is not adding to file size as do duplicates of advanced actions and you don't have to type in new names for the advanced actions on each slide.
    Create a standard advanced action, that hides all groups, turn that it in a shared action as well, and trigger it On Enter for each slide where you need to hide the objects. No need for a conditional action there.
    Lilybiri

  • How do I use the same execute advanced actions?

    I am using captivate 5, windows 7
    I created a slide with several click boxes and images.  I name them, for example,
    Click Box A  Image A
    Click Box B  Image B
    Click Box C  Imsge C
    And perhaps Images D, E, F
    I created Advanced actions, for example,
    Show_Image_A - which shows A and hides B and C - and shows Image D
    Show_image_B - which shows B and hides A and C - and shows images D and E
    Show_image_C - which shows C and hides A and B - and shows Image F
    Then On Success for each of the click boxes, Execute advanced actions as below:
    Click Box A - Show Image A
    Click Box B - Show Image B
    Click Box C - Show image C
    Works fine.
    My problem:  I want to repeat this slide's actions again (and over and over) with new images, same actions of click boxes.  SO - I thought I could copy it and paste it where I wanted it.  I want to use it again later in the same project - and I want to be able to use it again in anothe project.  I was hoping NOT to have to rebuild the slide every time, but here's what I am seeing:
    The click boxes and images are in the duplicated slide - BUT they all have different names - no longer my named Click_Box_A, but Click_Box_<number>, etc each time I paste it has a new number.  SO - my advanced actions still say Click Box A, Image A, etc - and obviously they're not recognized here. SO - my actions don't work here.
    It is painful - and tedious! - to change the names of all the objects and then change the names in the advanced actions.  There MUST be a way to do this that I don't know about?
    Please can someone help me?
    THANK YOU!!

    Hello,
    You cannot copy an advanced action from one project to another, that is really a pity. Please, if you have time, fill in a feature request!
    If the actions are always similar: why not create a template with the advanced actions you mostly use and create future projects on that template. I do it that way for the advanced actions I'm using often.
    Lilybiri

  • Open multiple PDFs in Photoshop at specific size for use with Actions

    I am having a bit of a roadblock with batch Automate in Photoshop. I'd like to open multiple PDFs at 630p x 630p, 72 dpi in greyscale. I have 2000 files to do this on. If files are already open, the rest of my action works, does a few things, then saves for web as PNG. It is just the open which is not working. It tries to give all files the same filename. Taking the filename out of the Action is not an option. Scan of msg boards say that this feature stopped working around CS3. Any ideas? Much appreciated.

    Open opens images the same size and resolution they are saved. If you want the images to be a particular size you need to do that in the action.
    If you download my crafting actions package.  You will find the there are over a dozen scripts I wrote to be used with in action.  One is a plugin script that would be particularly helpful to you to do the resize you want to do.  The first three steps would be Step 1 menu File>Automate>AspectRatioSelection....  You would set in a 1 to  1   Aspect ratio. Centered, rectangle. replace, selection and 0 feather. In its dialog.  Those settings will be recorded into the Actions step. Step 2 menu Image Crop. that will make you image square. Step 3 menu File>Automate>Fit Image...  In the Fit image dialog you would set 630 in the width and height fields.  These settings will be recorded into the actions step.    When the action is played no dialog will be displayed. The recorded settings will be used.
    Crafting Actions Package UPDATED Aug 10, 2014 Added Conditional Action steps to Action Palette Tips.
    Contains
    Action Actions Palette Tips.txt
    Action Creation Guidelines.txt
    Action Dealing with Image Size.txt
    Action Enhanced via Scripted Photoshop Functions.txt
    CraftedActions.atn Sample Action set includes an example Watermarking action
    Sample Actions.txt Photoshop CraftedActions set saved as a text file.
    More then a dozen Scripts for use in actions
    Example
    Download

  • Books on Captivate Advanced Actions

    Does anyone know about any books that are available for Captivate advanced actions?  Other than the books by IconLogic.

    Hi Melinda
    Thanks so much for the information. I'm on a constant quest to determine where to focus my efforts. Unfortunately, I have so many different irons in the fire it's very difficult to get everything I WANT to get done actually done.
    I asked because it's helpful for me to know what folks are looking for.
    Your post is expecially interesting to me at this time because I concluded facilitating a Captivate class yesterday. I used the Iconlogic books for the class and I have to say that I totally skip the section where Advanced Actions are presented. Not that I didn't cover them, but that what is presented in the book seems too far removed for me. While the example certainly shows creating an Advanced Action, I really cannot see an everyday application for what was presented.
    So what I do is to veer off on my own path and use some real world examples that are likely to be asked for. I say this because I've seen others ask for them here in the forums, so I'm guessing they are commonly desired actions.
    For example, I worked the class through Hiding the playback controls for Question slides. Then through automatically enabling the Closed Captioning area when playback begins. Then we worked through hiding and showing some images on a slide using Click Boxes. From there, we worked through keeping the user from being able to move from the slide until all interactions had been successfully dealt with.
    What seemed odd to me was that while that section often overwhelms some users, once we concluded with it, some of the class participants asked if they could see some "more complex" actions. I was stunned!
    Anyhoo, thanks for the feedback! Rick
    Helpful and Handy Links
    Captivate Wish Form/Bug Reporting Form
    Adobe Certified Captivate Training
    SorcerStone Blog
    Captivate eBooks

  • Is there a way to restrict the number of attempts for a remediated question using advanced actions?

    I have the following slides in my project:
    content slide 1
    content slide 2
    question slide 1
    question slide 2
    Question slide 1 is a question about content slide 1. Question slide 2 is a question about content slide 2. I would like to restrict the total number of attempts to two for each question. If question 1 is answered incorrectly on the first attempt, the learner would be returned to content slide 1 for review. Clicking the next button will take the learner back to the missed quiz question and allow them a second attempt to answer it correctly. If they answer it incorrectly again, it is scored as incorrect and the learner is taken to question slide 2.
    Can this be done or does remediation keep repeating until the learner answers the question correctly?
    If that is the case, can I achieve my objective by using advanced actions? And, if so, can you provide step by step instructions on how to do this?

    I think it could be possible, but giving you step-by-step instructions, sorry, that would take a lot of time. Did you use advanced actions already? My archived blog has a lot of use cases and tutorials, but I think it is not fair to ask on a forum for step-by-step instructions for each use case you want to create.  The most important thing will be to make sure that the user always remains in the Quiz scope, you can use the new system variable cpInQuizScope while testing. There is no system variable for attempts on question level, only one on Quiz level, so you'll have to create a user variable to track the attempts on question level. A big problem is that when you leave a question slide, without using the remediation work flow, the attempts are considered as finished. Personally I would prefer for that reason to not use the default question slides. You could try out a combination of remediation and advanced actions, never did test that?
    Lilybiri

  • One for all you advanced action gurus out there :)

    Ok so here is what im wanting to achieve.... on a slide i have various click box's that pop up some more info.
    I want a continue button to appear only after all the click box's have been viewed..
    In the past i have been able to achieve this when the click box's on the page direct you to another slide for the information, this way i have an advanced action set up on my initial page 'on enter' to see when all have been viewed to then show the continue button.
    In this instance its slightly different as i will never be 'entering' the slide again, i want to remain on the slide at all times?
    Possible??? let me know your thoughts?
    Thanks

    This will certainly be an example use case for conditional action with multiple decisions in my 'cookbook' for variables and advanced actions that I'm preparing.
    The only events you can use are the Success events for the click boxes (or other interactive objects) which means that for each of them you'll need a conditional action with a mimicked standard action and a real condition to check if every click box has been clicked. Have multiple examples on my blog post, and in threads here everywhere. You have to make one important choice:
    Can each click box be clicked multiple times, or is it OK to deactivate it when it has been clicked - that is the easiest way, because you can then use one variable as a counter and check if it reaches the number of click boxes
    Example: http://blog.lilybiri.com/blog-after-posterous-clickclick
    If each click box should be always available, you need a variable for each click box to toggle and you'll have to check if all variables have been toggled
    Example (old): http://blog.lilybiri.com/template-for-reusing-script
    Have new templates for CP7 and CP6 but stopped offering everything for free. You can still have the 5.5 on request.
    Lilybiri

  • Advanced Actions used for Menu - Takes 3 menu items for 1 to work? Advanced Actions Help

    Alright, here's my next struggle! I have a bit of a strange course I'm putting together that has required a unique approach (at least for me). Basically I'm having learners learn about 10 different reports they can run with a tool they have, and I have a menu (see below) on a slide to allow them to choose to view the reports they want to see. The course is required, but they can view what reports they want as long as they see three. So, what I've done is the following:
    Enabled Reporting with a score of 10 points for each Menu Item:
         When a user clicks on a Menu item, it automatically, without AA registers 10 points to the quizzing. The whole course requires a score of 30/80 to pass.
    Tried making a system of jumping to content and returning to Menu with a function to show an item has already been viewed:
         As seen below, there is a separate column on the right. Essentially each menu item has a standard action that first has a command to jump to the slide the particular menu item content is at, and then      two, a show function for the green box to cover the grey box indicating the content has been viewed already. The slides for which the user has jumped to has a jump-to-slide on the last slide of the      content to return to this menu.
    Checking for Three menu items viewed:
         I have a final slide that has an On-Enter Conditional action that says if the cpinfoQuizpointsscored is = 0 then show caption A, in a separate decision, a similar action but for score of 10, and again for 20,      just so I can send them to a slide that tells them how many reports they need to view before completing.
    So here's the problem: When I'm previewing this menu, clicking on a menu item the first time does nothing except bring in the green square. The second attempt on a different item does the same thing. Finally on the third Item I choose, it will jump to the slide as it should and I can return as I should be able to. So why is it taking two failed jumps to get to a jump that works? Order does not seem to play into it. And the only pause I have on the slide is at the end for the "next" button you see. Any thoughts?

    What would the pause do? I'm hoping they don't go just in order. And the menu items are indeed smart shapes set to be buttons.
    This is the timeline of that Menu Slide.
    This is the Advanced Action example for one of the menu items. Each menu item has a similar action.
    This is the conditional action that checks how many reports have been viewed.

  • [SOLVED] advanced shell script for mount and unmount samba share

    Good morning guys,
    Today I've a very long question....
    Hope in your help....:
    I usually move from different network.
    For one of those I need to mount some share that are under an ActiveDirectory server.
    To do that I use samba.
    Especially I've made and use the below  shell script.
    I know that it's so stupid but I'm a very newbie:
    #!/bin/sh
    echo "This is a custom script for mount my citrix share"
    echo "Please insert user password (must a sudoer user)"
    echo " "
    sudo mount -t cifs -o username='myusername',password='mypassword' //host_ip/TsHome$/myusername /home/myuser/samba_share/TsHOME
    sudo mount -t cifs -o username='myusername',password='mypassword' "//host_ip/direction" /home/myuser/samba_share/direction
    echo " "
    read -p "Press ENTER key to close this terminal"
    exit
    As I say the script work but it's so crude...!
    I want/need to implement it whit the follow addictions:
    1. print a feedback on mount: somenthing like "TsHOME is now mounted" or "unable to mount TsHOME"
    2. check if the share are already mounted: to prevent accidentally multiple mount. If a share is already mounted I want to print something like "TsHOME is already mounted on /home/myuser/samba_share/TsHOME"
    3. ask for share password  (now it's in clear on script) - This is optinal
    4. un-mount the share before reboot or shutdown command. That because I've notice that If i reboot or shutdown without manually un-mount the share the step of unmounting network file system became very slow
    If it's no extremely difficult, can someone help me to write this script?
    I know that man exist but I'm not a programmer and it's so difficult for me approch it.
    Thank you in advance.
    Ale
    Last edited by Alexbit (2010-09-23 21:29:13)

    Thank you very (VERY) much!
    I've follow your information and.. it work!
    If can be usefull to other this is the complete script:
    #!/bin/sh
    echo "This is a custom script for mount citrix share"
    echo "****************************************"
    echo " "
    echo "Please insert domain password:"
    read -s mypassword
    echo " "
    echo "|checking mount state...in share are not mounted mount it!|"
    echo "+-------------------------------------------------------------------------+"
    if grep "TsHome" /etc/mtab &>/dev/null; then
    grep "TsHome" /etc/mtab | awk '{print "TsHome is already mounted on " $2}'
    else
    sudo mount -t cifs -o username='yourusername',password="$mypassword" //ipaddress/TsHome$ /home/Samba_share/TsHOME && echo "TsHOME is now mounted" || echo "unable to mount TsHOME"
    fi
    echo " "
    if grep "direction" /etc/mtab &>/dev/null; then
    grep "direction" /etc/mtab | awk '{print "direction is already mounted on " $2}'
    else
    sudo mount -t cifs -o username='yourusername',password="$mypassword" '//ipaddress/direction' /home/Samba_share/direction' && echo "direction pat is now mounted" || echo "unable to mount direction"
    fi
    echo " "
    if grep "Area" /etc/mtab &>/dev/null; then
    grep "Area" /etc/mtab | awk '{print "Area is already mounted on " $2}'
    else
    sudo mount -t cifs -o username='yourusername',password="$mypassword" '//ipaddress/Area' /home/Samba_share/Area && echo "Area is now mounted" || echo "unable to mount Area"
    fi
    echo " "
    echo "All DONE!"
    echo " "
    read -p "Press ENTER key to close this terminal"
    exit
    I don't really well understand what I've to put in rc.local.shutdown....
    I think somethings like:
    #!/bin/bash
    # /etc/rc.local.shutdown: Local shutdown script.
    echo "This is a custom script for UN-mount citrix share"
    echo "********************************************"
    echo " "
    echo "|check mount state: if mount then un-mount!|"
    echo "+-------------------------------------------------------+"
    echo " "
    if grep "TsHome" /etc/mtab &>/dev/null; then
    grep "TsHome" /etc/mtab | awk '{print "TsHome is NOT mounted -> going on..." $2}'
    else
    sudo umount /home/Samba_share/TsHOME && echo "TsHOME is now UN mounted" || echo "unable to UN-mount TsHOME"
    fi
    echo " "
    if grep "direction" /etc/mtab &>/dev/null; then
    grep "direction" /etc/mtab | awk '{print "direction is NOT mounted -> going on.." $2}'
    else
    sudo umount /home/Samba_share/direction && echo "direction is now UN mounted" || echo "unable to UN-mount direction pat"
    fi
    echo " "
    if grep "Area" /etc/mtab &>/dev/null; then
    grep "Area" /etc/mtab | awk '{print "Area is NOT mounted - Finished" $2}'
    else
    sudo umount /home/Samba_share/Area && echo "Area is now UN mounted" || echo "unable to UN-mount Area"
    fi
    echo " "
    echo "going shutdown"
    echo " "
    sleep 5
    I've try but it seems to ignore the IF statement... this is the output when ALL share are UNmounted:
    $ sh /etc/rc.local.shutdown
    This is a custom script for UN-mount citrix share
    |check mount state: if mount then un-mount!|
    +-------------------------------------------------------+
    umount: /home/Samba_share/TsHOME: not mounted
    unable to UN-mount TsHOME
    umount: /home/Samba_share/direction: not mounted
    unable to UN-mount direction
    umount: /home/Samba_share/Area: not mounted
    unable to UN-mount Area
    going shutdown
    Tomorrow I will test again when I'm at office.
    Meanwhile can you check if I made a macroscopic mistakes?
    Thank you again!
    Last edited by Alexbit (2010-09-23 17:34:49)

  • Action in Interactive Script for IC Webclient

    Does anybody have experience with creating an Interactive Script action for IC Webclient in CRM 4.0 with SIE?
    According to the cookbook (see thread IC WebClient Consultant's Cookbook) for the Service Industry Extension you can create an action without using Java. In the action definition you can directly enter the name of the ABAP class that contains the method to be executed.
    However, when the script is executed the action does not seem to work. In fact there is no error or dump that shows it has done anything.
    I have followed the instructions as described in chapter 2.2.2. of the document.
    Your help is appreciated.
    Thanks, Nico

    Anyone?

  • An you tell me how to add an advanced action to the TEB so you can check for multiple lines of input

    an you tell me how to add an advanced action to the TEB so you can check for multiple lines of input? How do you add the advanced action?

    Can you elaborate your requirement?
    If you want to have a text wrapped around and enable a scroller for the same, you can achieve it by TEB properties and check the scroll bar option,
    Is this what you are looking to achieve?
    Thanks,
    Anjaneai

Maybe you are looking for

  • HELP! Internal Keyboard doesn't work

    I had my macbook pro 6 months ago, and one month ago I plugged in an imac keyboard for using adobe illustrator and photoshop. When I unplugged the external keyboard the internal keyboard of the macbook pro stopped functioning. The commands buttons, l

  • Reading txt file coordinates into chart...

    Hi, I'm currently making a GUI which displays a graph. At the moment it reads coordinates within an array in the code:     public int datax[] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10};     public int datay[] = {1, 1, 1, 1, 1, 1, 1, 1, 1, 1}; So far I've made

  • Car Speakers

    Has anyone developed an Ipod/Iphone speaker with good sound that can attach to my car's dashboard. The FM transmitters have lousy sound quality. I don't need it to be headbanging loud, just descent.

  • GL to Vendor

    We have recently shifted to SAP from oracle..One of our Vendor's Balance was wronly uploaded in SAP Against Accrued Expenses. Now i want to Shift that amount from Accrued Expenses to Vendor's Account & also want to Clear that vendor payment. Please t

  • SCCM 2012 SP1 - Server 2012 De-duplicated Package Source

    Hi, We keep all our package sources on a Server 2012 box. I was wondering if it supported if I de-duplicate the drive the packages live on please? Thanks