FM10: Saving documents in FM9 format

Is it possible to instruct FrameMaker 10 to save FrameMaker 9 files as FM 9 files by default, as long as I have not explicitly selected the new FM10 format? There's a mixed environment in our company, and its very cumbersome for FM10 users to always do a "Save-As-FM9" for each and any document in order to keep these documents compatible for FM9 users...

Hi Andreas,
try following small script (on your own risk).
Copy this code to a txt-File and Save it in $FMHome\startup with jsx extension (i.e. SaveAsFM9.jsx). If you restart FM10, you will find a Menu "Save as FM9" at the end of the file menu.
If you click this menu you will find, this script saves the active document with a new FileName in the same directory. [filename].FM9.fm
Hope this helps
Markus
#target framemaker;
var fileMenu = app.GetNamedMenu ("FileMenu");
var saveFM9Cmd = app.GetNamedCommand("FM_CMD_SAVEFM9") ;
if (saveFM9Cmd.ObjectValid()==false)
    saveFM9Cmd = fileMenu.DefineAndAddCommand (99999, "FM_CMD_SAVEFM9", "Save as FM9...", "");
function Command(command)
    if (command!=99999)
        return ;
    if (app.ActiveDoc.ObjectValid()==false)
        return ;
    var props = GetSaveDefaultParams();
    var i = GetPropIndex (props, Constants.FS_FileType);
    props[i].propVal.ival  = Constants.FV_SaveFmtBinary90;
    var i = GetPropIndex (props, Constants.FS_SaveMode);
    props[i].propVal.ival  = Constants.FV_ModeSaveAs; 
    var fileName = app.ActiveDoc.Name + ".FM9.fm";
    var saveReturnParams  = new PropVals();
    app.ActiveDoc.Save (fileName, props, saveReturnParams) ;
    alert("Document saved in FM9 format\n" + fileName) ;

