Saving dynamic SWF in current state

Hi all, unfortunately I am new to CF but need to figure out
something quickly since my client's hosting uses CF instead of PHP.
Sorry for cross-posting but I got no feedback from the other
forum.
I am making an editable ecard where the user can customize it
by dragging and dropping items. I'd like to save the swf to the
server and send the URL to other users via email.
My thoughts are that I save the properties of each
dragged/dropped item in an array and use loadvars to send a string
of the array to CF. Then CF can resend that info to a "holder" swf
and save it as a hyperlink to include in an email. Does this sound
right and is it possible? Otherwise, is there a way to save a
screen shot (JPEG/GIF) and email that?
Thanks.

Hi,
check the form properties.
There is a setting to preseve script changes.
Details about are explained in the video tutorial (3:10 min)
http://tv.adobe.com/watch/working-with-adobe-livecycle-es2/configuring-forms-to-preserve-s cripting-changes/

Similar Messages

  • Bug: Create New Document From Current State (Win 7 HomePremium SP1)

    1. Open a new document, any size you want, any bit mode you want
    2. Click on the Text tool and write something
    3. Add a new layer mask do the text layer and fill it black or something else. Just something you can visualize if you'd took it off.
    4. Unblock the layer mask from the layer so you can move tha layer mask separate from the text
    5. Go to your history pannel and click "Create new document from current state"
    Result: You'll notice that the layer mask is gone from your text, even though it had something in it.
    This only seems to happen with text layers
    Expected Result: Everything should stay exactly the same, as it's a duplicate from the current state.
    System Info:
    Adobe Photoshop Version: 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00) x32
    Operating System: Windows 7 32-bit
    Version: 6.1 Service Pack 1
    System architecture: AMD CPU Family:15, Model:11, Stepping:2 with MMX, SSE Integer, SSE FP, SSE2, SSE3
    Physical processor count: 2
    Processor speed: 2493 MHz
    Built-in memory: 3071 MB
    Free memory: 723 MB
    Memory available to Photoshop: 1674 MB
    Memory used by Photoshop: 100 %
    Image tile size: 132K
    Image cache levels: 4
    Photoshop crashed on 29-03-2012 at 19:49:02 (AllocateSharedGLResources)
    OpenGL Drawing: Enabled.
    OpenGL Drawing Mode: Advanced
    OpenGL Allow Normal Mode: True.
    OpenGL Allow Advanced Mode: True.
    OpenGL Allow Old GPUs: Not Detected.
    Video Card Vendor: ATI Technologies Inc.
    Video Card Renderer: ATI Radeon HD 4600 Series
    Display: 1
    Display Bounds:=  top: 0, left: 0, bottom: 768, right: 1360
    Video Card Number: 1
    Video Card: ATI Radeon HD 4600 Series
    OpenCL Unavailable
    Driver Version: 8.632.1.2000
    Driver Date: 20090817000000.000000-000
    Video Card Driver: atiumdag.dll,atidxx32.dll,atidxx64,atiumdva.cap,atiumd64,atiumd6a,atitmm64
    Video Mode: 1360 x 768 x 4294967296 colors
    Video Card Caption: ATI Radeon HD 4600 Series
    Video Card Memory: 512 MB
    Video Rect Texture Size: 8192
    Serial number: Tryout Version
    Application folder: C:\Program Files\Adobe\Adobe Photoshop CS6\
    Temporary file path: C:\Users\Motta\AppData\Local\Temp\
    Photoshop scratch has async I/O enabled
    Scratch volume(s):
      E:\, 228,7G, 28,9G free
    Required Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6\Required\
    Primary Plug-ins folder: C:\Program Files\Adobe\Adobe Photoshop CS6\Plug-ins\
    Additional Plug-ins folder: not set
    Installed components:
       A3DLIBS.dll   A3DLIB Dynamic Link Library   9.2.0.112  
       ACE.dll   ACE 2012/01/18-15:07:40   66.492997   66.492997
       adbeape.dll   Adobe APE 2012/01/25-10:04:55   66.1025012   66.1025012
       AdobeLinguistic.dll   Adobe Linguisitc Library   6.0.0  
       AdobeOwl.dll   Adobe Owl 2012/02/09-16:00:02   4.0.93   66.496052
       AdobePDFL.dll   PDFL 2011/12/12-16:12:37   66.419471   66.419471
       AdobePIP.dll   Adobe Product Improvement Program   6.0.0.1642  
       AdobeXMP.dll   Adobe XMP Core 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPFiles.dll   Adobe XMP Files 2012/02/06-14:56:27   66.145661   66.145661
       AdobeXMPScript.dll   Adobe XMP Script 2012/02/06-14:56:27   66.145661   66.145661
       adobe_caps.dll   Adobe CAPS   5,0,10,0  
       AGM.dll   AGM 2012/01/18-15:07:40   66.492997   66.492997
       ahclient.dll    AdobeHelp Dynamic Link Library   1,7,0,56  
       aif_core.dll   AIF   3.0   62.490293
       aif_ocl.dll   AIF   3.0   62.490293
       aif_ogl.dll   AIF   3.0   62.490293
       amtlib.dll   AMTLib   6.0.0.75 (BuildVersion: 6.0; BuildDate: Mon Jan 16 2012 18:00:00)   1.000000
       ARE.dll   ARE 2012/01/18-15:07:40   66.492997   66.492997
       AXE8SharedExpat.dll   AXE8SharedExpat 2011/12/16-15:10:49   66.26830   66.26830
       AXEDOMCore.dll   AXEDOMCore 2011/12/16-15:10:49   66.26830   66.26830
       Bib.dll   BIB 2012/01/18-15:07:40   66.492997   66.492997
       BIBUtils.dll   BIBUtils 2012/01/18-15:07:40   66.492997   66.492997
       boost_date_time.dll   DVA Product   6.0.0  
       boost_signals.dll   DVA Product   6.0.0  
       boost_system.dll   DVA Product   6.0.0  
       boost_threads.dll   DVA Product   6.0.0  
       cg.dll   NVIDIA Cg Runtime   3.0.00007  
       cgGL.dll   NVIDIA Cg Runtime   3.0.00007  
       CIT.dll   Adobe CIT   2.0.5.19287   2.0.5.19287
       CoolType.dll   CoolType 2012/01/18-15:07:40   66.492997   66.492997
       data_flow.dll   AIF   3.0   62.490293
       dvaaudiodevice.dll   DVA Product   6.0.0  
       dvacore.dll   DVA Product   6.0.0  
       dvamarshal.dll   DVA Product   6.0.0  
       dvamediatypes.dll   DVA Product   6.0.0  
       dvaplayer.dll   DVA Product   6.0.0  
       dvatransport.dll   DVA Product   6.0.0  
       dvaunittesting.dll   DVA Product   6.0.0  
       dynamiclink.dll   DVA Product   6.0.0  
       ExtendScript.dll   ExtendScript 2011/12/14-15:08:46   66.490082   66.490082
       FileInfo.dll   Adobe XMP FileInfo 2012/01/17-15:11:19   66.145433   66.145433
       filter_graph.dll   AIF   3.0   62.490293
       hydra_filters.dll   AIF   3.0   62.490293
       icucnv40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       icudt40.dll   International Components for Unicode 2011/11/15-16:30:22    Build gtlib_3.0.16615  
       image_compiler.dll   AIF   3.0   62.490293
       image_flow.dll   AIF   3.0   62.490293
       image_runtime.dll   AIF   3.0   62.490293
       JP2KLib.dll   JP2KLib 2011/12/12-16:12:37   66.236923   66.236923
       libeay32.dll   The OpenSSL Toolkit   0.9.8g  
       libifcoremd.dll   Intel(r) Visual Fortran Compiler   10.0 (Update A)  
       libmmd.dll   Intel(r) C Compiler, Intel(r) C++ Compiler, Intel(r) Fortran Compiler   10.0  
       LogSession.dll   LogSession   2.1.2.1640  
       mediacoreif.dll   DVA Product   6.0.0  
       MPS.dll   MPS 2012/02/03-10:33:13   66.495174   66.495174
       msvcm80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcm90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcp100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcp71.dll   Microsoft® Visual Studio .NET   7.10.3077.0  
       msvcp80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcp90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       msvcr100.dll   Microsoft® Visual Studio® 2010   10.00.40219.1  
       msvcr71.dll   Microsoft® Visual Studio .NET   7.10.3052.4  
       msvcr80.dll   Microsoft® Visual Studio® 2005   8.00.50727.6195  
       msvcr90.dll   Microsoft® Visual Studio® 2008   9.00.30729.1  
       pdfsettings.dll   Adobe PDFSettings   1.04  
       Photoshop.dll   Adobe Photoshop CS6   CS6  
       Plugin.dll   Adobe Photoshop CS6   CS6  
       PlugPlug.dll   Adobe(R) CSXS PlugPlug Standard Dll (32 bit)   3.0.0.383  
       PSArt.dll   Adobe Photoshop CS6   CS6  
       PSViews.dll   Adobe Photoshop CS6   CS6  
       SCCore.dll   ScCore 2011/12/14-15:08:46   66.490082   66.490082
       ScriptUIFlex.dll   ScriptUIFlex 2011/12/14-15:08:46   66.490082   66.490082
       shfolder.dll   Microsoft(R) Windows (R) 2000 Operating System   5.50.4027.300  
       ssleay32.dll   The OpenSSL Toolkit   0.9.8g  
       tbb.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       tbbmalloc.dll   Intel(R) Threading Building Blocks for Windows   3, 0, 2010, 0406  
       TfFontMgr.dll   FontMgr   9.3.0.113  
       TfKernel.dll   Kernel   9.3.0.113  
       TFKGEOM.dll   Kernel Geom   9.3.0.113  
       TFUGEOM.dll   Adobe, UGeom©   9.3.0.113  
       updaternotifications.dll   Adobe Updater Notifications Library   6.0.0.24 (BuildVersion: 1.0; BuildDate: BUILDDATETIME)   6.0.0.24
       WRServices.dll   WRServices Friday January 27 2012 13:22:12   Build 0.17112   0.17112
       wu3d.dll   U3D Writer   9.3.0.113  
    Required plug-ins:
       3D Studio 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Accented Edges 13.0
       Adaptive Wide Angle 13.0
       ADM 3.11x01
       Angled Strokes 13.0
       Average 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Bas Relief 13.0
       BMP 13.0
       Chalk & Charcoal 13.0
       Charcoal 13.0
       Chrome 13.0
       Cineon 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Clouds 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Collada 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Color Halftone 13.0
       Colored Pencil 13.0
       CompuServe GIF 13.0
       Conté Crayon 13.0
       Craquelure 13.0
       Crop and Straighten Photos 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Crop and Straighten Photos Filter 13.0
       Crosshatch 13.0
       Crystallize 13.0
       Cutout 13.0
       Dark Strokes 13.0
       De-Interlace 13.0
       Dicom 13.0
       Difference Clouds 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Diffuse Glow 13.0
       Displace 13.0
       Dry Brush 13.0
       Eazel Acquire 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Embed Watermark 4.0
       Entropy 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Extrude 13.0
       FastCore Routines 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Fibers 13.0
       Film Grain 13.0
       Filter Gallery 13.0
       Flash 3D 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Fresco 13.0
       Glass 13.0
       Glowing Edges 13.0
       Google Earth 4 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Grain 13.0
       Graphic Pen 13.0
       Halftone Pattern 13.0
       HDRMergeUI 13.0
       IFF Format 13.0
       Ink Outlines 13.0
       JPEG 2000 13.0
       Kurtosis 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Lens Blur 13.0
       Lens Correction 13.0
       Lens Flare 13.0
       Liquify 13.0
       Matlab Operation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Maximum 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Mean 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Measurement Core 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Median 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Mezzotint 13.0
       Minimum 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       MMXCore Routines 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Mosaic Tiles 13.0
       Multiprocessor Support 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Neon Glow 13.0
       Note Paper 13.0
       NTSC Colors 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Ocean Ripple 13.0
       Oil Paint 13.0
       OpenEXR 13.0
       Paint Daubs 13.0
       Palette Knife 13.0
       Patchwork 13.0
       Paths to Illustrator 13.0
       PCX 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Photocopy 13.0
       Photoshop 3D Engine 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Picture Package Filter 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Pinch 13.0
       Pixar 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Plaster 13.0
       Plastic Wrap 13.0
       PNG 13.0
       Pointillize 13.0
       Polar Coordinates 13.0
       Portable Bit Map 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Poster Edges 13.0
       Radial Blur 13.0
       Radiance 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Range 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Read Watermark 4.0
       Reticulation 13.0
       Ripple 13.0
       Rough Pastels 13.0
       Save for Web 13.0
       ScriptingSupport 13.0
       Shear 13.0
       Skewness 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Smart Blur 13.0
       Smudge Stick 13.0
       Solarize 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Spatter 13.0
       Spherize 13.0
       Sponge 13.0
       Sprayed Strokes 13.0
       Stained Glass 13.0
       Stamp 13.0
       Standard Deviation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Sumi-e 13.0
       Summation 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Targa 13.0
       Texturizer 13.0
       Tiles 13.0
       Torn Edges 13.0
       Twirl 13.0
       U3D 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Underpainting 13.0
       Vanishing Point 13.0
       Variance 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Variations 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Viveza 2 2.0.2.10710
       Water Paper 13.0
       Watercolor 13.0
       Wave 13.0
       Wavefront|OBJ 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       WIA Support 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       Wind 13.0
       Wireless Bitmap 13.0 (13.0 20120305.m.415 2012/03/05:21:00:00)
       ZigZag 13.0
    Optional and third party plug-ins:
       Camera Raw 7.0
       Color Efex Pro 3.0 Complete 3.1.10.8263
       Color Efex Pro 4 NO VERSION
       Color Efex Pro 4 NO VERSION
       HDR Efex Pro 1,20
       HDR Efex Pro Metadata 1,20
       Merge to HDR Efex Pro 1,20
       Nik Selective Tool 2.1.0.15202
       Noiseware Professional 4.2.0.5
       Silver Efex Pro 2 2,0
       Silver Efex Pro 2 2,0
    Plug-ins that failed to load: NONE
    Flash:
       Mini Bridge
       Kuler
    Installed TWAIN devices: NONE

    Yep, that existed in CS5 as well.
    We'll log a bug on it.

  • Saving Dynamic PDF's

    I have a dynamic .pdf that pulls certain pages based on information passed through an URL. After that .pdf is created - is there a way to save it as a static .pdf so the form can remain in that current state?

    Acrobat 8 Professional includes LiveCycle Designer 8, so if the form was created with LiveCycle Designer 8 or older, the yes should have the option to edit the form. Acrobat 8 Professional under the menu option 'Forms' will have an option to open the form in LiveCycle Designer. If the form was created with a newer version, there could be some issues with newer features not available in version 8.

  • Create new document from current state not working

    Hey, everyone. I'm using Photoshop CS6 (ccloud) on Windows 7 and I just noticed something weird. Often when I'm working on an image that I want to duplicate, I'll click on the create new document from current state icon at the bottom of the history panel and a new image identical to it will open up as expected.
    Lately, though, every once in a while, when I click it, I'll get a new image that's not identical. It'll be a few states behind and I don't know why. It's never happened before and I'm not doing anything differently when it happens. I recently ran the CS6 update via ccloud, but I can't recall now if this started happening right before that or exclusively afterward.
    In case my issue's not clear, let's say I create a blank image, add a background color, add a layer of text, add a drop shadow to the text, then mask it. When I click the create new document from current state icon, instead of creating a new image that's a duplicate of that one, it will create new one where all that's there is the background color and text and all the other steps of adding a drop shadow and mask aren't there as if I hadn't done it yet.
    I make sure that I'm not clicking anywhere else in the history panel and like I said, this just happens at what seems like random times with random images. I've even tried saving an image, closing it, opening it again and immediately clicking that icon and it'll still create a new document that has missing states.
    Any idea what's going on?

    Yep, that existed in CS5 as well.
    We'll log a bug on it.

  • A better way to determine the current state of the FLVPlayback component?

    Below is the AS3 code I have used to display images (MCs) over an instance of the FLVPlayback component.  These images (one for loading, one for the title) are to appear – or disappear – according to the current state of the FLVPlayback component. 
    It “works,” but when testing, I have noticed that it can be rather finicky.  The most common issue that arises is that many times the loadPoster movieclip will still be visible even though the video has entered the playing state.
    Also, I wanted a title placeholder image to appear whenever the user stops the video or if the video completes.  However, I had to add the conditional statement to the “stoppedStateEntered” case to make everything appear when expected.  When the video is first viewed (and has completed buffering), it seems that the FLVPlayback component enters the stopped state before entering the playing state.  Thus, the titlePoster would flash on the screen right before it and the loadPoster “should” disappear when the video begins playing.
    Even in my limited testing, these issues were very easily re-created.  I am definitely looking for a more reliable solution.  Is there a better (or more correct) way to go about all this?  If possible, I would like to stick with the FLVPlayback component, just for the simple fact of not having to code my own.
    Where am I going wrong?
    function updateMoviePoster(event:VideoEvent):void
                    switch (event.type)
                                    case "playingStateEntered":
                                                    loadPoster.visible = false;
                                                    titlePoster.visible = false;
                                    break;
                                    case "stoppedStateEntered":
                                                    if (loadPoster.visible == false)
                                                                    titlePoster.visible = true;
                                    break;
                                    case "complete":
                                                    titlePoster.visible = true;
                                    break;
    myFLVPlayback.addEventListener(VideoEvent.PLAYING_STATE_ENTERED, updateMoviePoster);
    myFLVPlayback.addEventListener(VideoEvent.STOPPED_STATE_ENTERED, updateMoviePoster);
    myFLVPlayback.addEventListener(VideoEvent.COMPLETE, updateMoviePoster);

    Any suggestions?  I would truly appreciate the help.

  • Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data)

    Dear all,
    Can any one explain about this error,
    2014-11-02 19:19:29.58    *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) ***
    2014-11-02 19:19:29.58    *** Error: ExecuteNonQuery requires an open and available Connection. The connection's current state is closed.(System.Data) ***
    2014-11-02 19:19:29.58    Deleting log backup file. File: '\\Jdccb-mis\logshipping\JDCCBPROD_20141030134512.trn', Last Write Time (UTC): '10/30/2014 1:45:13 PM'
    2014-11-02 19:19:29.60    *** Error: Could not log history/error message.(Microsoft.SqlServer.Management.LogShipping) *****
    This errors comes on My Secondary server during log shipping and database goes to restore mode.
    satish Kumar

    Hi Krishnp,
    These are the latest jobs in queue:
    89 Quadro de Horários 28/6/2014 1:45  N/D Arquivar Configurações do Sistema Aguardando Processamento 0%  
     88 Quadro de Horários 28/6/2014 1:30  N/D Arquivar Modos de Exibição do Project Web App Aguardando Processamento 0%  
     87 Quadro de Horários 28/6/2014 1:00  N/D Arquivar Campos Personalizados Aguardando Processamento 0%  
    When I delete the last work automatically related are excluded.
    Currently the queue is 406 jobs.
    David Soares MCTS:MBS - MCTS - MCITP

  • I cannot re-open files that have been saved in Numbers version09 - it states "You need a newer version of numbers to open this document". This is the latest version

    I cannot re-open files that have been saved in Numbers version09 - it states "You need a newer version of numbers to open this document". This is the latest version & also the one I have created/saved???

    Jules,
    You may delete Numbers 08 if you wish, but some folks like keeping it around. Close all your Numbers docs and Quit the Numbers app, and the other Numbers app if necessary.Then click the Numbers icon on your doc. Then select Numbers > About Numbers, and in the window that pops up, see which version it is. If the Dock icon started Numbers 08, you can cure that by dragging that icon off the Dock and letting it go in a puff of virtual smoke.
    Now, to put the Numbers 09 icon on the Dock, double-click one of those known Numbers 09 documents so that Numbers 09 starts up. Verify by checkig Numbers > about Numbers.
    Now click and hold the Numbers Dock icon and select the Option for Keep in Dock.
    Jerry
    Message was edited by: Jerrold Green1 -- I inadvertently posted about Pages rather than Numbers. Just corrected it.

  • HELP! InDesign CC got an error: The property is not applicable in the current state." number 30615

    HELP! Was working perfectly now it is giving me this error and doesn't seem to be going past the printing option. Code is below.
    main.scpt
    set posixIdPath to "/Applications/Adobe InDesign CC/Adobe InDesign CC.app"
    do shell script "/Users/cdapice/Desktop/cryptoquip/getquip.sh"
    delay 8
    tell application posixIdPath
    activate
    end tell
    delay 8
    set scripttoRun to ":Users:cdapice:Desktop:cryptoquip:Script.jsx" as alias
    tell application "Adobe InDesign CC"
    do script scripttoRun language javascript
    end tell
    delay 5
    Adobe InDesign CC got an error: The property is not applicable in the current state." number 30615
    Script.jsx
    var myDocument = app.open(File("/Users/cdapice/Desktop/cryptoquip/NewCryptoquip.indt"), true);
    //var myDocument = app.activeDocument;
    var myPage = myDocument.pages.item(0);
    var myTextFrame = myPage.textFrames.add();
    //Place a text file in the text frame.
    //Parameters for TextFrame.place():
    //File as File object,
    //[ShowingOptions as Boolean = False]
    //You'll have to fill in your own file path.
    myTextFrame.place(File("/Users/cdapice/Desktop/cryptoquip/quips.txt"));
    //var myTextFrame = app.selection[0];
    myTextFrame.parentStory.pointSize = 10;
    var brkStory = myTextFrame.parentStory.contents;
    var myPIs = myDocument.pageItems;
    var  destTextFrame = myPIs[6];
    destTextFrame.parentStory.contents = brkStory;
    firstChange();
    myTextFrame.remove();
    app.select(destTextFrame);
    splitStory();
    for (i = 0; i < myPIs.length; i++) {
              if (myPIs[i].appliedObjectStyle.name == "puzzleBox") {
                        var newBoxStyle = myPIs[i].appliedObjectStyle;
                        secondChange(myPIs[i]);
            myPIs[i].applyObjectStyle(newBoxStyle,true);
        if(myPIs[i].appliedObjectStyle.name == "otherBox"){
            var newBoxStyle = myPIs[i].appliedObjectStyle;
            myPIs[i].applyObjectStyle(newBoxStyle,true);
    Date.prototype.getMonthFormatted = function() {
        var month = this.getMonth() + 1;
        var formMonth = month < 10 ? '0' + month : month; // ('' + month) for string result
              return formMonth.toString();
    Date.prototype.getDayFormatted = function() {
        var day = this.getDate();
        var formDay = day < 10 ? '0' + day : day; // ('' + day) for string result
              return formDay.toString();
    var newdate = new Date();
    var laterdate = new Date();
    var dayofweek = newdate.getDay();
    var offsetdays = 0;
    switch(dayofweek) {
        case 2:
            offsetdays = 6;
            break;
        case 3:
            offsetdays = 5;
            break;
        case 4:
            offsetdays = 4;
            break;
        case 5:
            offsetdays = 3;
            break;
    app.epsExportPreferences.appliedFlattenerPreset.convertAllStrokesToOutlines = true;
    app.epsExportPreferences.appliedFlattenerPreset.convertAllTextToOutlines = true;
    app.epsExportPreferences.appliedFlattenerPreset.rasterVectorBalance = 100;
    //app.activeDocument.exportFile(ExportFormat.epsType, newFile, false);
    for (i = 1; i < 7; i++) {
        var curPage = i + "";
        var x = i + (offsetdays - 1);
        laterdate.setMonth(newdate.getMonth());
        laterdate.setDate(newdate.getDate());
        //alert(newdate);
        //alert(x);
        //alert(laterdate);
        laterdate.setDate(newdate.getDate() + x);
        //alert(laterdate);
        var nameDate = laterdate.getMonthFormatted() + laterdate.getDayFormatted() + ".eps"
        //alert(nameDate);
        app.epsExportPreferences.pageRange = curPage;
        var curFile = new File("/Users/cdapice/Desktop/cryptoquip/" + nameDate);
        app.activeDocument.exportFile(ExportFormat.epsType, curFile, false);
    var endDate = laterdate.getMonthFormatted() + laterdate.getDayFormatted();
    var firstDate = new Date();
    firstDate.setDate(newdate.getDate() + offsetdays);
    var startDate = firstDate.getMonthFormatted() + firstDate.getDayFormatted();
    var idFile = "cryptoquip_" + startDate + "_" + endDate + ".indd";
    app.activeDocument.save(new File("/Users/cdapice/Desktop/cryptoquip/" + idFile));
    with (app.activeDocument.printPreferences){
            printer = "Advertising - Creative - Color Xerox";
            copies = 1;
            pageRange = "1-6";
            paperSize = "US Letter";
            paperHeight = "11 in";
            paperWidth = "8.5 in";
            printPageOrientation = PrintPageOrientation.landscape;
            pagePosition = PagePositions.centered;
           scaleHeight = 100;
           scaleWidth = 100;
            scaleMode = ScaleModes.scaleWidthHeight;
            scaleProportional = true;
            pageInformationMarks = true;
            colorOutput = ColorOutputModes.COMPOSITE_CMYK;
    app.activeDocument.print(false);
    for(myCounter = app.documents.length; myCounter > 0; myCounter--){
    app.documents.item(myCounter-1).close(SaveOptions.no);
    function firstChange() {
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
              app.findChangeTextOptions.caseSensitive = false;
        app.findTextPreferences.findWhat = "^t";
              app.changeTextPreferences.changeTo = "";
              myDocument.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
         app.findTextPreferences.findWhat = "^p^p";
              app.changeTextPreferences.changeTo = "^p";
              myDocument.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
              app.findTextPreferences.findWhat = "^p";
              app.changeTextPreferences.changeTo = "^R";
              myDocument.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
    function secondChange(curFrame) {
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
              app.findChangeTextOptions.caseSensitive = false;
        app.findTextPreferences.findWhat = "    ";
              app.changeTextPreferences.changeTo = "|";
              curFrame.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
         app.findTextPreferences.findWhat = " ";
              app.changeTextPreferences.changeTo = "";
              curFrame.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
              app.findTextPreferences.findWhat = "|";
              app.changeTextPreferences.changeTo = " ";
              curFrame.changeText();
              app.findTextPreferences = NothingEnum.NOTHING;
              app.changeTextPreferences = NothingEnum.NOTHING;
    function splitStory(){
              //Make certain that user interaction (display of dialogs, etc.) is turned on.
              app.scriptPreferences.userInteractionLevel = UserInteractionLevels.interactWithAll;
              if(app.documents.length != 0){
                        if(app.selection.length != 0){
                                  //Get the first item in the selection.
                                  var mySelection = app.selection[0];
                                  //Process the selection. If text or a text frame is
                                  //selected, do something; otherwise, do nothing.
                                  switch(mySelection.constructor.name){
                                            case "Text":
                                            case "InsertionPoint":
                                            case "Character":
                                            case "Word":
                                            case "Line":
                                            case "TextStyleRange":
                                            case "Paragraph":
                                            case "TextColumn":
                                            case "TextFrame":
                                                      //If the text frame is the only text frame in the story, do nothing.
                                                      if(mySelection.parentStory.textContainers.length > 1){
                                                                //Splitting the story is a two-step process: first, duplicate
                                                                //the text frames, second, delete the original text frames.
                                                                mySplitStory(mySelection.parentStory);
                                                                myRemoveFrames(mySelection.parentStory);
                                                      else{
                                                                alert("Please select a story containing more than one text frame and try again.");
                                                      break;
                                            default:
                                                      alert("Please select some text or a text frame and try again.");
                        else{
                                  alert("Please select some text or a text frame and try again.");
              else{
                        alert("Please open a document and try again.");
    function mySplitStory(myStory){
              var myTextFrame;
              //Duplicate each text frame in the story.
              for(var myCounter = myStory.textContainers.length-1; myCounter >= 0; myCounter --){
                        myTextFrame = myStory.textContainers[myCounter];
                        myTextFrame.duplicate();
    function myRemoveFrames(myStory){
              //Remove each text frame in the story. Iterate backwards to avoid invalid references.
              for(var myCounter = myStory.textContainers.length-1; myCounter >= 0; myCounter --){
                        myStory.textContainers[myCounter].remove();

    Hotfixes are special, out-of-band patches created to fix specific problems, so they are never published to Windows Update.  Often the hotfix gets incorporated into a released patch that is published on Windows Update.  If this hotfix was incorporated
    into a released patch, and you applied that patch to your system, the hotfix would see that its files are older than the latest files on the system and would give you this message.  Because the hotfix is not for general distribution, there is rarely documentation
    saying that it has been superceded.
    Generally there is a file list with a hotfix/patch that gives you the version number of the affected files.  You can go through those files to see that you have the latest files.  The problem is finding the actual patch that updated those files. 
    Without going through lots of patches, it is hard to find which patch made the hotfix obsolete.
    .:|:.:|:. tim

  • Error occurred in deployment step 'Add Solution': Operation is not valid due to the current state of the object

    hi,
      when i was trying to deploy a SP  solution from my vs 2012 solution. this error  is displayed.
    i tried many things like
    1) get the wsp and apply power shell cmds to add and deploy, here also it failed:
    Add-SPSolution -LiteralPath d:\mywsp.wsp
    Install-SPSolution mywsp.wsp -GacDeployment -AllWebApplications -Local
    2) restart the timer services and  do  iisreset and  reboot the server. etc .as mentioned in one of the  the below  blogs:
    http://sharepoint1on1.blogspot.in/2014/04/sharepoint-error-occurred-in-deployment.html
    http://suehernandez.wordpress.com/2011/03/31/error-occurred-in-deployment-step-activate-features-operation-is-not-valid-due-to-the-current-state-of-the-object/
    http://www.dotnetsharepoint.com/2014/04/error-occurred-in-deployment-step-add.html
    http://social.msdn.microsoft.com/Forums/en-US/63adde23-03cf-4b65-923e-1219da94a780/error-occurred-in-deployment-step-add-solution-operation-is-not-valid-due-to-the-current-state-of?forum=sharepointdevelopmentprevious
    http://www.shakirmajeed.com/error-occurred-in-deployment-step-activate-features-operation-is-not-valid-due-to-the-current-state-of-the-object/
    but even after doing all these steps, the  error still persists!. and am not deploying into a remote server, the dev env is in a VM, where sp 2013, vs 2012, sql 2012  are installed.
    just wanna share one  note:   there is a isue in my search admin component. index was reset due to some reason. and from that time onwards my search full/incremental crawls were not working!
    will this cause an issue in my wsp deployment ? i hope  it wont, still  asking...
    can anyone help me how to resolve this error.because this is a  show stopper for me for the last few days!
    help is highly appreciated!

    This issue cause because of feature activation failure while WSP deployment.
    when you create a WSP using visual studio, it creates WSP package with default deployment configuration settings.
    Please restrict feature activation configuration, this will help you to troubleshoot this issue.
    - Click on Project in WSP and press F4, it will open "Project Properties"
    - set "Active deployment Configuration" - as "No Activation"
    - you can activate this features in required sequence after deployment using Activate-SPFeature
    If my contribution helps you, please click Mark As Answer on that post and Vote as Helpful
    Thanks, ShankarSingh(MCP)

  • Error_27_Error occurred in deployment step 'Activate Features': Operation is not valid due to the current state of the object.

    I created a SharePoint 2013 farm solution project in Visual Studio 2013 (running on the same machine where SharePoint 2013 server is running) with
    event receiver.  I added web.config at project root level to store connection string (I'm working off external SQL DB) and got the following error during deployement:
    Error 27
    Error occurred in deployment step 'Activate Features': Operation is not valid due to the current state of the object.
    When I commented out the ConfigurationManager.ConnectionStrings["MyConnectionString"].ConnectionString; the error went away.  Am I missing something or not supposed to add my own App.config to SharePoint project solution? 

    Hi,
    From your description, you might want to store your connection string in web.config and there is an error during deployment.
    It is recommended to store the configuration data of SharePoint solution in either property bags or hierarchical object store.
    The links below will provide more information about this:
    http://blogs.msdn.com/b/zwsong/archive/2012/03/27/where-should-you-store-your-sharepoint-solution-s-configuration-data.aspx
    http://msdn.microsoft.com/en-us/library/ff647766.aspx
    Thanks
    Patrick Liang
    Forum Support
    Please remember to mark the replies as answers if they
    help and unmark them if they provide no help. If you have feedback for TechNet
    Subscriber Support, contact [email protected]
    Patrick Liang
    TechNet Community Support

  • My iPad2 no longer connects to my home wifi network but there is no problem connecting to other saved wifi networks. Currently using iOS8.0.2. with storage capacity of 12.2Gb but only 147Mb free. Disconnecting the router and rebooting the iPad worked

    My iPad2 no longer connects to my home wifi network but there is no problem connecting to other saved wifi networks. Currently using iOS8.0.2. with storage capacity of 12.2Gb but only 147Mb free. Disconnecting the router and rebooting the iPad worked briefly as a temporary fix but not anymore

    You could try this
    Temporarily disable security on your home network
    See if the iPad connects
    If it does then reset the security - with the same or different password

  • HT201250 When getting a replacement Seagate hard drive for my Imac through Apple, will they restore my system to it's current state? Or will I have to do it myself though Time Machine? Will Time machine restore all the programs as well?

    Apple has determined that certain Seagate 1TB hard drives used in 21.5-inch and 27-inch iMac systems may fail. These systems were sold between October 2009 and July 2011.
    Apple or an Apple Authorized Service Provider (AASP) will replace affected hard drives free of charge.
    Will this replacement program restore my system to its current state after the new drive is installed? If not, will I have to have all my original disks to re-install all the programs on my current computer, or will Time Machine restore them as well?

    Most of them will tell you to backup your data.
    Time Machine is nice, but unless you are interested in archival backup, Carbon Copy Cloner is a lot easier to recover from:
    https://discussions.apple.com/docs/DOC-1992

  • ABAP OO Dynpro - What is current state-of-the-art of this?

    Hello SDN Community,
    I am looking to determine the current state-of-the-art of ABAP OO Dynpro programming.
    I have extensively searched both with Google and within SDN.  Best thing I could find was two articles from Thomas Jung from SAP Labs --> "ABAP OO Mixed with Classic Dynpro (02/21/2005)"  and "OO ABAP Dynpro Programming (09/20/2005)".
    Has anyone done any further development of this concept since Thomas's posts?  If so, can anyone point me to any relevant articles, source codes, examples?
    Thank you,
    Dean Atteberry.

    Hi Dean,
    It's a hard question to answer in reality because WDA is a growing beast. Even though there are new technologies involved now it's still still classic WDA. WDA has always been built with OO in mind. The only difference these days is that the functionality has been changed to allow for more RIA (rich internet applications).
    You have started in the right by checking out Thomas's blogs as he is one of the leaders in WDA. You might want to also check out www.enterprisegeeks.com. 
    If this is not useful to you then I apologise. However, if I can help in a any other mate I will gladly do so.
    Regards,
    Neil.

  • Captioned Videos Saved as .swf not uploading

    Is there any way to upload a captioned video, saved as .swf,
    to the content library? I thought Adobe Connect Presenter was
    Section 508 compliant. This seems ridiculous if it can't be done. I
    work for the Govt and we have to abide by all Section 508
    guidelines, and this includes captioned videos! How are others
    doing this? I've also saved the files to my web server, which work
    as a progressive downloaded video, but on some older PCs the files
    get choppy.
    Any help would be much appreciated. Thanks!

    Thank you for the response!
    Actually, I finally realized (and i'm a little embarassed to admit) that when I click on the link for the pdf, my default program to open the file was set to Preview rather than adobe acrobat or reader.  So now that I have it set to Acrobat I see it ok.
    I have tested the swf file by itself and it does work.  The file uses the Page Turn transition affect, so the user needs to click the bottom right corner of each page to turn (or they can click and drag the page open).  I did notice when the pdf was opend the little note I included in the bottom right of the first page does not show (it reads "click here to turn page"- as a prompt for the user).  I may have to move that up a little bit so it shows.  Also, if you hover over the bottom right corner of the right page, you should start to see the page corner curl, this is hard to see at this point (you can see it great if you click the zoom in option once) Maybe i'll have to reduce the size of the swf when making it a pdf to see if that works so the user doesn't have to adjust the page to see the affect.
    I'll see how that works.
    Rebecca

  • The update operation is not allowed in the current state of the request

    When users have logged a request through the service manager 2012 portal and they go back in to add user input they sometimes receive a message that says " The update operation is not allowed in the current state of the request." The state of the
    request has not changed it is still Active and has not breached its service level .
    I can't seem to find any information about this error and don't know how to troubleshoot it. Any help and advice would be appreciated.
    Thanks
    Sarah

    ok, so they're adding user comments after creating the service request. looks like this:
    the first thing to check is that the user is added to the default, un-scoped "End User" security role, or the custom end user security role they are added to has a scope that includes all work items. The "user input" field adds a user comment related
    to the SR, so the ability to create user comments is required to use this field.

Maybe you are looking for

  • Solaris 10 Active Directory problem

    I've been battling through the integration of Active Directory on our Solaris 10 systems, and have reached another brick wall. I am able to getent passwd <user> and kinit <user> without any problems, but any attempt to su or login via SSH shows the f

  • Report Graph issue  in OBIEE 11.1.1.6

    Hi All, Reports with graphs which were working in OBIEE 11.1.1.3 and OBIEE 11.1.1.5 are not working in OBIEE 11.1.1.6. It displays only table views and in graph section it only displays prompt values without the graph. I have tried these reports from

  • Restoring backup from oracle10g to oracle9i

    Hi I am unable to restore the dump the backup taken from oracle 10g to oracle 9i.Pls can any one help me in solving this problem Thanks Chandrima

  • Multi boot lion and snow leopard

    Hello everyone, I'd like to know, how to show boot screen at every mac's reboot...  In practice I would like that the screen below remains visible for about 10 seconds.. Thanks for help! Alex

  • Can't get the updated Verizon Messages app to work on wifi as the update claims it will

    I received the update to the Verizon Messages app yesterday and when I opened it, it said the smartphone will now send and receive text messages over wifi when the cellular network is not available.  I have been unable to make this work and I contact