RTF (reading and saving)

Dear patients, all assistants

My current project is "re-treatment" the FameMaker to EndNote' connection. This task includes several steps:

  1. Collect temporary citations (for example [stew, 1969, #123]) text, notes and tables in a table. This part already works very well (I had to delay further development for a year now...).
  2. Then, I write these data to a new document (which is created from the template) - with your help, this came to work today.
  3. Then this file is saved in RTF to work the bibliographic request endnote (or Citavi in another case) to resolve the temporary visas in the formatting of citations and the bibliography.
  4. After that the updated rtf is opened as a docment FM. The information of these are used to replace the temp. quotes on document/book of the user by formatting citations.
  5. The user then copy the bibliography (text only) in its appropriate chapter/section and formats to his liking.

For step 3, I now did much research and found this:

  • App. ExportFilters does not provide a list of the filters as described in the Guide to FM script.
  • FrameScript Johannes Graubner wrote:
    SAVE the Document DocObject (docVar) leader (ofilename) FileType (SaveFmtFilter) FilterFormatID('RTF');
  • Talk on channels filetype FDK (FDK - PG) programmers Guide informed suspicion of ID format "RTF". But how to use this in eScrpt?
  • The file type indicator string syntax in FDK - PG gives some information, but which seller code must be used to RTF?
docId = F_ApiGetId(0, FV_SessionId, FP_ActiveDoc);
params = F_ApiGetSaveDefaultParams();
i = F_ApiGetPropIndex(&params, FS_FileType);
params.val[i].propVal.u.ival = FV_SaveFmtFilter;
i = F_ApiGetPropIndex(&params, FS_SaveFileTypeHint);
params.val[i].propVal.u.sval = F_StrCopyString((StringT)"0001ADBEHTML");
  • Somewhere else () channels tip for the standard installation of filters) FDK - PG says: RTF Microsoft = > 0001AW4W0191
  • Other information can be found on indication of filtering RTF 1.6 revealed! : "0001ADBIRTF"

So my interpretation of what led to this excerpt:

var file = app.ActiveDoc;
SaveFileRTF (file);

function SaveFileRTF (file) {    
  var params = GetSaveDefaultParams();
  var returnParamsp = new PropVals();
  var i;
  
  i = GetPropIndex (params, Constants.FS_FileType);
  params[i].propVal.ival = Constants.FV_SaveFmtFilter;
  
  i = GetPropIndex (params, FS_SaveFileTypeHint);
  params[i].propVal.ival = "0001ADBERTF ");
  
  file.Save(file.Name, params, returnParamsp);
  return;
}

But alas, this Signals a stange error: "expected semicolon on line 13. Even if you help me overcome this next swamp hides in step 4: how to open the RTF?

Hello Klaus, it works for me 12 FrameMaker. Please let me know if you have any questions or comments. -Rick

#target framemaker

var doc = app.ActiveDoc;
saveRtf (doc);

function saveRtf (doc) {

    var saveName, saveParams, retParams, i = 0;

    // Get a property list to return any error messages.
    retProps = new PropVals();

    saveProps = GetSaveDefaultParams();
    i = GetPropIndex (saveProps, Constants.FS_FileType);
    saveProps[i].propVal.ival = Constants.FV_SaveFmtFilter;
    i = GetPropIndex (saveProps, Constants.FS_SaveFileTypeHint);
    saveProps[i].propVal.sval = "0001ADBIRTF ";

    saveName = doc.Name.replace (/\.[^\.]+$/, ".rtf");

    doc.Save (saveName, saveProps, retProps);

}

Tags: Adobe FrameMaker