Similar Messages

  • When saving documents in PDF format a .txt document is also created and saved

    When saving documents in PDF format to the my documents folder on a PC a .txt document is also created and saved, does anybody know the where the setting is that allows this functionality (duplicate document in txt format) to be switched off thanks.

    When saving documents in PDF format to the my documents folder on a PC a .txt document is also created and saved, does anybody know the where the setting is that allows this functionality (duplicate document in txt format) to be switched off thanks.

  • Saving documents as Word format

    I save most of my work in Pages as Word documents so I can open and edit them on my Android phone as well. The only problem I have is that when I save an existing document, it does not automatically go back to the directory from which I opened it. A document saved in the default Pages format does this, so obviously the problem is Pages "remembering" the directory. I can manually find the right directory and all works OK, but is there any way you know of to make Pages remember automatically where the document was originally stored?
    On a related note, the "last documents" option doesn't find Word documents either. Wonder if there is a way to get it to locate those as well?
    Thanks much!

    fruhulda
    That is a changed and inconsistent behavior. The expected behavior as Charles points out is that Finder notes the origin and sticks there.
    It used to do the expected back at Tiger and has drifted off course ever since. In Preview it has at various times opened .eps files, converted them to .pdf, stripped off their name changing it to 'Untitled' and then dumped them in the Documents folder. You have the unending joy of going through your Documents folder trying to sort out the origins and names of all the "Untitled" pdfs.
    I sometimes think there is a User Interface Annoyance committee at work in Apple now.
    Peter
    "It just works!"
    Think they need to change that to the past tense.

  • I'm having a problem saving a pages document as another format, like a Word document or PDF file.  I've never had this problem in the past.  Please help me!  I need to have this fixed a.s.a.p.

    Hello everyone,
    I'm currently having a problem saving a Pages document as another format, such as a Word document or PDF file.  I've never had this problem before with Pages.  Please help me!  I need to have this completed a.s.a.p.
    Thanks,
    Amy

    To save as a PDF, you do that from Print
    To save as Wrod format, you export
    Allan

  • Pages is not saving document correctly.  After saving the changes either do not appear or you can not open the file. The error is "not a valid format"  I am in Pages '09 4.1 (923).  I also use Parallels.  Anyone having similar issues?

    Pages is not saving document correctly.  After saving the changes either do not appear or you can not open the file. The error is "not a valid format"  I am in Pages '09 4.1 (923).  I also use Parallels.  Anyone having similar issues?

    I'm not sure that Lion AutoSave feature apply to network servers.
    I'm just sure that the Versions feature doesn't.
    Yvan KOENIG (VALLAURIS, France) samedi 21 janvier 2012
    iMac 21”5, i7, 2.8 GHz, 12 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My Box account  is : http://www.box.com/s/00qnssoyeq2xvc22ra4k
    My iDisk is : http://public.me.com/koenigyvan

  • I teach Continuing education classes to Real Estate agents and I need to issue them certificates at the class, whihc need to be signed by me and it needs to contain their info on the certificate. The certificate is currently saved in a word format.What i'

    I teach Continuing education classes to Real Estate agents and I need to issue them certificates at the class, whihc need to be signed by me and it needs to contain their info on the certificate. The certificate is currently saved in a word format.What i'm trying to accomplish is to do a "mail merge " ( as some classes i have as many as 150 attendees) for the document, digitally sign each one with my signature on the certificate and then e-mail it out to the respective attendees. can this be done? if so How?

    This is the step that I took after inputting my signature.
    On the right, after saving my document, I click "Get Others to Sign."  I was confused because it says that it's powered by EchoSign.  Like I stated before, my clients are able to sign this document when I send it to them, but it is returned to me with their signature (not in the signature field, but at the end of the document), and my signature is missing.  I tested this on myself - my signature is missing when they receive it. 

  • How do i edit a saved document?

    how do I edit a saved document?

    Hi wallacem59620634,
    Are you referring to a file that you've saved to your Acrobat.com online account? If so, you'll need to download that file to your computer to edit it. Please follow these steps:
    Log in to your account at https://cloud.acrobat.com/files.
    Select the file that you want to edit, and then click Download. The file will be downloaded to the Downloads folder on your computer. From there, you can open it in an application that supports that file format and edit it.
    Please note, that if you're working with a PDF file, you'll need to use Acrobat to edit the content. If you don't have Acrobat, please feel free to download a 30-day trial from http://www.adobe.com/products/acrobat.html.
    Best,
    Sara

  • How to convert Labview document into PDF format

    Hi! can any one tell me, can we convert the Labview document (Labview saved files)into PDF format. I wanted to convert it using a VI. If any one suggest me or send me the example vi i will be very thankful.
    Regards
    Ramesh.C

    Hi,
    We have a brand new PDF library for LabVIEW. Release date is in october. The library can create pdfs, with all kinds of text writing and picture stuff. It works stand alone, so there is no need for other programs. It should also be platform independend.
    If your interested, drop me a mail. I can send you mail when it's released. Maybe we can give you a "beta test", if you send use your findings.
    Regards,
    Wiebe. (email is " my name " @ carya . nl )
    "Ramme" <[email protected]> wrote in message news:[email protected]..
    Hi! can any one tell me, can we convert the Labview document (Labview saved files)into PDF format. I wanted to convert it using a VI. If any one suggest me or send me the example vi i will be very thankful. RegardsRamesh.C

  • Automator Workflow to export Numbers documents in PDF format

    Does anyone know of any automator workflow to export Numbers documents in PDF format? I tried this program: Convert to PDF 1.2
    http://www.apple.com/downloads/macosx/automator/converttopdf_mauriziominelli.htm l
    But it gives an error.

    Reading carefully is often useful.
    The description of the tool which you tried clearly states :
    *About Convert to PDF*
    *_Convert all of your text files to PDF_. This action uses the underlying cups printing system ability to convert files, it’s a simple front end to the command line tool cupsfilter.*
    As far as I know, but maybe you don't, *_a Numbers document isn't a text file._*
    I already posted a script exporting Numbers documents as PDF.
    Here is an enhanced version which apply only to Numbers '09 (or maybe higher) :
    --[SCRIPT save2Numbers&PDF.app]
    Enregistrer le script en tant que Script : save2Numbers&PDF.scpt
    déplacer le fichier créé dans le dossier
    <VolumeDeDémarrage>:Users:<votreCompte>:Library:Scripts:Applications:Numbers:
    Il vous faudra peut-être créer le dossier Numbers et peut-être même le dossier Applications.
    aller au menu Scripts , choisir Numbers puis choisir save2Numbers&PDF
    Le script enregistre le document au format natif de Numbers
    et l'enregistre dans un fichier PDF.
    S'il existe déjà un PDF homonyme, il est renommé en lui ajoutant une chaîne
    construite sur sa date de modification.
    --=====
    L'aide du Finder explique:
    L'Utilitaire AppleScript permet d'activer le Menu des scripts :
    Ouvrez l'Utilitaire AppleScript situé dans le dossier Applications/AppleScript.
    Cochez la case "Afficher le menu des scripts dans la barre de menus".
    +++++++
    Save the script
    as a Script: save2Numbers&PDF.scpt
    Move the newly created file into the folder:
    <startup Volume>:Users:<yourAccount>:Library:Scripts:Applications:Numbers:
    Maybe you would have to create the folder Numbers and even the folder Applications by yourself.
    go to the Scripts Menu, choose Numbers, then choose save2Numbers&PDF
    The script saves the document in the native Numbers format and saves it in a .pdf file
    If such a .pdf already exists, it is renamed with a stamp matching its modification date.
    --=====
    The Finder's Help explains:
    To make the Script menu appear:
    Open the AppleScript utility located in Applications/AppleScript.
    Select the "Show Script Menu in menu bar" checkbox
    --=====
    Yvan KOENIG (VALLAURIS, France)
    modifié 2010/08/17
    property closeIt : true
    (* true = closes the saved document
    false = doesn't close it *)
    property theApp : "Numbers"
    property theExt : "numbers"
    --=====
    on run
    tell application theApp
    activate
    set le_document to front document
    if modified of le_document then save le_document
    delay 0.2
    set thePath to path of document 1
    end tell -- theapp
    set {xPath, xExt} to my saveAs(thePath)
    if closeIt then tell application theApp to close document 1 saving no
    end run
    --=====
    on saveAs(p)
    local extension_export, type_export, nomde_loriginal, dossierde_loriginal, nomde_lexport, cheminde_lexport
    set {extension_export, type_export} to {"pdf", "LSDocumentTypePDF"}
    set {nomde_loriginal, dossierde_loriginal} to my quelNomEtDossier(p)
    if nomde_loriginal ends with theExt then
    • replace the original extension by the xExt one *)
    set nomde_lexport to (text 1 thru -(1 + (length of theExt)) of nomde_loriginal) & extension_export
    else
    • add the xExt extension name *)
    set nomde_lexport to nomde_loriginal & "." & extension_export
    end if
    set cheminde_lexport to dossierde_loriginal & nomde_lexport
    • CAUTION, When saving, Numbers doesn't take care of an existing document.
    It replaces it by the new one. *)
    tell application "System Events"
    if exists (file cheminde_lexport) then
    Playing safety, we rename the existing file by inserting a modificationdatetime stamp *)
    set name of file cheminde_lexport to (text 1 thru -(2 + (length of extension_export)) of nomde_lexport) & my horoDateur(modification date of file cheminde_lexport) & "." & extension_export
    end if
    end tell -- System Events
    • save as type_export document *)
    tell application "Numbers" to save document nomde_loriginal as type_export in cheminde_lexport
    return {cheminde_lexport, extension_export}
    end saveAs
    -- =====
    on quelNomEtDossier(f)
    local nom, dossier
    tell application "System Events" to tell file (f as Unicode text)
    set nom to name (* Unicode text *)
    set dossier to path of container (* Unicode HFS path *)
    end tell -- to System Events
    return {nom, dossier}
    end quelNomEtDossier
    --=====
    • Build a stamp from the modification date_time
    on horoDateur(datedemodification)
    local les_secondes
    set les_secondes to time of datedemodification
    return ("_" & year of datedemodification & text -2 thru -1 of ("0" & (month of datedemodification as integer)) & text -2 thru -1 of ("0" & day of datedemodification) & "_" & text -2 thru -1 of ("0" & les_secondes div 3600) & text -2 thru -1 of ("0" & (les_secondes mod 3600) div 60) & text -2 thru -1 of ("0" & les_secondes mod 60))
    (* Here, the stamp is "YYYYMMDDhhmmss" *)
    end horoDateur
    --=====
    --[/SCRIPT]
    Yvan KOENIG (VALLAURIS, France) mardi 17 août 2010 18:16:27

  • Pages is sending my documents in docx format, but windows unable to open them. They arrive blank or can only be read as a single line at a time. When view prior to sending the document is divided with black lines after each sentence.

    Pages is sending my documents in docx format, but windows unable to open them. They arrive blank or can only be read as a single line at a time. When viewed prior to sending, the document is divided with black lines after each sentence.

    Windows will only be able to open these if you have Word 2007+. Older versions of Word, for example Word 2003 would require a compatibility pack.
    Perhaps you can try 'Saving As' a different file type instead?
    Regards,
    Steve

  • Saved document to Word and reopened it in a strange text!

    Does anyone know how to get a document a saved in word...which the next time I opened it came up as random shapes and such...back to normal??
    I swear I have tried everything.
    I never saved it on to anything but the hard drive of the same specific computer.
    Thanks,
    Kayti

    Most of the time, you can find a way to bring the document closer to its original form - but sometimes the saved document is permanently altered. Your easiest option would, of course, to use Time Machine, but it doesn't sound like you have a second drive. In Leopard, with an attached drive, you can bring back any number of versions of old or deleted documents. It sounds like you already know this.
    Sometimes, it's best to find a way to bring the document as close to its original form as possible, and edit it into shape.
    I've had excellent luck with Text Wrangler 2.2.1, available as a free download. View the document as Soft Text, and you should find the virgin text (in between the formatting, which you'll have to delete).

  • I accidently deleted a saved document how do i restore it?

    I accidently deleted a saved document how do i restore it?

    If you use Pages '08 or Pages '09 whith the package format, there is no application able to rebuild a deleted document.
    If you just deleted the document from the Finder, as Walt wrote, check if it is available in the trash.
    It's to give us this chance to retrieve a document accidentally deleted that the trash isn't automatically emptied (at least with the default setting).
    Yvan KOENIG (VALLAURIS, France) vendredi 24 juin 2011 22:27:48
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.7
    Please : Search for questions similar to your own before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Attaching saved documents to my email.

    I am new to pages, using it on my recently purchased MacBook Pro. I am used to working with Word on my Mac. Wanted to send a saved pages document to my son for use at school, but when I tried to attach, the saved document title was grey, not black, and I couldn't click on it to open it to attach. Any thoughts? thanks.

    Control-click the document in the Finder, compress or archive it, and attach the resulting zip. The recipient must have Pages or another application which can handle documents of that format; if not, perform a Save As or Export, and choose a format they can read.
    (32355)

  • Saving Documents, can't find using Finder, over last week.

    Over last week, I've been creating documents using 'Pages' from iWork09,
    then (apparently) saving them successfully in 'Documents' in 'word' format(.doc).
    When I attempt to find them again, either using 'All Documents' or 'Today'
    or 'Last Week,' these documents aren't present.
    This is true for 'newly created' documents or modifying 'older' documents,
    then saving the 'modified' documents with a new 'name' still in 'word' format.
    Today, while attempting to 'save' a document, I saw in lighter text, the files/documents
    I'd 'saved' over the last week. I couldn't recover them, however.
    I run OS 10.6.8(Snow Leopard) with last updates from May 2014. I can't always
    successfully download and install updates; I get a message which reads, 'to install
    these updates, first restart computer, then install.' When I attempt to do so, I can't
    install the updates. I'm successful in installing updates ~ 1/6 times if I first show details.
    The biggest problem is loss of 'saved' documents.
    Does anyone have any thoughts? Thanks in advance.
    PS I run Firefox 30.0, as my bank suggests.

    If you open a Finder window (File > New Window) and navigate to Documents, do you see the files you created?
    Sort in List view. Click on Date Modified column.
    Let's start by running the combo updater over your install to refresh your files. Since you are having issues updating, you might want to start in Safe Boot mode to run the installer.
    Combo updater: Mac OS X 10.6.8 Update v.1.1 - 1.09 GB
    http://support.apple.com/kb/DL1399
    Safe boot
    *  shutdown
    *  start the Mac and *wait* for the startup chime to sound
    *  after the sound, press and hold down the shift key
    *  keep holding and *wait* until the grey  Apple logo appears
    *  now release the shift key and just wait (it could take a few minutes)
    *  eventually the login screen appears with the words SAFE BOOT
    *  login and run the combo updater.
    Next, we want to reindex your Spotlight cache files.
    Open System Preferences under the Apple in the Menu bar.
    Select Spotlight.
    Click on Privacy tab.
    Add your Macintosh HD to Privacy. Wait a few minutes as this deletes the cache files.
    Remove from Privacy. This will cause your drive to reindex. This could take some time depending on size.
    MORE INFO ON WHY RUNNING COMBO FIXES ISSUES
    Apple updates available from the Software Update application are incremental updates. Delta updates are also incremental updates and are available from Apple Downloads (software updates are generally smaller than delta updates). The Combo updates contain all incremental updates and will update files that could have become corrupted.
    Combo updaters will install on the same version as they're applying--no need to roll back or do a clean install. So if you think you've got a borked 10.6.8 install from a regular update, just run the 10.6.8 Combo Updater on that system.
    "Delta" updaters can only take you from one version to the next. For example: 10.6.7 to 10.6.8. If somehow the 10.6.8 is missing something it should have, and that something isn't changed between 10.6.7 and 10.6.8 it will still be stale after the delta update.

  • Saving Documents long term on Win 7 Enterprise computer.

    Hi, 
    I have noted that in Win 7 Enterprise using Word 2013 documents can and should be saved to the c: drive in my document folder. But I have also noted that when the computers have been turned off for a week or more and than restarted that those same saved
    documents are no longer in the my Document folder in Word 2013 and that Word appears to have gone back to the new install format with no saved documents listed. Is there a setting or tweak that can be used to make this program stop. Be advised that I am in
    a classroom setting with 30 computers that all have the same program.

    Hello Manatee58,
    If my understanding is right, the Word 2013 files saved in Document folder disappear after computers turned off for weeks and then restart.
    Please explain a bit about the following questions for better analyzation:
    1. Are these computers domain-based?
    2. If we have .pdf in Document folder, will they disappear?
    Please take the following steps for troubleshooting:
    1. Check if the pdf file will disappear in the document folder.
    2. Check if the Word file will disappear after a reboot.
    3. Contact the administrator and check if there are third-party software to delete these files
    Best regards,
    Fangzhou CHEN
    Fangzhou CHEN
    TechNet Community Support

