FDK problem: "Unsaved changes in file" dialogue with MIF

Hello

I have a problem with saving the MIF files using our client API of FrameMaker.

After that we wrote to all our content, we are asked to save unsaved changes in the. MIF file.

We do not know whether to click Yes or no.

If you click Yes, so we get a backup dialog box that prompts you for a file name.

the extension default filename, value, but a. FM.

When you click 'save', another message appears telling me that I am trying to record a

. MIF file in the. FM format and that is not allowed and asks if I want to save it

as. MIF.

Although it is a simple annoyance for me, it's very confusing for probably

Visitors who use our software, and I'm not sure what is the cause.

I tried to solve it by changing the default save the settings within the FAPI

by using this:

F_PropValsT saveParams = F_ApiGetSaveDefaultParams();

I = F_ApiGetPropIndex (& saveParams, FS_ModDateChanged);

saveParams.val [i].propVal.u.ival = FV_DoOK;

Needless to say, it did not work. I wonder you is another approach I should

use?

Thank you

Eric

Hi Eric,.

I don't understand if your software automatically saves the file, or if the user needs to do it after your process runs. And, I did not really understand what exactly you want to happen after your code runs.

I think that all open MIF file (even if in a binary format, after opening in FM) will cause this prompt when you try to close it manually, even if you have made any changes since the last save. My thought is that FM simply looks at the file extension and generates this behavior accordingly.

A few options you have (May) be more, once I better understand the situation:

-Leave the code close the file itself, once it is done, using F_ApiClose (docId, FF_CLOSE_MODIFIED). This, of course, if the interactive user does not need to see.

-Use F_ApiNotification() and F_ApiNotify to divert registration request and save the MIF file automatically, which should allow you to avoid the second prompt.

-Use notifications to divert the process closing document itself, close doc on request if it changes or not. Or, perhaps, you can add your own messages. This would take account of whether you actually want to allow an interactive user to make changes after that the code runs.

