Line the script?

Does Adobe Story have script lining capabilities? I'm looking for a program that will allow you to line a script, just as a continuity/script supervisor would.
Thanks!

Sorry. Story does not support that yet.
--Anubhav

Similar Messages

  • I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Script stops calculating...

    I am trying to create a PDF document that calculates Gains and Losses in Mutual Funds. The calculation scripts are repetitive from line to line. The scripts work well until I reach the line 32. Although I am using the same script as the fields above in the columm, the script eventually stops calculating and I can't figure out why. Is there a limit of how many calculation scripts you can enter? I will attempt to attach my pdf as soon as I figure out how. Thanks.

    For e31 :
    var e30 = +getField("e30").value ;
    var c31 = +getField("c31").value ;
    if ( (e30 !== 0) && (c31 !== 0) ) event.value = e30 + c31 ;
    else event.value = "";
    for e32 :
    var e31 = +getField("e31").value ;
    var c32 = +getField("c32").value ;
    if ( (e31 !== 0) && (c32 !== 0) ) event.value = e31 + c32 ;
    else event.value = "";
    for e33 :
    var e32 = +getField("e32").value ;
    var c33 = +getField("c33").value ;
    if ( (e32 !== 0) && (c33 !== 0) ) event.value = e32 + c33 ;
    else event.value = "";
    Java console doesn't show any error... That's why I am wondering if it's not a limitation issue... or memory issue, because they are maybe too many rows or something....
    The c value is not calculated.

  • Verticle lines in the script

    HI all.
    I have an issue in the script printing.
    we are printing a table in the layout using the script.
    in this table how to get the Verticle lines, inbetween the coloumns.
    can any body help me to solve this issue.
    Thanks in advance,
    regards,
    Eswar

    u can use box but for vertical line give width 0.
    Pre-Setting BOX Position Arguments
    You can use the POSITION and SIZE commands to preset some arguments in the BOX command. POSITION presets the start point (upper left corner) of a box or line. SIZE specifies the width and height of a box.
    You can use POSITION and SIZE to preset arguments, but you can also set the start point and size arguments of a box or line directly in the BOX command.
    By default, if no positioning is specified, the upper left corner of a box or halftone or the top of a line is aligned with current SAPscript window. That is, the upper left corner of the box, halftone, or line starts at the upper left corner of the current window in the active form. By default, the height and width of a box are set to the height and width of the current window.
    Use POSITION and SIZE to preset the arguments in a BOX command in the following situations:
    The BOX command exceeds the 132-character (1 line in SAPscript) length limitation if you specify all arguments directly in the command. You may exceed this length limit if, for example, you use symbols in a command.
    By pre-setting arguments with POSITION and SIZE, you can work around the limitation on the length of a command. You do not need to specify the preset arguments in the BOX command.
    You want to use the enhanced capabilities of POSITION for adjusting the starting point of a box or line.
    With BOX, you can specify an offset for the starting point only as a whole number (non-negative integer). This command would print a box starting 1 CM to the right and 1 CM down from the left upper corner of a window:
    /: BOX XPOS '1' CM YPOS '1' CM
    With POSITION; you can adjust the position of a line or box relative to a window much more precisely. In the POSITION command, you can specify positive and negative offsets and use non-integer numbers.
    Example: The commands shown below position a box slightly to the left and slightly above a window. This leaves a margin between the edge of the box and the text in the window.
    /: POSITION XORIGIN '-.2' CM YORIGIN '-.2' CM
    /: SIZE WIDTH '.2' CM HEIGHT '.2' CM
    /: BOX FRAME 10 TW
    (Note that the box must be enlarged to accommodate the shift. If it is not enlarged, then it will not cover all of the window.)
    You can also use POSITION to set the starting point to the upper left corner of the active page format. Example: POSITION PAGE moves the starting point from the active window to the active page format.
    You want to use the relative sizing capabilities of SIZE to adjust the size of a box, line, or halftone.
    With BOX, you can make only absolute size specifications. BOX HEIGHT, for example, overrides the default height setting to the height of the current window.
    With SIZE, you can adjust the size of a box or a line with respect to its previously-set dimensions. The following commands would, for example, draw a frame 1 CM in from the margins of the paper:
    /: POSITION PAGE
    /: POSITION XORIGIN 1 CM YORIGIN 1 CM
    /: SIZE PAGE
    /: SIZE HEIGHT '-2' CM WIDTH '-2' CM

  • Internet Explorer 11: Script Error - An error has occurred in the script on this page? Line: 9, Char: 6, Error: 'animationScript' is undefined ...

    Using Internet Explorer 11:
    Suddenly, about two days ago, I started getting a Script Error message from almost every page I visit on Internet Explorer 11 and now it has affected my printing while in my Outlook/Hotmail account?  What is an absolute fix for this irritating
    Script Error message? I have to use Firefox to get by this problem which I do not much care for. What can I do to resolve this problem ASAP?
    Here is one full Script Error Message
    "An error has occurred in the script on this page.
    Line:     9
    Char:    6
    Error:  'animationScript' is undefined
    URL:   
    https://sc.imp.live.com/content/dam/imp/surfaces/mail_signin/3/mai/EN-CA
    Do you want to continue running scripts on this page?
               Yes    No
    Can someone please, please help me.  I have tried many things - doing a Restore, running Microsoft Safety Scanner.  Checking my Tools>Internet Options.  Running FixMeStick.  Nothing works to fix this problem.  Please what is the
    correct answer to this problem.  I have had to switch temporarily to Firefox to get by this Script Error Message.
    - thanks - needhelpnowbfm

    Windows version is...?
    What pages are giving you problems? [post links to same]
    Are you getting the script errors only when attempting to print or...?
    Has your printer's manufacturer confirmed that your currently installed printer software is IE11-compatible (yet)?
    ~Robear Dyer (PA Bear) MS MVP-Windows Client since 2002 Disclaimer: MS MVPs neither represent nor work for Microsoft

  • How to "commit" only certain lines of code in the script file?

    Hi there,
    Is there a way to execute only certain lines of code in the script file without executing all the code in it. Wihtout using the comment syntax.
    e.g: there are lines to create views and in the next set of line there are lines to create procedures. I only want to execute the lines that create views.

    another workaround is to create a procedure that accepts parameters. such that the parameter will be the basis for what objects in your conditions that it should met to perform the operations that conform with your business rules. an example is given below.
      create or replace procedure create_object(pObjectType varchar2) as
      begin
        if pObjectType = 'VIEW' then
        elsif pObjectType = 'PROCEDURE' then
        else
        end if;
      end;

  • Hello need vertical  lines in the script

    Dear ABAP GURUS,
         I need to draw verticle lines in the script as a tabel, i have drawn the horizontal lines. I heard that there is the the function module to draw the verticle lines but how is that possible to use in the script. Plwase help me out in drawing the vericle lines, i Have tried using the vline but no use.

    Hi Soni,
      Its very easy to draw the vertical lines in a script.  Use BOX statement to draw the same.  Check out the syntax for BOX statement.  Give the 'Y' coordinate only and do not mention 'X' coordinate.  So that the box will appear as a vertical line.  Check it.
    Boxes, Lines, Shading: BOX, POSITION, SIZE
    The BOX, POSITION and SIZE commands for drawing boxes, lines and shadowing can be used for specifying that within a layout set particular windows or passages of text within a window are to be output in a frame or with shadowing.
    The SAP printer drivers that are based on page-oriented printers (the HP LaserJet driver HPL2, the Postscript driver POST, the Kyocera Prescribe driver PRES) employ these commands when outputting. Line printers and page-oriented printers not supported in the standard ignore these commands. The resulting printer output may be viewed in the SAPscript print previewer.
    Syntax:
    1. /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    2. /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    3. /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    BOX Command
    Syntax
    /: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
    Effect: draws a box of the specified size at the specified position.
    Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT and FRAME both a measurement and a unit of measurement must be specified. The INTENSITY parameter should be specified as a percentage between 0 and 100.
    1. XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
    Default: Values specified in the POSITION command.
    The following calculation is performed internally to determine the absolute output position of a box on the page:
    X(abs) = XORIGIN + XPOS
    Y(abs) = YORIGIN + YPOS
    2. WIDTH: Width of the box. Default: WIDTH value of the SIZE command.
    3. HEIGHT: Height of the box. Default: HEIGHT value of the SIZE command.
    4. FRAME: Thickness of frame.
    Default: 0 (no frame).
    5. INTENSITY: Grayscale of box contents as % .
    Default: 100 (full black)
    Measurements: Decimal numbers must be specified as literal values (like ABAP numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
    Units of measurement: The following units of measurement may be used:
    • TW (twip)
    • PT (point)
    • IN (inch)
    • MM (millimeter)
    • CM (centimeter)
    • LN (line)
    • CH (character).
    The following conversion factors apply:
    • 1 TW = 1/20 PT
    • 1 PT = 1/72 IN
    • 1 IN = 2.54 CM
    • 1 CM = 10 MM
    • 1 CH = height of a character relative to the CPI specification in the layout set header
    • 1 LN = height of a line relative to the LPI specification in the layout set header
    /: BOX FRAME 10 TW
    Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
    /: BOX INTENSITY 10
    Fills the window background with shadowing having a gray scale of 10 %.
    /: BOX HEIGHT 0 TW FRAME 10 TW
    Draws a horizontal line across the complete top edge of the window.
    /: BOX WIDTH 0 TW FRAME 10 TW
    Draws a vertical line along the complete height of the left hand edge of the window.
    /: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
    /: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    /: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
    Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
    POSITION Command
    Syntax
    /: POSITION [XORIGIN] [YORIGIN] [WINDOW] [PAGE]
    Effect: Sets the origin for the coordinate system used by the XPOS and YPOS parameters of the BOX command. When a window is first started the POSITION value is set to refer to the upper left corner of the window (default setting).
    Parameters: If a parameter value does not have a leading sign, then its value is interpreted as an absolute value, in other words as a value which specifies an offset from the upper left corner of the output page. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value. If one of the parameter specifications is missing, then no change is made to this parameter.
    1. XORIGIN, YORIGIN: Origin of the coordinate system.
    2. WINDOW: Sets the values for the left and upper edges to be the same of those of the current window (default setting).
    3. PAGE: Sets the values for the left and upper edges to be the same of those of the current output page (XORIGIN = 0 cm, YORIGIN = 0 cm).
    /: POSITION WINDOW
    Sets the origin for the coordinate system to the upper left corner of the window.
    /: POSITION XORIGIN 2 CM YORIGIN '2.5 CM'
    Sets the origin for the coordinate system to a point 2 cm from the left edge and 2.5 cm from the upper edge of the output page.
    /: POSITION XORIGIN '-1.5' CM YORIGIN -1 CM
    Shifts the origin for the coordinates 1.5 cm to the left and 1 cm up.
    SIZE Command
    Syntax
    /: SIZE [WIDTH] [HEIGHT] [WINDOW] [PAGE]
    Effect: Sets the values of the WIDTH and HEIGHT parameters used in the BOX command. When a window is first started the SIZE value is set to the same values as the window itself (default setting).
    Parameters: If one of the parameter specifications is missing, then no change is made to the current value of this parameter. If a parameter value does not have a leading sign, then its value is interpreted as an absolute value. If a parameter value is specified with a leading sign, then the new value of the parameter is calculated relative to the old value.
    1. WIDTH, HEIGHT: Dimensions of the rectangle or line.
    2. WINDOW: Sets the values for the width and height to the values of the current window (default setting).
    3. PAGE: Sets the values for the width and height to the values of the current output page.
    /: SIZE WINDOW
    Sets WIDTH and HEIGHT to the current window dimensions.
    /: SIZE WIDTH '3.5' CM HEIGHT '7.6' CM
    Sets WIDTH to 3.5 cm and HEIGHT to 7.6 cm.
    /: POSITION WINDOW
    /: POSITION XORIGIN -20 TW YORIGIN -20 TW
    /: SIZE WIDTH +40 TW HEIGHT +40 TW
    /: BOX FRAME 10 TW
    A frame is added to the current window. The edges of the frame extend beyond the edges of the window itself, so as to avoid obscuring the leading and trailing text characters.
    Thanks & regards
    Kishore Kumar Maram

  • SQL Server upgradation Issue : 2012 to 2014. A job step received an error at line 1 in a PowerShell script. The corresponding line is 'set-executionpolicy RemoteSigned -scope process -Force'. Correct the script and reschedule the job.

    Message
    Executed as user: CORPTST\XXXXX. A job step received an error at line 1 in a PowerShell script. The corresponding line is 'set-executionpolicy RemoteSigned -scope process -Force'. Correct the script and reschedule the job. The error information returned
    by PowerShell is: 'Security error.  '.  Process Exit Code -1.  The step failed.
    I receive this error during the sql server job 'syspolicy_purge_history' execution  when sql server got upgraded form SQL Server 2008 to 2014.

    Hi Vishnu,
    According to the error message, it also occurs in SQL Server 2012.  Here is a feedback about the error in the link below.
    https://connect.microsoft.com/SQLServer/feedback/details/754063/sql-server-2012-syspolicy-purge-history-job-step-3-fails-with-security-error
    To resolve this issue, please change the value of the following registry key from ‘RemoteSigned’ to ‘Unrestricted’. For more details, you can review this similar
    blog.
    HKLM\SOFTWARE\Microsoft\PowerShell\1\ShellIds\Microsoft.SqlServer.Management.PowerShell.sqlps120\ExecutionPolicy
    Thanks,
    Lydia Zhang

  • TS2570 Still cant access my computer, followed instructions to perform a safe boot and last line of script it shows: BootCacheControl: Unable to open /Var/db/BootCache.playlist:2 No such file or directory. Any idea?

    Brand new Mac Book Pro
    Purchased in Mexico's Department store Liverpool on June 20th 2012
    Purchased Memory upgade to 8Gb, on june 27th, at Apple Store Memorial City, Houston
    Upgraded memory from 4Gb to 8Gb on June 28th.
    Tried to write on my external HD (previously written on a windows based PC) with no success.
    Upon reccomendation from a Mac assistant, copied all my external HD contents into my Mac Hard drive.
    Then formatted my external HD and copied back all my information to it.
    deleted all the  information from my MacBook Pro HD.
    Attempted to repeat the same operation with another external HD, but got a message saying there was not enough epace on the computer HD (even though I have a 750Gb Hard Drive.
    Looked in the trash bin and there it was, all the information previously deleted..
    Could not empty the trash bin, although I got a message asking me to safely delete all the information from the trash bin,
    Could not get enough space released, after several attpempts the trash bin was finally emptied.
    All happy getting acquainted with my new MacBook Pro. Two days later, got a gray screen and not able to start the computer.
    Looking in to Mac support I found article http://support.apple.com/kb/TS2570 and followed instructions to perform a safe boot:
    "Perform a Safe Boot
    Simply performing the Safe Boot may resolve this issue.
    Shut down your Mac. If necessary, hold your Mac's power button for several seconds to force it to power down.
    Start your Mac, then immediately hold the Shift key. This performs a Safe Boot. Advanced tip: If you want to
    see the status of a Safe Boot as it progresses, you can hold Shift-Command-V during start up (instead of just Shift).
    Note: A Safe Boot takes longer than a typical start up because it includes a disk check and other operations.
    The following is the script that appears on the screen upon safe boot. and halt after the last line.
    AppleACPICPU:Processor Id=6 LocalAplicId=255 Disabled
    AppleACPICPU:Processor Id=7 LocalAplicId=255 Disabled
    AppleACPICPU:Processor Id=8 LocalAplicId=255 Disabled
    calling mpo_policy_init for TMSafetyNet
    Security policy loaded: Safety net for Time Machine (TMSafetyNet)
    calling mpo_policy_init for Sandbox
    Security policy loaded: Seatbelt sandbox policy (Sandbox)
    calling mpo_policy_init for Quarantine
    Security policy loaded: Quarantine Policy (Quarantine)
    Copyright (c) 1982, 1986, 1989, 1991, 1993
            The Regents of the University of California. All Rights Reserved.
    MAC Framework Succesfully initializad
    using 16384 buffer headers and 10240 cluster IO buffer headers
    IOAPIC: Version 0x20 Vextors 64:87
    ACPI: System State [SO S3 S4 S5] (S3)
    PFM64 (36cpu) 0xf10000000, 0xf0000000
    Aplconsole relocated to 0xf1000000
    PCI configuration changed (bridge=16 device=4 cardbus=0)
    [ PCI configuration end, bridges 12 devices 16 ]
    Firewire (OHCI) Lucent ID 5901 built-in now active, GUID 3c0754fffe9b2aa2; max speed s800.
    Pthread support ABORTS when sync kernel primitives misused
    com.apple.AppleFSCompressionTypeZlib kmod start
    com.apple.AppleFSCompressionTypeDataless kmod start
    com.apple.AppleFSCompressionTypeZlib load succeeded
    com.apple.AppleFSCompressionTypeDateless load succeeded
    AppleIntelCPUPowerManagementClient: ready
    BTCOEXIST off
    wl0: Broadcom BCM4331 802.11 Wireless controller
    5.100.98.75
    AppleUSBMultitouchDriver::checkStatus - received Status Packet, Payload 2: device was reinitializad
    rooting via boot-uuid from /chosen: 6E918706-FC0D-37460-A3A0-6268A51DF93B
    Waiting on <dict ID="0"><key><string ID="1">IOResources</string><key>IOResourceMatch</key><string ID="2">boot-uuid-media</string></dict>
    Got boot device = IOService:/AppleACPIPlatformExpert/PCI0@0/AppleAPIPCI/SATA@1F,2/AppleIntelPchSe riesAHCI/PRT0@0/AOAHCIDevice@0/AppleAHCIDiskDriver/IOAHCIBlock
    storageevice /IoBlockStorageDriver/TOSHIBA MK7559GSXF Media/IOGUIDPartit
    BSD root: disk0s2, major 14, minor 2
    Kernel is LP64
    com.apple.launchd 1   com.apple.launchd 1   *** launchd[1] has started up. ***
    com.apple.launchd 1   com.apple.launchd 1   *** Verbose boot, will log to /dev/console. ***
    Running fsck on the boot volume...
    ** /dev/rdisk0s2 (NO WRITE)
    ** Root file system
       Executing FSCK_HFS (version diskdev_cmds-540.1~25).
    BootCacheControl: UNable to open /Var/db/BootCache.playlist:2 No such file or directory
    launchctl:Dubious permissions on file (skipping): /Library/LaunchDaemons
    launchctl:Dubious permissions on file (skipping): /System/Library/LaunchDaemons
    Any help or suggestions on what to do next would be welcomed.
    I am in the middle of the Atlantick, stuck with a brand new, non working Apple MacBook Pro.
    Best regards
    Sergio Ramos

    Reinstalling MacOS does NOT fix the problem for me.  I'm still searching a solution !
    Bernard

  • Error while executing the script adgetlnxver.sh

    Error while executing the script adgetlnxver.sh on apps&db tier during upgrade from 11.5.9 to 11.5.10.2
    -bash: [: -lt: unary operator expected
    [aptinst@dba5 TINST_dba5]$ sh adapcctl.sh restart
    adapcctl.sh version 115.55
    /u01/app/tinst/tinstappl/ad/11.5.0/bin/adgetlnxver.sh: line 123: [: -lt: unary operator expected
    Apache Web Server Listener :httpd ( pid 8645 ) is running.
    Restarting the Apache Web Server Dedicated HTTP Listener..
    Apache Web Server Listener (PLSQL) :httpd ( pid 8673 ) is running.
    Restarting the Apache Web Server Dedicated PLSQL Listener..
    adapcctl.sh: exiting with status 0
    In adgetlnxver.sh: line 123 says
    if [ ${setflag}x = "x" -a $os = "RH" ]; then
    redhatver=`grep -oP "Enterprise Linux [a-z A-Z 0-9]* release [0-9]+" /etc/redhat-release | sed 's/Enterprise Linux [a-z A-Z 0-9]* release //g'`
    if [ $redhatver -lt 5 ]; then
    LD_ASSUME_KERNEL="2.4.19"
    export LD_ASSUME_KERNEL
    fi
    fi
    Thanks,
    Vamsi

    Hi Vamsi.
    The exactly erro refers to a problems when you try upgrade from these version to 11.5.10.
    Can you read this note and apply solution? The note refers a patch, but the problem is the same.
    After Patch 4334965, adstrtal.sh & adstpall.sh is failing with errors [ID 360046.1]
    BR Rafael Ceolim

  • I am getting an error report and not sure how to fix the script. Please help...

    I am using action script 3. I have html codes from ccbill that I am trying to make work with flash. Here is the script I am trying to use:
    import flash.net.URLRequest;
    var url:String = 'http://www.lexiefyfe.com/ccbill9001/index.htm';
    myButton.addEventListener(MouseEvent.CLICK, onOrderClick);
    function onOrderClick():void
          var request:URLRequest = new URLRequest(url);
          try {
                navigateToURL(request, '_blank');
          } catch (e:Error) {
                trace('An error occurred');
    Here is the code from ccbill:
    <A HREF="http://www.lexiefyfe.com/ccbill9001/index.htm"><img src="ccbutton.jpg"></A>
    This is the error report I am getting:
    Scene=photogallery, layer=buttons, frame=1, Line 1 Statement must appear within on handler
    Scene=photogallery, layer=buttons, frame=1, Line 3 Statement must appear within on handler
    Scene=photogallery, layer=buttons, frame=1, Line 5 Statement must appear within on handler
    Scene=photogallery, layer=buttons, frame=1, Line 7 A type identifier is expected after the ':'.
    Scene=photogallery, layer=buttons, frame=1, Line 9 The class or interface 'flash.net.URLRequest' could not be loaded.
    Scene=photogallery, layer=buttons, frame=1, Line 7 Statement must appear within on handler
    If anyone can help me with this issue I would be most grateful.
    Thank you for any consideration,
    Thomas

    You have a mixture of things going on... AS3 code in an AS2 setting.  Those are all AS2 error messages, and they are indicating you have placed the code on the buttons.  To use that code, it must be placed on the timeline, and your Flash Publish Settings need to have AS3 specified instead of AS2.  AS3 does not allow code to be placed on objects like AS2 does.

  • How to change the script event?!?

    Here I have a small form with two different parts...
    The first part is a table containing many checkboxes to be able to show whatever form you want to fill up..
    All of the checkboxes create a form into a table which each row represents the form to fill-up.
    When you click 1 checkbox, it adds a row to the table with some values needed for the form..
    In that form there is a chance to have 2 or 3 radiobuttons, depending on the checkedbox which each do something different..
    the 1st one hides a new table to fill up information (under the radiobuttons),
    the 2nd one shows up the new table with some values to show instructions into labels...
    the 3rd one shows up the new table with some other values to show different instructions into labels.. (This radiobutton is only in half of the forms, so it is hidden)
    those labels must be different for each checkbox chosen
    instead of making a huge script in my radiobutton change event, and writing all the different possibilites
    i'd rather create the script depending on the checkedbox the user have chosen...
    Right now I'm using something like : this.resolveNode("...radiobuttonList").event__change.script.value = "--_ Write all the new code here_--";
    After this line is written and everything is working... I show up a messageBox to see the result which is all correct..
    But when I'm clicking on the radiobuttons nothing is working at all...
    the only code working is the initial code written in the event
    Anyone have an idea if I'm missing something?!?
    Thanks!

    Actually this is not what i was looking for, I really need to change the script...
    e.g. I have a button in a expandable table and i want each buttons to have a different messagebox....
    when the button is created a new script is assigned to the event_click...
    This is what im looking for...
    Looks like LiveCycle Designer is not able to change the scripts events even though the property is there and is a "get" & "set"
    so I should be able to change script event.... but I think i need to reload/recreate the form by using the modified code...

  • Powershell Change date to the first day of last month whenever i run the script.

    If I run the script on 2/4/2013 or any other day in February I want the date to be change to 1/1/2013. I am replacing date on line 59 with this value.
    Get the content of the CMS Script.
    $CMSReport = Get-content C:\reports\CMSReport.acsauto
    Go to line 59 and replace the date for Last Month date.
    $CMSReport[58] = $CMSReport[58] -replace "([1-9]|0[1-9]|1[012])- /.- /.\d\d", [datetime]::Today.ToShortDateString() $CMSReport | Set-Content C:\reports\testCMS.acsauto
    Run the CMS script
    Invoke-Expression -command "c:\reports\testCMS.acsauto"

    PS C:\> $lastMonth = (get-date).AddMonths(-1)
    PS C:\> $firstDayOfLastMonth = get-date -year $lastMonth.Year -month $lastMonth.Month -day 1
    PS C:\> "{0:yyyy-MM-dd}" -f $firstDayOfLastMonth
    2013-01-01
    Bill
    Hello AbqBill,
    Thanks for getting me there. I am a lot closer to the final goal. I input what you suggested and I am getting different results as you. here what I did.
    $LastMonth = (Get-Date).AddMonths(-1)
    $FirstDayofLastMonth = Get-Date -year $LastMonth.year -month $LastMonth.month -day 1
    $CMSReport = Get-content C:\reports\CMSReport.acsauto
    $CMSReport[58] = $CMSReport[58] -replace "([1-9]|0[1-9]|1[012])[- /.]([1-9]|0[1-9]|[12][0-9]|3[01])[- /.](19|20)\d\d", "{0:dd/MM/yyyy}" -f $FirstofLastMonth
    $CMSReport | Set-Content C:\reports\testCMS.acsauto
    I get 12/1/2013. Which bring me to 2 questions. How will this solve when it is January and it has to put last month last year? and why is it going back two month instead of 1?

  • Data access error while running  the script in fdm workbench script editor

    Hello Experts,
    I have been getting the error when i run the script in script editor of fdqm workbench client.this is the error
                              -2147467259 Data access error and it is navigating the error at line 30 about this script "Set rsAppend = DW.DataAccess.farsTable(strWorkTableName)"
    Please revert me asap where i should load the data from peoplesoft to one of my planning database through fdm.
    Thanks in advance...

    Hi,
    Thanks for your suggestion's here i am going to run the datapump script so while i am running in workbench it is throwing data access error.So as you guy's suggested i created one import format and added this script to that import format which is added to one of my location even it is throwing the same error.I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?So my question is Is there any difference while running data pump or integration script.Please let me know a detailed navigation steps to run this script's with out data access error to run these kind of scripts.
    Note:Again my target is to load the data to planning database through fdqm which i am doing through sql statement's.
    Suggest your valuable suggestion's
    Thanks in advance...
    I am getting the error at this sentence   "strWorkTableName" I want to know what is this where it reflect's?

  • Send Welcome Email to New User using the Scripting Agent

    Hi
    I require some assistance please.  I have found a number of scripts online to send a Welcome Email to new users whereby they make use of the ScriptingAgent.xml file.
    I like the way the scripts have been configured and have mashed up one or two scripts together for my desired result however when testing in my lab (Exchange 2013) I have found tow problems.
    The problems are:
    1. When creating a new user and mailbox (New-Mailbox) via the ECP the script throws out an error which I will post later in this post. The mailbox is created fine but it does not send out a welcome email.  When a user is created in ADUC and then a mailbox
    is created (Enable-Mailbox) the welcome email is sent out correctly.
    2. In the script i have a section to check for NewUser00 in the HTML file and replace that with the Users Name and Surname, however this does not work correctly, I just come up blank:
    The Script:
    <?xml version="1.0" encoding="utf-8" ?>
    <Configuration version="1.0">
    <Feature Name="WelcomeEmail" Cmdlets="New-Mailbox,Enable-Mailbox">
    <ApiCall Name="OnComplete">
    if($succeeded) {
    # Waiting for synchronization after mailbox has been created.
    Set-ADServerSettings -ViewEntireForest $true
    Start-Sleep -s 10
    # New-Mailbox triggered. Taking SamAccountName parameter.
    if ($provisioningHandler.UserSpecifiedParameters.Contains("SamAccountName") -eq $true) {
    $UsrSamAccountName = $provisioningHandler.UserSpecifiedParameters["SamAccountName"]
    $USRdfirst = $provisioningHandler.UserSpecifiedParameters["FirstName"]
    $USRdlast = $provisioningHandler.UserSpecifiedParameters["LastName"]
    $UsrAlias = (Get-Mailbox -Filter {SamAccountName -eq $UsrSamAccountName}).Alias.ToString()
    $USRdname = $USRdfirst + " " + $USRdlast
    # Enable-Mailbox triggered. Taking Identity parameter, this is the only one avalaible in this case.
    if ($provisioningHandler.UserSpecifiedParameters.Contains("Identity") -eq $true) {
    $UsrIdentity = $provisioningHandler.UserSpecifiedParameters["Identity"].ToString()
    $USRdfirst=$provisioningHandler.UserSpecifiedParameters["FirstName"]
    $USRdlast=$provisioningHandler.UserSpecifiedParameters["LastName"]
    $UsrAlias = (Get-Mailbox -Identity $UsrIdentity).Alias.ToString()
    $USRdname= $USRdfirst + " " + $USRdlast
    # Defining variables.
    $UsrAddr = (Get-Mailbox -Filter {Alias -eq $UsrAlias}).PrimarySmtpAddress.ToString()
    $UsrOU = (Get-Mailbox -Filter {Alias -eq $UsrAlias}).OrganizationalUnit
    # Sending email notification to the user in specific OU.
    if ($UsrOU -match "Contoso.com") {
    # HR #
    $fromHR="[email protected]"
    $SubjectHR="'Welcome to Contoso'"
    $BodyHR = [string] (get-content ("c:\welcome\WelcomeMSG.htm"))
    $BodyHR = $BodyHR -replace "NewUser00",$USRdname
    $fileHR = "c:\welcome\WelcomeMSG.htm"
    $smtp="192.168.x.x"
    Send-MailMessage -From $fromHR -To $UsrAddr -Subject $SubjectHR -Body $BodyHR -BodyAsHtml -Encoding ([System.Text.Encoding]::UTF8) -SmtpServer $Smtp
    # Clearing variables. Each one in its own line in order to prevent error messages from being shown on EMC.
    if ($UsrAlias) { Remove-Variable UsrAlias }
    if ($UsrAddr) { Remove-Variable UsrAddr }
    if ($UsrOU) { Remove-Variable UsrOU }
    if ($UsrMsg) { Remove-Variable UsrMsg }
    if ($UsrIdentity) { Remove-Variable UsrIdentity }
    if ($UsrSamAccountName) { Remove-Variable UsrSamAccountName }
    </ApiCall>
    </Feature>
    </Configuration>
    The Error for issue 1:
    The cmdlet extension agent with the index 5 has thrown an exception in OnComplete().
    The exception is: Microsoft.Exchange.Provisioning.ProvisioningException: ScriptingAgent:
    Exception thrown while invoking scriptlet for OnComplete API: You cannot call a method on a
    null-valued expression.. ---> System.Management.Automation.RuntimeException:
    You cannot call a method on a null-valued expression. at CallSite.Target(Closure , CallSite , Object ) at
    System.Dynamic.UpdateDelegates.UpdateAndExecute1[T0,TRet](CallSite site, T0 arg0) at
    System.Management.Automation.Interpreter.DynamicInstruction`2.Run(InterpretedFrame frame) at
    System.Management.Automation.Interpreter.EnterTryCatchFinallyInstruction.Run(InterpretedFrame frame)
    --- End of inner exception stack trace --- at Microsoft.Exchange.ProvisioningAgent.ScriptingAgentHandler.OnComplete(Boolean succeeded, Exception e)
    at Microsoft.Exchange.Provisioning.ProvisioningLayer.OnCompleteImpl(Task task, Boolean succeeded, Exception exception)
    Any assistance in resolving these two issues will be really appreciated

    Ok I am gonna to answer my own question.
    I have persevered through the day and have resolved my two issues.  I hope this assist others within the community.
    Script:
    <?xml version="1.0" encoding="utf-8" ?>
    <Configuration version="1.0">
    <Feature Name="WelcomeEmail" Cmdlets="New-Mailbox,Enable-Mailbox">
    <ApiCall Name="OnComplete">
    if($succeeded) {
    # Waiting for synchronization after mailbox has been created.
    Start-Sleep -s 30
    Set-ADServerSettings -ViewEntireForest $true
    # New-Mailbox triggered. Taking SamAccountName parameter.
    if ($provisioningHandler.UserSpecifiedParameters.Contains("Name") -eq $true) {
    $UsrSamAccountName = $provisioningHandler.UserSpecifiedParameters["Name"]
    $Usrname = (Get-Mailbox -identity $UsrSamAccountName | Select Name | foreach { $_.Name})
    $UsrString = $Usrname | Out-String
    $UsrAlias = (Get-Mailbox -Filter {Name -eq $UsrSamAccountName}).Alias.ToString()
    # Enable-Mailbox triggered. Taking Identity parameter, this is the only one avalaible in this case.
    if ($provisioningHandler.UserSpecifiedParameters.Contains("Identity") -eq $true) {
    $UsrIdentity = $provisioningHandler.UserSpecifiedParameters["Identity"].ToString()
    $Usrname = (Get-Mailbox -identity $UsrIdentity | Select Name | foreach { $_.Name})
    $UsrString = $Usrname | Out-String
    $UsrAlias = (Get-Mailbox -Identity $UsrIdentity).Alias.ToString()
    # Defining variables.
    $UsrAddr = (Get-Mailbox -Filter {Alias -eq $UsrAlias}).PrimarySmtpAddress.ToString()
    $UsrOU = (Get-Mailbox -Filter {Alias -eq $UsrAlias}).OrganizationalUnit
    # Sending email notification to the user in specific OU.
    if ($UsrOU -match "contoso.com") {
    # HR #
    $fromHR="[email protected]"
    $SubjectHR="'Welcome to CONTOSO'"
    $BodyHR = [string] (get-content ("c:\welcome\WelcomeMSG.htm"))
    $BodyHR = $BodyHR -replace "NewUser00",$UsrString
    $fileHR = "c:\welcome\WelcomeMSG.htm"
    $smtp="x.x.x.x"
    Send-MailMessage -From $fromHR -To $UsrAddr -Subject $SubjectHR -Body $BodyHR -BodyAsHtml -Encoding ([System.Text.Encoding]::UTF8) -SmtpServer $Smtp
    # Clearing variables. Each one in its own line in order to prevent error messages from being shown on EMC.
    if ($UsrAlias) { Remove-Variable UsrAlias }
    if ($UsrAddr) { Remove-Variable UsrAddr }
    if ($UsrOU) { Remove-Variable UsrOU }
    if ($UsrMsg) { Remove-Variable UsrMsg }
    if ($UsrIdentity) { Remove-Variable UsrIdentity }
    if ($UsrSamAccountName) { Remove-Variable UsrSamAccountName }
    </ApiCall>
    </Feature>
    </Configuration>

  • Why all sudden I get "Safari is no longer responding because of a script on the webpage  Do you want to stop running the script, or let it continue"

    I havent uploaded, downloaded, installed, deleted anything new. I've followed any online forums to empty safari history, temp cache, safari cookies, rebooted, still the message comes up ever 3rd page I visit, or even just typing this out, it comes up after a typed line and half? Others on the net have had to reinstall or reformat their macbook. Seriously hoping I dont have to as its such a pain to reinstall exactly way I have it now.
    Suggestions? Other than throwing it off a bridge like i want to right now? thanks in advance
    Btw, im on mac os x 10.5.8 however when i go to update, says theres nothing new to update. Theres a whole drop down list of other versions, is that a bad thing?

    From your Safari menu bar click Safari then from the drop down menu select Preferences.
    Select the Security tab.
    Deselect:  Enable JavaScript
    Quit then relaunch Safari. If you don't see the script dialog again, reselect the JavaScript box in Preferences.

Maybe you are looking for