Maybe you are looking for

  • Duplicates on iphone only

    This is very weird!!  Recently synced both mine and husband iphones through iTunes and upgraded the software.  (iCloud was another matter altogether) but since the sync we find that several files are duplicated on the iphones only - not in the itunes

  • IPhoto 09 Freeze While Updating Library.....Everytime

    I recently bought a Macbook Pro 15" 2.4GHz and installed iLife 09. On my previous computer (Powerbook 12" 1GHz) I was running iPhoto 2.0.1. I had copied that entire HD to an external drive. I plugged in the external drive to my new Powerbook and copi

  • To get import value of  table spoolids in CALL function 'smartfomr' ?

    I am calling smartform as like under: DATA:l_doc_output_info TYPE ssfcrespd,                      tab_otf_data TYPE ssfcrescl,                           l_job_output_options TYPE ssfcresop. CALL FUNCTION  FNAME IMPORTING    DOCUMENT_OUTPUT_INFO      

  • How to set Maximum Character into OAMessageTextInputBean?

    Hi, Can anyone please show me how to set a maximum characters into an OAMessageTextInputBean programatically? Thank you. Jon

  • Vertical Columns Headers in WDA...

    Hello guys, I need a help. I've created Webdynpro ABAP application where I display a table with a lot of columns. Header cells of the columns should contain vertical text because horizontal header texts will make the columns too wide. Unfortunatelly