Just a few ideas. If you provide more information on what you want to happen after the execution of your code (it's probably the translation thing), I might be able to help more.

Russ

Tags: Adobe FrameMaker

Similar Questions

  • Changed a file .jpg with MSPaint, edit does not appear in Dreamweaver. ?

    In my folder images for my site are several .jpg files. I edited the .jpg file in MS Paint.  I added some blue pixels stand out.  Then I have opened Dreamweaver MX in local mode, watched the .jpg with preview in browser/Firefox, and there is no blue pixels.  I assume that the image must be permanently cached somewhere on my computer that I can not change.  Download the file didn't help.  Reload of dreamweaver did not help.  Windows XP, Dreamweaver MX.  This just started a few days ago.

    I posted this on another of these adobe forums, but then I saw that nothing had been written on the forum in 2 months and I was one of the most active participants, and I am fairly new.

    What is the path to the REAL local directory?

    What is the path to the local directory specified in DW for this site?

    If these two are the same, so you see exactly what is in the local directory.

  • How can I easily change my files the with remote files that have been published online?

    Because it isn't Contribute, I don't see anything in the DW CS4 reference on how to have easily DW check for the files most recently edited on the server (edited by customers), so that these can be downloaded on my DW site locally.  Does anyone know a way to do, in addition to checking the dates of change on remote files, and download like that?

    Thank you

    KT

    I think do a synchronization... get more recent files would do it.

    Good luck

    -Tom

  • LR 2.4 now changes the file names with the suffix - 2 when importing

    On Vista...

    was perfectly ok, but suddenly it adds now suffix-2 to all files when importing... and this can be seen in the Explorer to do!

    Do not change parameter.

    Have checked all the settings / options that I can find, but can't find what does it... the damned that is annoying when importing of large amounts of files (a couple).

    Any suggestions please?

    I'll try all of the suggestions, even if I already did... Thank you very much.

    ... will be here for 4 days... Why choose a destination vacation without internet access? !!! ???

    In catalog settings, file management you can set sequence number of import, you can set it to start at 2.

    In the import dialog itself that you have a wide choice of naming conventions in the drop-down list of file naming, if value Filename or custom - order of the name it will apply the sequence as shown in the catalog settings.

  • Windows 7 - Windows Media Player encountered a problem while playing the file.

    WMP worked fine one day and then the other, it will not play any type of file.  I just get the error message "Windows Media Player encountered a problem while playing the file." with each trying to play any type of file.  It won't play video or audio files, even those she played a few days ago.

    Dano_TR: try to use system restore to restore to a point from before the problem started to happen, as I have suggested earlier in this thread.

    In addition, if you have any installed codec Pack, try to remove the. Uninstall iTunes and Quicktime could also help.

    Tim Baets
    http://www.BM-productions.TK

  • Hi my problem is that I have that I've changed an exe file open with program steam

    the thing that starts when you press a program or what ever. like when I press on the internet Explorer it opens steam. Hi my problem is that I have that I've changed an exe file open with program to steam and now all my things on windows 7 opens steam and I donth know how back open by default program of you I can start the program normally.  And I tried to go to control panel and change the default programs, but it won't change anything. Please help me

    Hello

    Try a system restore: http://support.microsoft.com/kb/936212

    Good luck $

  • The unsaved changes in queue: [File name] save before closing?

    Hello!

    FM 9 on Win 7 Pro.

    I'm a long-time user of FM.

    I am trying to open the files I could successfully open before I left work yesterday. I can open FM and open the books of FM. When I try to open an FM in a book, or an FM file not in a book, I get this message:

    "The unsaved changes in queue: [File name] save before closing? No Yes No Cancel.

    It doesn't matter which choose (Yes, no, cancel), following FM shows this message:

    FrameMaker 9 Application has stopped working. Windows can check online for a solution to the problem.

    Search online for a solution and close the program

    Close the program.

    Details of problem

    It doesn't matter what file I try to open (recently worked on the files and I have not touched it since some time). Same messages, anything.

    I tried to update the book (the update seems to happen), save the changes and then try to open. Same error messages. I had hoped that updating the book would clearly any possible referral.

    I tried several reboots, nothing works.

    Help!

    Thanks in advance for any help!

    Terri

    Since his happens with all files, my suspicion is that your application data are damaged. Try this:

    1. close FrameMaker.
    2. Delete the following directory: C:\Users\[user]\AppData\Roaming\Adobe\FrameMaker\
    3. reopening of framemaker and see if the problem is reproducible.
  • FM8: File always opens the unsaved changes

    Hello

    I have a file in Framemaker 8 that always opens with "unsaved changes".  I save the file, the asterisk disappears, but the next time I open the file in the asterisk is.


    I thought that this could be a problem of 'lack of police' and, as a test, off Remember lack of fonts. This setting does not seem to the impact of this behavior.

    Any help much appreciated.

    Mary

    He has probably got in it cross-references which are auto-mis to date when you open the document - it is this that fools the indicator "unsaved changes".

  • Change the icons associated with files - it is still possible; It was child's play.

    How can I change the icon associated with a file? For example, if I change the default program for an .ini file, the default icon of a page with a gear in the corner becomes a simple page and I'd rather the icon does not change... just the program I use to open the file. In the previous veersions of Windows, if you want to change the icon associated with a file, you could simply enter properties and continue. Please advise on how to adopt this change of WinVista Home Premium.

    It is not easy and involves editing the registry (this is far from as easy it was XP, that's why you're having trouble).  Here is the procedure: http://www.webtlk.com/2009/03/20/how-to-change-the-icon-assiciated-with-a-file-in-windows-vista-and-windows-7/.  I recommend before starting that you back up your registry database just to be safe.  Here's how: http://www.adamsdvds.co.uk/tutorials/vista/regedit/backup.php.

    I hope this helps.

    Good luck! Lorien - MCSA/MCSE/network + / has + - if this post solves your problem, please click the 'Mark as answer' or 'Useful' button at the top of this message. Marking a post as answer, or relatively useful, you help others find the answer more quickly.

  • Change what program files open with

    I tried to run a binary program with Java Se and accidentally had the race all similar programs with this program and it has changed from a majority of the programs on my computer to run with this and now none of them work at all. I was wondering if there is an easy way to restore them to the original program.

    Hello

    The best way to solve this problem would be to run the Windows system restore.  If you have Norton Internet Security installed, you must disable the Tamper Norton Protection as shown in step 2, on the link below.

    http://us.Norton.com/support/kb/web_view.jsp?wv_type=public_web&docURL=20091112171719EN&LN=en_US

    Once you are done, turn off the PC.  Windows system restore is usaully better run in Mode without failure.  Tap away at f8 that you start the PC to enter the Windows Recovery Console.  Use the arrow keys to select Safe mode and press ENTER.  When it has loaded, on the Start Menu, click principally made programs, accessories, click System Tools and run the system restore.  Choose a restore point before you changed the file association and then proceed to the restoration.  When you are finished, Windows will restart normally.

    Kind regards

    DP - K

  • Change the problem of direction of the cursor with new 2nd monitor

    original title: problem of direction of the cursor with new 2nd monitor

    I just added a 2nd monitor to my computer. The 2nd monitor is left of my laptop but I have to move the cursor to the right in order to get on the new monitor. How can I change so I can just move my cursor to the left and get it on my new 2nd monitor?

    Right-click on the desktop and then clicking display settings by clicking Customize to open the display settings. In the display settings box, click and drag the image to the monitor 2 to the left of the screen 1. Click on the button apply, then check. Click Ok to exit.

  • change icon in conjunction with the file extension

    I don't know or find how to change the icon associated file type (P 7). The icon shows in the properties of the file, but cannot be changed with any of my choices for the given file type. How can I accompish what?

    Thank you.

    Enrico

    The option to change the icon for file type exists in Windows XP, and the UI (tab "File Types") has been removed in Windows 7/Vista. To change a file type icon, you must edit the registry or use third-party tools like "Default Programs editor" or something. Choose one of these items:

    How to manually change the icon for a file Type in Windows 7 and Vista - the Winhelponline Blog

    Using the default the program editor to change file Type icons in Windows 7 and Windows Vista - the Winhelponline Blog

    Ramesh Srinivasan . The Winhelponline Blog
    Microsoft MVP, Windows desktop experience

  • Hi, back back can check files you opened with "recent files"? With my current setup, I can only see the last 10 files. Can I change the setting to display the last 20 files for example? Thank you

    Hi, back back can check files you opened with "recent files"? With my current setup, I can only see the last 10 files. Can I change the setting to display the last 20 files for example? Thank you

    File management preferences is where you can change the number. I don't know the maximum.

  • I have more choice to change my file with or without LR2 .dng development settings.

    I used to have a choice when I went to "Edit in Adobe Photoshop CS4" to: open a file .dng with LR2 development settings, to change a copy, or modify the original.  Now it just opens the development parameters of LR2.  What changed to cause this?

    Thank you.

    As long as the version of Camera Raw in Photoshop is the same version compared to Lightroom, not... you will not get this dialog box... the file is open in Photoshop. If you do not have the same relative version then Yes, you will get a warning about hing Lightroom make the file. Also, if you open a non - raw file you get a dlog on if you want to open the original or a copy with applied LR settings...

  • problem of change of name of the file in win xp sp3

    When I rename all the files in xp sp3, it cannot be a dialog box open box "If you change the file name extension would it be unuseble" what can I do

    Go in Panel > Folder Options > view , uncheckHide extensions of known file types , and then click OK .  That will make the files, display the full name, including the extension of 3 characters after the point.  When you rename a file, make sure that you do not change the extension. Boulder computer Maven
    Most Microsoft Valuable Professional

Maybe you are looking for