Call save the assigned content on TextFrame

Hello

I am trying to solve a situation... when the assigned story status is "currently in use and outdated". This is quite disturbing for the customer (more for developer) and could lead to an unwanted direction as - return old content and lose any changes you have entered. If you want to reproduce, it is very easy:

1. create assigned incopy of text block

2. save, save the document

3. discover history

4. enter content

5. save the document

-History is "In Use" at this point, everything is cool

6. Enter the content and click "CANCEL".

--also this stadium, you get 'ongoing usage and outdated' status

in use and out of date.png

One solution for this problem is that you just press Save and assignment is 'in service' State or you may save the content of the edition-> InCopy menu or the menu "right click on the text block" local only for this story.

Now, the question is... is there a solution to "Save content" by the script... no metter what is selected at this time here. Something like:

For (Browse all assignments)

-If (assignment is "currently in use and out of date" status)

-Register the content for this assignment

-End If

Next

And just to be clear - do not use the InvokeMenu method.

Thank you!

Marko

Hello

mmargeta wrote:

...

Now, the question is... is there a solution to "Save content" by the script... no metter what is selected at this time here. Something like:

For (Browse all assignments)...

You can change a story at the time, but you will treat all assignments.

That's why I wrote my warning.

To save the content of the story published with the mentioned State, you can call export() to the correspondence file in story.itemLink

Jarek

Tags: InDesign