Similar Questions

  • Reading and saving data of two serial ports

    Hi, I googled similar questions in the forum, but I don't have an answer for my problem so I'm posting it here.

    I would read and record data of two balances throgh serial ports. I have a drop down menu in VI, I can choose the availabe ports on my pc. But it is still only one that works. So I only get one data scales them.

    I usually get to choose 6 ports, but only one of them works. So I'm wondering if this is something that has to do with my pc or the VI?

    I've attached a screenshot of my VI.

    Thank you =)


  • PDF file generated from Reporting SERVICES hangs when opened in Adobe reader 11 and saved as with "optimized for fast web view."

    Large pdf (over 1000 pages) generated files form SSRS crashes when opened in Adobe reader 11 and saved as with "Optimized for fast web view" activated. This saves fine with disabling this option. However, our customers are not ready to accept this solution because they do not want to change any settings. Please suggest if we should create a ticket with microsoft for SSRS allow the generation of pdf quick display of Web pages or is it an option in Adobe to fix this problem without changing the settings.

    The SSRS file has Fast Web View: 'No' and that's how Microsoft SSRS generates these files.

    Thank you for the complete maxwyss response

    As you have indicated, the PDF SSRS seems to have some elements that are quite similar to be supported for fast web view.

    We asked customers to disable the fast web view, but the customer is big enough to make a change individually on their machines and so were looking for a solution.

    I saw in several forums and a few discussions here as well as disable the fast web view option works for pdf fails.

    Which was just wondering if its known that multiple PDFs genarted by third parties may have problems with the optimization, the Save as optimized for fast web view could be disabled by default installation of acrobat reader rather than be enabled by default

    Thanks again for the reply!

    PS: links indicating similar problems

    https://forums.Adobe.com/message/7965091#7965091

    https://forums.Adobe.com/thread/1456971

    How to fix Adobe Acrobat "save under" error - Digital Factory tool blog

    https://social.msdn.Microsoft.com/forums/SQLServer/en-us/63cf1325-2054-4ef1-9c5d-631da6a30 cfc/file-size-of-exported-pdfs? Forum = sqlreportingservices

  • Adobe enableld of the fillable PDF reader to display can be completed and saved on some machines and not others.

    I created the PDF (active player) and posted on my Web site: www.activeinhometherapy.com/contractor-opportunnities

    The forms can be downloaded, filled out, saved and re-opened successfully (i.e. the content is then re-opened) on some devices (MAC) and that on some PCs. In some cases, the form is saved, however, the content is missing when reopened. I don't know if it of a software problem or not. I need this to work for anyone to download, fill out, save and re - send regardless of their device: form w-9 to the application vendor and federal.

    Can someone please help me to solve the problems, or is there a better way to do this?

    This will happen to a PDF (enabled or not) form when it is opened and saved using the app on the Mac, as opposed to Adobe Reader. For more information and what you can do about it, see the following article: http://kb2.adobe.com/community/publishing/885/cpsid_88564.html

    People have reported something similar happens under Windows, but the exact circumstances were elusive, making the exact cause less clear. But you should be able to use the same approaches that are mentioned in the article.

    There is only so much you can make universally functional. Ago either Adobe spectators and a certain lack of support forms feature complete, and some haven't. Support is limited to same Adobe Reader for iOS, but this should work for basic with improvements based on JavaScript limited shapes (for example, setting the field shape, calculations, validations).

  • 8753xx series read and properly calibrated chart

    Greetings from the Greece,

    I have a Hp 8753D Network Analyzer that I would like to order via GPIB with labview. In fact, I want to build an interface where the data of the instrument are displayed on my laptop and export them after.  example "series 8753xx read and graph", does exactly what I want, but requires a file name of State as well as a calibration file name. Calibration I am used to doing so far is that manually, so I don't know what type of file to be inserted in the specific field. In addition, I have nothing but the parser, not even the calibration kit. Is there a way to create a path where the code automatically extracted labview saved state and calibration saved in the memory live Analyzer?

    Thank you in advance,

    For automatic playback of the files, you can code obviously hard paths in your VI. What I have done, is to have paths in an ini file which is read at the beginning.

  • HP Officejet Pro 8610e: cannot print documents I scanned and saved as pdf files

    All of a sudden I cannot print I scanned and saved as pdf files.  I get a message indicating that the printer is "Impossible to convert the PostScript file.  Don't know how to handle, but I have to be able to print the docs I'm scanning and saving in pdf format.  Can someone help me?

    Thank you

    GTR

    Hi @GTR3,

    Welcome to the Forum from HP Support.

    I see that you are unable to print the PDF scanned documents with your HP Officejet Pro 8610 e-all-in-one printer. I would like to help.

    You are able to print any other format PDF on the Mac, or the question is just limited to your scanned PDF files? Whether the soft friendly PDF work with - Adobe Reader or Foxit Reader?

    In the meantime, I recommend you try the following steps:

    • Uninstall your printer - click here for instructions.
    • Fix permissions of the disc on your Mac - click here for instructions.
    • Once you have finished running the utility above, restart your computer.
    • Finally, click here to reinstall your printer.

    Please let me know the result of your troubleshooting by responding to this post. If I helped you to solve the problem, feel free to give me a virtual h.o.t. by clicking the "Thumbs Up" icon below and by clicking to accept this solution.

    Thanks for posting in the Forum from HP Support. Have a great day!

  • How can I configure Messenger to record my conversations, record them and send them to a location I can read and save when you use Messenger on other computers than mine?

    How can I configure Messenger to record my conversations, record them and send them to a location I can read and save when you use Messenger on other computers than mine?

    original title: Live Messenger

    Hi Nicoliani,

    To start saving your Conversations in Windows Live Messenger

    1. connect to your window Live Messenger and click on 'Tools' or click on your display name.

    2. scroll down to "Options", a window should appear. When he does very well and click on "Messages".

    3. locate "historical Message". After that, check the box that says, "automatically keep a history of my conversations.

    4. below that you will see "save my conversations in this folder."

    5. to side of her you will see change, make sure that it is a file that you can access and watch later.

    6. If you are on a network, you can save it in a directory which you have access, or you can save it to a location and later mailed to yourself and access it later.

    Where chats are saved is given below.

    1. to access the Conversations go to the start bar and click My Documents. Then click on "my received files."

    2. There should be a folder with your name on it. Click the folder, then you will be in another folder called history. Continue

    3. by clicking on the folder, now you should see all your saved conversations.

    Hope this information is useful.

    Amrita M

    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • Hotmail attachment. The canoe is edited and saved but

    Hotmail attachment. doc Word opened, edited, and saved.  Where would he have sauvΘs in windows 7.  I used Windows 95 and NT to windows XP, but I can't find the directory where he could have saved in Windows 7

    Wednesday, June 2, 2010 16:01:59 + 0000, GHarrison48 wrote:
     
    > HI Ken,.
    >
    > I checked the default directories and it wasn't there.
     
     
    No, it isn't a matter of default directory.
     
     
    > I'm on Windows 7 Home premium 64-bit and Office 2007.
    >
    > If I open an attachment in Outlook he re-recorded in the attachment.
     
     
    Two points:
     
    1. When you run Outlook, rather than open the attachment, you can
    Save it. When you do, you get to choose where to save it, as I said.
     
    2. When you open the attachment, and you want to save, do * not * select
    Save; Choose Save as. You can then save anywhere you want.
     
     
    > The same is obviously not true with Hotmail as the attacment is on the Hotmail server and not on the local computer.
     
     
    You read Hotmail from your web browser? If so, I know very
    little bit about this, but in all likelihood, you also have the choice
    to save, rather than opening it. And when you take that
    choice, you have the choice of the location you want, he saved.
     
     
     
    Ken Blake, Microsoft MVP (Windows desktop experience) since 2003
     

    Ken Blake

  • I downloaded a form to adobe, he filled in and saved. I went over, signed and printed. He won't let me go back and change it. I can see the file, but cannot change it?

    Help

    Hello

    How do you change the form?

    Drive won't let you edit any PDF'.

    You can only type text with the option to add text under the feedback tool.

    You are not able to access the new form?

    When the form is saved?

    Which version of reader, and the operating system you are working on?

    Concerning

    Sukrit diallo

  • How can I create a form that can be filled in and SAVED in the player?

    I need to create forms that can be filled electronically and saved. The forms I created just painfully state that they must be PRINTED ON AND FILLED in MANUALLY! They cannot be saved! What can I do with these? Help, please?

    Reader 11 and DC can save forms created with Acrobat. Player 10 and before can save if activate you reader with Acrobat Forms. Exactly how do you this depends on which version of Acrobat you are using. With Acrobat 11 and DC, you would select: file > save as other > Reader Extended PDF > activate tools more

    PDF forms created with LiveCycle Designer must be enabled for the drive.

  • After the update, I lost a large number of documents that I had edited and saved in my tablet. No possibility to recover them? Now I can access only the documents of the cloud.

    After the update, I lost a large number of documents that I had edited and saved in my tablet. No possibility to recover them? Now I can access only the documents of the cloud.

    I found an easier way to recover the files: I connected the tablet to the computer and then open the download-> Adobe Reader folder. There, I found all my files.

    After this boring experience, any recommended rather than Acrobat Reader PDF player?

  • How to read and display the .ai file in CS4 SDK?

    Hi all

    I drew an own and saved the socument as file traingle.ai.

    Now, I want to read/open the traingle.ai file in the plugin.

    [Lets say, I want to read this file based on GoFilter ()]

    Is there an API to read file .ai in CS4 SDK? and display as well?

    If you mean autonomous (outside Illustrator) the answer is no. The SDK is reserved for the plugins loaded into Illustrator. If you want to open a file from Illustrator that is perfectly doable if. I think that AIDocumentList:: open() that will handle.

  • Switching of TB MT-Newswatcher. Is there a way for all messages marked as read and archived, deleted? I want to see only new items when I get back.

    I'm under NT-Newswatcher on my 10.8.5 than MacBook Pro for Usenet and it will no longer work with the newer operating system. I like NT - W because I'm going out ITI brands all groups of discussion, a reading and then erased them or whatever he does automatically. I found on tuberculosis, a way to mark all as read, but the old posts are still cluttering up things. Is there (1) a way to automate the service so when I get out of TB or the particular group there are marked as read and removed or (2) a way to do it by hand, so to speak? Thank you.

    Unread (Alt - V) - topics - view

  • Why Firefox telling me to update Flash Player, Adobe Reader and Firefox, when I have the updates on my laptop?

    I use windows 8.1. I have the latest version of Fiirefox, Reader and Flash, but Firefox repeat myself that I have to upgrade to the latest version. Why?

    I wouldn't worry Adobe Reader. If the help > check updates inside your said XI player you are current, as far as I'm concerned, that's fine. Plugin Checker shoot always allows you to get the latest version, but Adobe still provides security for Reader 11 updates, and since the radically different interface of the CD player, certainly, won't that everyone's favorite, I think that will continue for some time.

  • I got an attachment, I have modified and saved the modified version, but without specifying the folder. How to recover this modified version?

    I received an attachment. I opened, modified and saved, but without specifying the folder, thinking it was the version that I already had in my computer. I can't find this version changed in my computer. I can get it back or it is lost...
    Thank you

    Nobody here knows where you specified to save the file on YOUR computer. Thunderbird does not control that.
    You can open the file again, and then select Save. It will more than likely try to save in the same place. Pay attention to the place this time to see where it was saved. If this location is not to your taste, specify a different location, and then delete the first record attempt.

Maybe you are looking for