Similar Questions

  • Until I save the minutes of meeting on windows Notepad did an update and my data is gone

    Is it possible to recover my minutes?

    Sorry, but no. If you use Notepad, WordPad, Word, or a program, if you want to build something of length, after start click on file | Save under Save somewhere continue typing and after each few lines or a paragraph, Ctrl + S will save the new content. If something like this happens, you lose only what was typed after the last Ctrl + S.
     
  • Call and save the reports/export to PDF using use?

    Hello

    My use is for the ".csv" files and works perfectly when read and load the files. But what would be really nice if I could somehow put the data in these files in their appropriate report templates and then export this report to a file '.pdf '.

    So, I tried to add:

    Call DataFileLoad ([Filepath], [Script]
    Call DataFileSave ([Filepath], ".") CT","CT")
    Call Report.LoadLayout ([the report path])
    Call Report.Sheets.ExportToPDF ([path to save .pdf], False)
    Call Report.Refresh
    Call Data.Root.Clear)

    «When I test the use by indexing a file manually, I get the message: Variable is undefined: «DataFileLoad»»

    So, if it is reading as a variable that suggest that it does not recognize functions unless they are specified in the sub?

    Is it possible to do what I want?

    Thank you.

    Hey Kevin,

    Your VBScript use cannot be called "red" DIAdem orders  The VBScript host that uses the use contains only basic functions VBScript more some specific commands to use, but none of the rest of orders DIAdem.

    You need to use a VBScript DIAdem script to load the data file, load the layout and save the PDF file.

    Brad Turpin

    Tiara Product Support Engineer

    National Instruments

  • How to save the contents of the RichTextBox to text file

    Hello

    Do I NEED to SAVE THE content of RichTextBox in text file?

    If it IS a question of LabVIEW, here is an example of how load a rich text file (to help you if you don't know how to get a rich text in LabVIEW).

    If you have a rich text box, you can use the "SaveFile" invoke method to match the function that you have linked to.

  • try to save the contents of the hard drive for drive external hard error0.80070020. Spike

    Try to back up the hard drive internal to an external hard drive, Windows Vista. Error message 0.80070020 receipt, no return to the top. Spike

    Hello

    1. don't you make changes on the computer before the show?
    2. What is the accurate and complete error message that appears on the computer?
    3. How do you back up the hard drive?
    4. are you using Windows backup and restore, or you are using a third-party backup program?
    5. do you use windows backup and restore?

    Method 1:
    Clean boot the computer, and then try to save the contents of the hard drive and check:
    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7
    http://support.Microsoft.com/kb/929135
    Note: After a repair, be sure to set the computer to start as usual as mentioned in step 7 in the Knowledge Base article.

    Method 2:
    You can also try to disable antivirus and then try to backup. Follow the steps in this link: http://windows.microsoft.com/en-US/windows-vista/Disable-antivirus-software

    Important: Antivirus software can help protect your computer against viruses and other security threats. In most cases, you should not disable your antivirus software. If you need to disable temporarily to install other software, you must reactivate as soon as you are finished. If you are connected to the Internet or a network, while your antivirus software is disabled, your computer is vulnerable to attacks.

    Method 3:
    If the problem persists you can try running the disk check and check hard disk errors:
    http://Windows.Microsoft.com/en-us/Windows7/check-a-drive-for-errors
    Note: When you run the disk check, there is a risk of data loss, you can take a backup of the data on the drive before running the disk check
    Note: This link is applicable for windows vista.

  • Suspicious emails are ongoing; How can I close my hotmail account and save the content

    I got more and more sophisticated emails which concern me. I think it's time to close my current hotmail account and open a new one. Question is how to save the contents of the existing account before closing and transfer it to the new account.

    Need your advice and recommendations and how.

    Thank you

    Daniel R.

    1. Connect on http://account.live.com
    2. On top you have headings like home, basic information, payment & billing and security & privacy
    3. Click on Security & Privacy
    4. Under account security, click on manage advanced security
    5. You could get to type the verification code, please choose the appropriate media the way you want to receive the security code
    6. Type the security code to the next page
    7. On the next page click on set he later places
    8. Then, you will get the page that says to help protect your account
    9. When you scroll down the page completely, you will find the possibility to close the account
  • How to save the data in a form called?

    Hi all.

    I have two froms.like FORM A and FORM b.

    I have a button on the FORM B.

    When I click on this button, FORM B and FORM data should be store in the database...

    I wrote something like this in the form B

    when_button_pressed->

    commit_form;

    go_form ("c\user\babu\FORM A.fmx");

    commit;

    Here, my problem is when I click on save button only saved FORM B, FORM A not memorizing the data in the database.

    Please help me and tell me where the error...

    Post edited by: N.B.Babu

    I guess that the modules form a calls B with OPEN_FORM module (..., SESSION), IE. Module B works in the new session of database

    (by the way, the database connection is the same, because the connection to a database can go several database sessions).

    Your code cannot save the data in the two sessions of database:

    commit_form; -This saves the data only from module B (because A module work in diferent database session).

    go_form ("c\user\babu\FORM A.fmx");  -Now you in module A.

    commit; -This has no effect, you are now on the module to a.

    Kind regards

    Zlatko

  • Save the contents of the form elements in a txt file


    Hello

    I am trying to save the contents of the form to a text file by clicking on a button. For example, in my form, I have 4 text boxes

    1. client code

    2 Subscriber

    3. customer name

    4. customer name

    There is a backup button in the page. Once I click on save button, I get a download prompt to save the file (txt file). The txt file must contain the values of the fields in each line. Can we achieve using Apex?

    Thank you

    TJ

    Hi TJ.

    Yes, its possible. For this you must use a bit of PL/SQL Code.

    In the page, you create a branch;

    Branch point = to present: after the treatment (after calculation, Validation and treatment);

    Type branch = branch of PL/SQL procedure

    And the branch code, you have to have something like this:

    declare

    CLOB v_clob;

    v_blob blob.

    dest_offset NUMBER: = 1;

    offset NUMBER: = 1;

    amount INTEGER: = dbms_lob.lobmaxsize;

    blob_csid NUMBER: = dbms_lob.default_csid;

    lang_ctx INTEGER: = dbms_lob.default_lang_ctx;

    caveat INTEGER;

    V_LENGTH NUMBER;

    Start

    DBMS_LOB.CREATETEMPORARY (v_clob, true);

    DBMS_LOB.CREATETEMPORARY (v_blob, true);

    v_clob: = ' ID: ' | : PXX_ID | »

    Geographical area: ' | : PXX_LOCATION | »

    First name: ' | : PXX_LAST_NAME | »

    First name: ' | : PXX_FIRST_NAME;

    DBMS_LOB. () CONVERTTOBLOB

    v_blob,

    v_clob,

    amount,

    dest_offset,

    offset,

    blob_csid,

    lang_ctx,

    (caveat);

    V_LENGTH: = dbms_lob. GETLENGTH (v_blob);

    --

    -set up the HTTP header

    --

    owa_util.mime_header ("application/octet ', FALSE");

    -set the size so that the browser knows how to download

    HTP.p ("Content-length: ' |") v_length);

    -the name of the file will be used by the browser if users only one save as

    HTP.p ('Content-Disposition: attachment; filename = "download.txt" ');

    -close the headers

    owa_util.http_header_close;

    -Download the BLOB

    wpg_docload.download_file (v_blob);

    end;

    See you soon

    Carlos Pereira

  • How can we call save them and save under the action of a plugin?

    Hello

    I want to call the Illustrator save and save under the action of my plugin, is I want to force the user to save and save as operation through my plugin.  After you save the active document using my plugin, I want to get its path, it is possible to do it using the SDK?

    Thanks in advance

    Farida kaid

    You can call Save in a few ways - through the Action Manager (AIActionManager.h) & PlayAction() for one. There is a call from WriteDocument() on these forums who would also do the trick (I think AIDocumentList.h, of AIDocument.h if not there).

    If you want to "force" users to use your plugin, I think you're wandering into dangerous territory. Its probably not a good idea for a plugin to usurp control of Illustrator record capabilities. I mean, you can do little by playing with the call of AIDocumetn::SetDocumentModified() and tricking HAVE thinking that nothing has changed, but I do not know what other side effects that would have. Others have tried, then maybe it works for you. Yet once, search the Forum and you will find details.

    To get the path after a backup, AIDocument.h has a method for this: GetDocumentFileSpecification().

  • Save the content

    Hello
    I am eager to record the number of times a user clicks on a button and then when outgoing to only save in a TXT file on the hard drive. (PC is a dedicated terminal)
    "
    I was able to record the clicks for a field cast member but cant't get the value in the field save to file...
    I tried File Buddy, but it doesn't seem to be a way to put my value...

    Click script for record button
    =======================
    on mouseUp me
    go to the 'main + 1'
    set value (member("home-push").text)
    Member("Home-push"). Text = string (value (member("home-push").text) + 1).
    end
    ++++++++++++++++++++++++++++++


    button to save the results to a file
    ============================
    on mouseUp me
    Homepage = member("home-push")
    OK = baAppendFile ('c:\xxxx\Stats\home-push.txt', 'House')
    ++++++++++++++++++++++++++++++++++++++++++

    This puts the word (home) in the txt file

    any help welcome

    Thank you

    on mouseUp me
    Homepage = member("home-push").text
    OK = baAppendFile ("c:\xxxx\Stats\home-push.txt", House)

    Try these 2 changes. It is .text to the 2nd line and remove the variable called homepage quotes.

  • Where is the installation of the previous version, which helped save the content and saute upward during the restart, is no longer available?

    During the closure of Firefox version 4 it "just closes", no option to save the displayed pages or multiple windows in... alternative now use to 'crash' the computer as the installation of "restore" then click in but frankly it is a bad option... Please bring back the option 'Save' and will bring up when the next time you use Firefox...

    Firefox 4 saves the previous session automatically, so it is no longer necessary for the dialog box asking if you want to save the current session.

    You can use "Firefox > history > restore previous Session ' to get the previous session at any time.

    There is also a button 'Restore previous Session' on the default on: Home home page.

    Another possibility is to use:

  • Save the contents of EditField

    Hey,.

    I'm trying to get a user to enter information in an EditField() and then save the data to a sqlite database. That's what I have so far-

    EditField fname = New EditField();


    There is more code here

    Ver1.Add (new RichTextField ("first name :"));
    Ver1.Add (fname);


    There is more code here

    final String fname_value = fname.getText ();

    ButtonField save = new ButtonField ("Save");
            
    FieldChangeListener listensave = new FieldChangeListener()
    {
    ' Public Sub fieldChanged (field field, int context)
    {
    savedatabase (fname_value, lname_value, pnumber_value);
    }
    };

    save.setChangeListener (listensave);

    There is more code here

    private void savedatabase (String a, b String, c String).
    {
            
    Try
    {
    Var myURI = URI.create ("file:///SDCard/Databases/SQLite_Guide/" +)
    "MyTestDatabase.db");
    D database;
    d = DatabaseFactory.open (myURI);
    Statement st = d.createStatement ("INSERT INTO Data(FName,LName,Phone) VALUES('"+a+"','"+b+"',"+"223"+")");
    St.Prepare ();
    St.Execute ();
    St.Close ();
    d.Close ();
    }
    catch (System.Exception e)
    {
    nothing
    }

    When I run the code in the Simulator, I can see that the "223" value is present in the last column of the database table. However, I don't see all the values in the first two columns. Can someone please help me with this one?

    Thank you very much.

    Code like this makes more sense to me:

    ButtonField save = new ButtonField ("Save");
           
    FieldChangeListener listensave = new FieldChangeListener()
    {
    ' Public Sub fieldChanged (field field, int context)
    {
    String fname_value = fname.getText ();

    put lname_value, here too.
    savedatabase (fname_value, lname_value, pnumber_value);
    }
    };

    save.setChangeListener (listensave);

  • DataBind method call returns null in the WebCenter content filtering

    Hello

    I got code that has a problem and I am new to the WebCenter content and filters that can be added. We have a FileNameFilter class that begins with the code

    / public class CWEFileNameFilter implements FilterImplementor {}

    public CWEFileNameFilter() {}

    Super();

    }

    public int doFilter (workspace workspace, DataBinder dataBinder,

    ExecutionContext executionContext) throw {DataException

    Service string = dataBinder.getLocal ("IdcService");

    ....

    }

    }

    However, service is sometimes return null and then filter throws a NPE.

    My questions are:

    (1) can we explain what dataBinder.getLocal ("IdcService"); is done and why it might come back as null

    (2) anyone can provide links to documentation that explains the filters and a little more on the object DataBinder as the JavaDoc is not much help.

    Thank you
    Marc

    Hi Marc,

    Below the code will give the name of the service for which the filter is implemented LocalData

    Service string = dataBinder.getLocal ("IdcService");

    for example below

    http://localhost:16200/cs/idcplg? IdcService = DOC_INFO_BY_NAME & dDocName = 1111111 & IsJava

    This example displays the entire response including localdata data and results that are created in the execution of the service. Here is the code snippet

    LocalData @Properties

    DocUrl =https://localhost:16200/cs/weblayout/groups/secure/documents/test/mhdk/mjg1/1111111.pdf

    IdcService = DOC_INFO_BY_NAME

    If String = dataBinder.getLocal ("IdcService") service; Service = "DOC_INFO_BY_NAME."

    Under blog will give an idea about the filter but the best place to learn or start is "The Definitive Guide to Stellent Content Server Development" by Brian Huff

    http://www.redstonecontentsolutions.com/technical-blog/UCM-service-handlers-and-javafilters

    Also, I recommend reading ' WebCenter Content Services Reference Guide '

    http://docs.Oracle.com/CD/E23943_01/doc.1111/e11011/TOC.htm

    Kind regards

    Amol Germain.

  • Content of the LS/SQL item not updated until I re - save the properties of this ite

    Hello world.

    I have developed a portal page OAS containing several PL/SQL items. This Articles have stored procedures in the database, and they take the data from the database.

    The problem is that this Articles only take the information the first time, the rest of the time when I refresh the page, they always show the same information, they don't get refreshment! The problem is due to caching, they store information in the cache of the OAS portal and they always show the same information.

    The only way to solve it is to change the call to the stored procedure (in the Properties menu of the element of PL SQL) and resave it. This way, the next time that the element displays new information, but only for once! The rest of the time the problem is always the same. I also tried to change the configuration of the cache in page properties, but it doesn´t do anything.

    I have read several threads that deal with the same problem, but I do not met with no clear solution.

    Plase, someone give me some advice?... or the solution?

    Thank you very much.

    Juan

    Maybe the solution

    MetaLink Doc ID: 415235.1

  • Re: How to save the video file to a DVD-R for Equium A200

    I have the Equium A200. Someone can tell me how to save the video file to a DVD-R on my computer in order to use it later, or use it in windows movie maker and must not simply copy on another DVD-R right?

    My cursor also has disappered in the suite of windows media, that makes life quite difficult.

    Any ideas?

    Thank you.

    You mean, you want to copy the original DVD movie to HARD drive?
    Well, you can copy the contents of the entire DVD to the HARD drive. It means that you have to copy a lot of data.
    I would recommend shrinking the DVD movies using a tool called DVD shrink.
    It would decrease the data and would also copy the content to the HARD drive.

    But if you want to use these files later in windows movie maker, so you must convert these using a 3rd party tool.
    Google a bit and you should find many free applications that would help you to do this work.

    Good bye

Maybe you are looking for